estp {samplesizeestimator} | R Documentation |
Sample Size for Estimation of Single Proportion
Description
This function may be used in case of a descriptive study design where the researcher wishes to describe the distribution of one or more categorical outcome variables without looking at their causal relationship and hypothesis testing.
Usage
estp(prop, prec, alp = 0.05, relative = FALSE)
Arguments
prop |
Anticipated proportion of outcome or characteristic of interest in the population |
prec |
Precision required on either side of the population proportion |
alp |
Level of significance or accepted level of probability of type I error |
relative |
a logical argument indicating relative or absolute precision ( |
Value
a list object with minimum required sample size along with description for reporting
Author(s)
R. Amala, Scientist-C, ICMR-VCRC, Puducherry & G. Kumarapandiyan, Asst. Prof., Madras Christian College, Chennai
References
Lwanga, S. K., Lemeshow, S., & World Health Organization. (1991). Sample size determination in health studies: a practical manual. World Health Organization.
Examples
estp(prop = 0.8, prec = 0.1, alp = 0.01, relative = FALSE)