Description Usage Arguments Value References
Estimation of required sample size as given by Cundill & Alexander (2015).
1 2 3 4 5 6 7 8 9 10 11 12 |
mean0 |
Mean in control group |
mean1 |
Mean in treatment group |
dispersion0 |
Dispersion parameter in control group |
dispersion1 |
Dispersion parameter in treatment group. |
alpha |
Type I error rate |
power |
1 - Type II error rate |
link_fun |
function object, the link function to create the response η. |
variance_fun |
function object, function for computing the variance based on a mean and a dispersion parameter |
dmu_deta_fun |
function object, derivative of the original mean with respect to the link: dμ / dη. |
q |
Number between 0 and 1, the proportion of observations allocated to the control group |
Total sample size (numeric)
Cundill, B., & Alexander, N. D. E. (2015). Sample size calculations for skewed distributions. BMC Medical Research Methodology, 15(1), 1–9. https://doi.org/10.1186/s12874-015-0023-0
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.