Description Usage Arguments Details Value Examples
n_ttest
performs the power calculation for the t-Test
comparing two independent samples.
The method is based on the pages 16 - 18 in [1].
1 | power_ttest(effect, sd, n_X, alpha, r = 1)
|
effect |
Effect Δ_A used as alternative hypothesis. |
sd |
Standard deviation σ. |
n_X |
Sample size of group X. |
alpha |
Significance level α. |
r |
Default = 1. Quotient of Group sizes r = n_Y / n_X. |
[1] M.Kieser: Fallzahlberechnung in der medizinischen Forschung [2018], 1th Edition
n_ttest
returns the power.
1 | power_ttest(effect = 10, sd = 20, n_X = 70, alpha = .05)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.