Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add functions for power analysis #30

Open
leeper opened this issue Sep 19, 2019 · 4 comments
Open

Add functions for power analysis #30

leeper opened this issue Sep 19, 2019 · 4 comments

Comments

@leeper
Copy link
Owner

@leeper leeper commented Sep 19, 2019

Please specify whether your issue is about:

  • a possible bug
  • a question about package functionality
  • a suggested code or documentation change, improvement to the code, or feature request

Power analysis and sample-size determination could be useful. Some draft code from Hainmueller et al. is here: https://www.dropbox.com/s/xdamgzwl60h1b6w/conjointpower.R?dl=0

@mbarnfield
Copy link
Contributor

@mbarnfield mbarnfield commented Sep 20, 2019

I did some super basic stuff in my cjpwr repo based on this old documentation. Don't think this is anywhere near sophisticated enough, but it exists.

@leeper
Copy link
Owner Author

@leeper leeper commented Sep 21, 2019

@mbarnfield What's your plan with that repo? Do you plan to put it on CRAN or maybe you'd be interested in folding something like that in to this?

@mbarnfield
Copy link
Contributor

@mbarnfield mbarnfield commented Sep 21, 2019

I'd be happy to integrate it into cregg. It definitely needs work though! If you're happy with the general approach in the Hainmueller code (which doesn't look that complex) then it might not be too much work to get cjpwr to that level, but tidier. I'm not sure what he's basing his approach on, though, and I'm not well-versed on power analysis in general.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.