size.test.sign.ps {statpsych} | R Documentation |
Sample size for a paired-samples Sign test
Description
Computes sample size required for a Sign test with desired power in a paired-samples design. A planning value of the paired-samples Sign test parameter is required. In a paired-samples experiment, this parameter is the proportion of members in the population with scores that would be larger under treatment 1 than treatment 2. In a paired-samples nonexperiment, this parameter is the proportion of members in the population with measurement 1 scores that are larger than their measurement 2 scores.
Usage
size.test.sign.ps(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.sign.ps(.05, .90, .75)
# Should return:
# Sample size
# 32
[Package statpsych version 1.5.0 Index]