Description Usage Arguments Value Author(s) References See Also Examples
samplesize.rsq
determines the sample size, when specified the effect size to be detected, desired statistical power, and significance level.
1 | samplesize.rsq(delta, n.ind, power = 0.8, sig.level = 0.05)
|
delta |
a numeric contains the effect size (Cohen's R^2) to be detected |
n.ind |
a numeric contains the number of independent variables |
power |
a numeric contains the desired statistical power (default 0.80) |
sig.level |
a numeric contains the significance level (default 0.05) |
Return a numeric containing the appropriate sample size.
Yasuyuki Okumura
Department of Social Psychiatry,
National Institute of Mental Health,
National Center of Neurology and Psychiatry
yokumura@blue.zero.jp
Cohen J (1988). Statistical power analysis for the behavioral sciences (2nd ed). Hillsdale, NJ: Erlbaum.
1 2 | ##Cohen (1988) ex.9.18
samplesize.rsq(delta=.16, n.ind=20, power = .90, sig.level=.05)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.