kosukeimai / mediation

R package mediation
58 stars 29 forks source link

Odds ratios and risk ratios for a dichotomous outcome? #13

Open koheihasegawamd opened 5 years ago

koheihasegawamd commented 5 years ago

Thank you for this great package.

The current mediate() function may be extended further by adding a function that computes odds ratios and/or risk ratios (with confidence intervals) for a dichotomous outcome. In the medical literature, we are often asked to report effect measures in these scales in addition the difference. Thank you very much for your consideration.