Description Usage Arguments Value Author(s)
This function computes the power and sample size according to the asymptotic power formula given in [(2.23) p.71 of Lehmann (2006)]. If is.null(n)
the sample size required to achieve the target power is computed using bisection search.
1 2 |
n |
Sample size in the control group |
p1 |
probability that X < Y |
p2 |
probability that X < Y and X < Y' |
p3 |
probability that X < Y and X' < Y |
propn |
proportion of the total number of observations in the control group |
sig.level |
significance level of the test |
power |
desired target power |
silent |
should hints be suppressed |
Either the required number of control group observations to achieve the targe power, or the power of the WMW test under the specified alternative and given sample size.
float
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.