Description Usage Arguments Value Examples
Two-sample t-test power calculation
1 2 3 |
m1 |
Mean of a group 1 (e.g., the control-group) |
m2 |
Mean of a group 2 (e.g., the experimental-group) |
n1 |
Number of obs. in group 1 (e.g., the control-group) |
n2 |
Number of obs. in group 2 (e.g., the control-group) |
nratio |
Ratio of sample sizes, group 2 to group 1; default is nratio = 1, meaning equal group sizes |
sd |
Standard deviation of each group, i.e., sd = sd1 = sd2 |
sd1 |
Standard deviation of a group 1 (e.g., the control group) |
sd2 |
Standard deviation of a group 2 (e.g., the experimental group) |
sig.level |
significance level; default is sig.level = 0.05 |
power |
one minus the probability of type II error; default is power = 0.8 |
Returns an object with all the study parameters
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.