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 level for hypothesis test
desired power
planning value of proportion
Returns the required sample size
size.test.sign1(.05, .90, .3)
#> Sample size
#> [1,] 56
# Should return:
# Sample size
# [1,] 56