Description Usage Arguments Value Author(s) References Examples
This is an internal function. power.prop
computes statistical power for differences between proportions.
1 | power.prop(n, h = NULL, sig.level = 0.05, one.sided = FALSE, prop = NULL)
|
n |
a numeric vector (length( |
h |
Cohen's h |
sig.level |
a numeric contains the significance level (default 0.05) |
one.sided |
nondirectional ( |
prop |
... |
Return a numeric containing the statistical power.
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.6.2
power.prop(h=.4, n=c(100,100), sig.level=0.05)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.