Description Usage Arguments Details Value Examples
View source: R/n_chisq_mult_groups.R
power_chisq_mult_groups
performs the power calculation for
the Chi-Square test comparing rates of k > 2 independent samples.
The method used here is based on the page 30 in [1].
The power is calculated using (6.2) in [1].
1 | power_chisq_mult_groups(p_A, n.groups, n_per_group, alpha)
|
p_A |
Vector \p_A of expected rates on the alternative. |
n.groups |
Number of Groups k. |
n_per_group |
Sample size per group. |
alpha |
Significance level α. |
[1] M.Kieser: Fallzahlberechnung in der medizinischen Forschung [2018], 1th Edition
power_chisq_mult_groups
returns the power.
1 | power_chisq_mult_groups(p_A = c(.3, .5, .4), n.groups = 3, n_per_group = 70, alpha = .05)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.