statable Statistics for study and research

Risk measures from the 2 × 2 table (risk difference, relative risk, NNT)

In brief

Does one group have an event (fell ill, dropped out, passed) more often than another? For a crosstab with two by two cells the result offers "Calculate risk measures": the risk in each group, the difference of the risks (risk difference, RD), the ratio (relative risk, RR), the odds ratio (OR) and the NNT. The numbers describe the difference; they do not show a cause.

What Statable needs to know

Reading the result

The NNT with interval: through infinity

The interval of the NNT arises from the reciprocals of the limits of the risk difference (Altman 1998). If 0 lies in the interval of the risk difference, there may be no difference, and the NNT becomes infinitely large. The interval then runs through infinity and reads like this: "NNTH 20.0 to ∞ to NNTB 4.0" - meaning from a harm with 20 people through "no difference" to a benefit with 4 people. Never read or write it as "from -20 to 4".

Empty cells

If a cell of the table is empty (zero cell), the relative risk and the odds ratio are not estimable. Statable does not correct silently (no Haldane correction) and says so. The risk difference with the Newcombe interval works even then.

Reporting the result

Risk (aspirin) = .013, risk (placebo) = .022; RD = -.009, 95% CI [-.013, -.006]; RR = 0.58, 95% CI [0.47, 0.72]; OR = 0.58, 95% CI [0.47, 0.71]; NNTB 110.3 (NNTB 79.8 to 176.7)

Example (order of magnitude of the Physicians' Health Study 1989, myocardial infarction in 139 of 11,037 on aspirin and 239 of 11,034 on placebo): the risk is 0.9 percentage points lower with aspirin. Do not word it causally; the study was an experiment, the table alone does not show that.

For specialists

Own code (JavaScript), checked against R: risks with Wilson interval (DescTools::BinomCI), risk difference with Newcombe interval method 10 (DescTools::BinomDiffCI, method = "score"; epiR gives only the Wald interval, PropCIs::diffscoreci is Miettinen-Nurminen and thus a different method), relative risk and odds ratio as epiR::epi.2by2 (Katz or Woolf), NNT with interval after Altman (1998).

Sources

Altman, D. G. (1998). Confidence intervals for the number needed to treat. BMJ, 317, 1309-1312. Newcombe, R. G. (1998). Interval estimation for the difference between independent proportions: comparison of eleven methods. Statistics in Medicine, 17, 873-890. Katz, D. et al. (1978). Obtaining confidence intervals for the relative risk in cohort studies. Biometrics, 34, 469-474. Wilson, E. B. (1927). Probable inference, the law of succession, and statistical inference. Journal of the American Statistical Association, 22, 209-212.

Related

Open in Statable