estRR {samplesizeestimator} | R Documentation |
Sample size for estimation of Relative Risk
Description
Relative risks are estimated in a cohort study design to assess the association of exposure with the outcome. This function estimates the sample size needed to estimate the true relative risk with specified precision.
Usage
estRR(p0, RR, alp, prec, k)
Arguments
p0 |
Probability of outcome among unexposed |
RR |
anticipated Relative Risk (RR) |
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 RR |
k |
the number of unexposed for each exposed |
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
Examples
estRR(p0=0.2, RR=2, alp=0.05, prec=0.25, k=1)
[Package samplesizeestimator version 1.0.0 Index]