size_one_prop {mcradds} | R Documentation |
Sample Size for Testing One Proportion
Description
This function performs sample size computation for testing one proportion in accordance with Chinese NMPA's IVD guideline.
Usage
size_one_prop(
p1,
p0,
alpha = 0.05,
power = 0.8,
alternative = c("two.sided", "less", "greater")
)
Arguments
p1 |
( |
p0 |
( |
alpha |
( |
power |
( |
alternative |
( |
Value
an object of size
class that contains the sample size and relevant parameters.
References
Chinese NMPA's IVD technical guideline.
See Also
size_ci_one_prop()
size_corr()
size_ci_corr()
Examples
size_one_prop(p1 = 0.95, p0 = 0.9, alpha = 0.05, power = 0.8)
[Package mcradds version 1.1.0 Index]