powered by
This function performs sample size computation for testing one proportion in accordance with Chinese NMPA's IVD guideline.
size_one_prop( p1, p0, alpha = 0.05, power = 0.8, alternative = c("two.sided", "less", "greater") )
an object of size class that contains the sample size and relevant parameters.
size
(numeric) expected criteria of the evaluated assay.
numeric
(numeric) acceptable criteria of the evaluated assay.
(numeric) type-I-risk, \(\alpha\).
(numeric) Power of test, equal to 1 minus type-II-risk (\(\beta\)).
(string) string specifying the alternative hypothesis, must be one of "two.sided" (default), "greater" or "less".
string
Chinese NMPA's IVD technical guideline.
size_ci_one_prop() size_corr() size_ci_corr()
size_ci_one_prop()
size_corr()
size_ci_corr()
size_one_prop(p1 = 0.95, p0 = 0.9, alpha = 0.05, power = 0.8)
Run the code above in your browser using DataLab