powered by
Calculate risk and its confidence interval by the simple asymptotic method.
RCI(a, N, conf.level=0.9)
Point estimate of risk.
Lower limit of confidence interval
Upper limit of confidence interval
Number of cases
Number of population at risk
Probability for confidence intervals. Default is 0.9.
Minato Nakazawa minatonakazawa@gmail.com https://minato.sip21c.org/
Rothman KJ (2012) Epidemiology: An Introduction. 2nd Ed., Oxford University Press, Oxford.
# By simple asymptotic method RCI(20, 100) # By Wilson Score (without continuity correction) prop.test(20, 100, conf.level=0.9, correct=FALSE) # By Exact method binom.test(20, 100, conf.level=0.9)
Run the code above in your browser using DataLab