zy | R Documentation |
Estimating the relative risk based on the (adjusted) Odds Ratio from multiple logistic regression or other multiple regression models. The method was based on Zhang and Yu (JAMA, 1998)
zy(risk, oddsratio)
risk |
the risk rate of having a positive outcome in the control or unexposed group |
oddsratio |
odds ratio estimated from multiple logistic regression or other multiple regression models |
Primarily for the adjusted odds ratio, the estimated relative risk is given by:
odds ratio / (1 - risk + risk * odds ratio)
the estimated relative risk
Zhu Wang
Zhang J, Yu KF (1998). What's the relative risk? A method of correcting the odds ratio in cohort studies of common outcomes. JAMA, 280(19), 1690-1.
zy(risk=0.18, oddsratio=2.25)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.