RCI | R Documentation |
Calculate risk and its confidence interval by the simple asymptotic method.
RCI(a, N, conf.level=0.9)
a |
Number of cases |
N |
Number of population at risk |
conf.level |
Probability for confidence intervals. Default is 0.9. |
R |
Point estimate of risk. |
RL |
Lower limit of confidence interval |
RU |
Upper limit of confidence interval |
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.