Description Usage Arguments Details Value Examples
n_ftest
performs the Sample Size calculation for the f-test
comparing means of k > 2 independent samples.
The method used here is based on the page 29 in [1].
The Sample Size is calculated using an iterative approach.
μ_1 = μ_2 = ... = μ_k
There are i,j with μ_i \ne μ_j
1 |
mu_A |
Vector μ_A of expected means on the alternative. |
sd |
Standard deviation sigma. |
n.groups |
Number of Groups k. |
alpha |
Significance level α. |
power |
Desired Power 1-β. |
[1] M.Kieser: Fallzahlberechnung in der medizinischen Forschung [2018], 1th Edition
n_ftest
returns an object of type list. The resulting
Sample Sizes are located in entrys named n_per_group
, n
.
The resulting power is named power_out
.
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.