Description Usage Arguments Details Value Examples
n_ztest
performs the Sample Size calculation for the z-Test
to the level α comparing two independent samples.
The method is based on the pages 13 - 16 in [1].
μ_Y - μ_X = 0
μ_Y - μ_X ≥ Δ_A
1 |
effect |
Effect Δ_A used as alternative hypothesis. |
sd |
Standard deviation σ. |
alpha |
Significance level α. |
power |
Desired Power 1-β. |
r |
Quotient of Group sizes r = n_Y / n_X. |
[1] M.Kieser: Fallzahlberechnung in der medizinischen Forschung [2018], 1th Edition
n_ztest
returns an object of type list. The resulting
Sample Sizes are located in entrys named n_X
, n_Y
, n
.
The resulting power is named power_out
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.