Description Usage Arguments Details Value Examples
power_ftest
performs the power calculation for the f-test
comparing means of k > 2 independent samples.
The method used here is based on the page 29 in [1].
1 | power_ftest(mu_A, sd, n.groups, n_per_group, alpha)
|
mu_A |
Vector μ_A of expected means on the alternative. |
sd |
Standard deviation sigma. |
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
n_ftest
returns the power.
1 | power_ftest(mu_A = c(1, 2, 3), sd = 20, n.groups = 3, n_per_group = 70, alpha = .025)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.