size.test.sign1 | R Documentation |
Computes the sample size required for a Sign test with desired power in a 1-sample design. A planning value of the 1-sample Sign test parameter value is required. This parameter is the proportion of members in the population with scores greater than the hypothesized value.
size.test.sign1(alpha, pow, p)
alpha |
alpha level for hypothesis test |
pow |
desired power |
p |
planning value of proportion |
Returns the required sample size
size.test.sign1(.05, .90, .3)
# Should return:
# Sample size
# [1,] 56
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.