powered by
The function computes an approximate confidence interval for the relative risk (RR).
rrCI(a, b, c, d, conf.level = 0.95)
A list with class "confint" containing the following components:
"confint"
the estimated relative risk.
a confidence interval for the relative risk.
integer: events in exposed group.
integer: non-events in exposed group.
integer: events in non-exposed group.
integer: non-events in non-exposed group.
numeric: confidence level
Matthias Kohl Matthias.Kohl@stamats.de
The function computes an approximate confidence interval for the relative risk (RR) based on the normal approximation; see Jewell (2004).
Jewell, Nicholas P. (2004). Statistics for epidemiology. Chapman & Hall/CRC.
Relative risk. (2016, November 4). In Wikipedia, The Free Encyclopedia. Retrieved 19:58, November 4, 2016, from https://en.wikipedia.org/w/index.php?title=Relative_risk&oldid=747857409
## See worked example in Wikipedia rrCI(a = 15, b = 135, c = 100, d = 150) rrCI(a = 75, b = 75, c = 100, d = 150)
Run the code above in your browser using DataLab