estor {samplesizeestimator} | R Documentation |
Sample size for estimation of Odds Ratio with specified precision
Description
Odds ratios are estimated in a case-control study design to assess the association of outcome with past exposure. This function estimates the sample size needed to estimate the true odds ratio with specified precision.
Usage
estor(p0, or, alp, prec, k)
Arguments
p0 |
Probability of exposure among the controls |
or |
Anticipated Odds Ratio (OR) |
alp |
level of significance or probability of claiming the association exists when in fact there is no association |
prec |
Precision desired on either side of OR |
k |
the number of controls for each case |
Value
a list object, the required minimum 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
estor(p0 = 0.35, or = 2, alp = 0.05, prec = 0.25, k = 1)