size.test.sign1 {statpsych} | R Documentation |
Sample size for a 1-sample Sign test
Description
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.
Usage
size.test.sign1(alpha, pow, p)
Arguments
alpha |
alpha level for hypothesis test |
pow |
desired power |
p |
planning value of proportion |
Value
Returns the required sample size
Examples
size.test.sign1(.05, .90, .3)
# Should return:
# Sample size
# 56
[Package statpsych version 1.5.0 Index]