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

Generate unbalanced cluster sizes #194

Closed
kgoldfeld opened this issue Apr 3, 2023 · 1 comment
Closed

Generate unbalanced cluster sizes #194

kgoldfeld opened this issue Apr 3, 2023 · 1 comment
Assignees
Labels
feature feature request or enhancement

Comments

@kgoldfeld
Copy link
Owner

It could be helpful to relax the assumption of exactly balanced cluster size when estimating statistical power using simulation, so I propose that we add a new "distribution" called something like clusterSize that will implement this. As part of data definitions, the user will specify the overall sample size in the formula argument, and will input a dispersion parameter (that will be input into the variance field that is a non-negative number, with 0 meaning exact balance, and larger values implying more variability in the cluster sizes. The only link option argument will be "identity" (the default, so does not need to be specified).

@kgoldfeld kgoldfeld added the feature feature request or enhancement label Apr 3, 2023
@kgoldfeld kgoldfeld self-assigned this Apr 3, 2023
@kgoldfeld
Copy link
Owner Author

Done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature feature request or enhancement
Projects
None yet
Development

No branches or pull requests

1 participant