Description Usage Arguments Value Examples
View source: R/hw07Functions.R
Estimate of Post Hoc Power from 1000 Simulations
1 | postHocPower(d, n1, n2)
|
d |
effect size (Cohen's d) |
n1 |
number of samples in group 1 |
n2 |
number of samples in group 2 |
estimate of post hoc power from 1000 simulations. formula: power estimate = # statistically significant simulations / total # of simulations
1 2 | postHocPower(d = 1, n1 = 100, n2 = 90)
postHocPower(d = 0.5, n1 = 20, n2 = 22)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.