The ROR is an odds ratio calculated from reporting counts. The
R for Reporting in ROR is meant to emphasize an interpretation of reporting,
as the ROR is calculated from a reporting database. Note: the function is
vectorized, i.e. a, b, c and d can be vectors, see the examples.
A reporting odds ratio is simply an odds ratio based on adverse event
reports.
$$\hat{ROR} = \frac{a/b}{c/d}$$
where \(a\) = observed count (i.e. number of reports with exposure and
outcome), \(b\) = number of reports with the drug and without the event,
\(c\) = number of reports without the drug with the event and \(d\) =
number of reports with neither of the drug and the event.
A confidence interval for the ROR can be derived through the delta method,
with a standard deviation:
$$\hat{s} = \sqrt{1/a + 1/b + 1/c + 1/d}$$
with the resulting confidence interval for significance level \(\alpha\)
$$[\hat{ROR} \times exp(\Phi_{\alpha/2} \times \hat{s}), \hat{ROR} \times exp(\Phi_{1-\alpha/2} \times \hat{s})]$$