Odds Ratio, Relative Risk & NNT
Compute the three headline measures of risk in R from a 2Γ2 table β odds ratio, relative risk, and the number needed to treat.
The three numbers epidemiology runs on, straight from a 2Γ2 table.
Run the code
Everything in the video β edit it and press Run Code to run real R right here, or copy it:
Download this R script Β· βΆ Open the full playground
When to use it. Report the relative risk (or odds ratio) for the strength of an association, and the number needed to treat to communicate clinical impact.
Try the odds ratio / RR / NNT calculator.