Evidence-based practice statistics: practice problems with step-by-step solutions
Also called: sensitivity and specificity · number needed to treat · biostatistics · epidemiology
Free Evidence-based practice statistics practice problems with diagrams, hints and full worked solutions. New values every time, at three levels: 2 × 2 tables, prevalence and incidence, likelihood ratios, risk measures and rates, predictive values, post-test probability and NNT.
Learn Evidence-based practice statistics from scratch
Before this: Probability
1Numbers behind clinical decisions
Evidence-based practice means using research results to make decisions about care. To read a study you need a small set of numbers: how good a test is, how common a disease is, and how much a treatment changes the risk.
Almost all of them come from a 2 × 2 table: two groups in the rows and two outcomes in the columns. Once you know where a, b, c and d sit, every formula is a simple fraction.
2Diagnostic tests
Put the test result in the rows and the true disease status (from the reference standard) in the columns: a = true positives, b = false positives, c = false negatives, d = true negatives.
- Sensitivity = a/(a + c): of the people with the disease, the share that tests positive.
- Specificity = d/(b + d): of the people without the disease, the share that tests negative.
- PPV = a/(a + b): of the positive tests, the share that is truly ill.
- NPV = d/(c + d): of the negative tests, the share that is truly healthy.
Sensitivity and specificity look down the columns; predictive values look along the rows.
LR+ = Se/(1 − Sp) LR− = (1 − Se)/Sp
Self-check Of 100 people with a disease, 90 test positive. Of 900 people without it, 45 test positive. What is the specificity?
- 5%
- 67%
- 90%
- 95%
Answer: 95%. The healthy group is 900 people, of whom 900 − 45 = 855 test negative: 855/900 = 95%. 90% is the sensitivity. 67% is the PPV, 90/135.
3Prevalence and predictive values
Prevalence is the share of a population that has a disease at one moment. Incidence counts new cases among the people at risk over a period, or per person-time (for example per 1000 person-years).
Sensitivity and specificity belong to the test. Predictive values also depend on the prevalence: a good test used where a disease is rare gives many false positives.
PPV = Se·p / (Se·p + (1 − Sp)(1 − p))
A quick way to see this is to imagine 10 000 people. With a prevalence of 1%, 100 are ill; a test with 90% sensitivity finds 90 of them. With 95% specificity, 5% of the 9900 healthy people also test positive: 495 false positives. So the PPV is 90/585, only about 15%.
Likelihood ratios update a probability through odds: odds = p/(1 − p), post-test odds = pre-test odds × LR, and probability = odds/(1 + odds).
Self-check A pre-test probability is 20% and a positive test has LR+ = 4. What is the post-test probability?
- 100%
- 25%
- 50%
- 80%
Answer: 50%. Pre-test odds: 0.2/0.8 = 0.25. Post-test odds: 0.25 × 4 = 1. Probability: 1/(1 + 1) = 50%. Multiplying the probability by 4 (80%) skips the odds.
4Treatment effects: RR, ARR and NNT
In a trial, the event rate in the treated group is EER and in the control group CER.
- Relative risk RR = EER/CER.
- Absolute risk reduction ARR = CER − EER.
- Relative risk reduction RRR = ARR/CER = 1 − RR.
- Number needed to treat NNT = 1/ARR, always rounded up to a whole patient. For harm, NNH = 1/(EER − CER).
In a case-control study the researcher chooses how many cases and controls to include, so risks cannot be calculated. Use the odds ratio OR = ad/(bc) instead.
The same RRR gives a much larger NNT when the baseline risk is low: a 25% reduction of a 2% risk is an ARR of 0.5%, an NNT of 200.
5A worked example
Follow every step and predict the next one before you open it. All values are made up for practice.
Worked exampleIn a trial, 30 of 400 treated patients and 50 of 400 control patients have a stroke. Find the RR, the ARR, the RRR and the NNT.
1EER = 30/400 = 0.075 CER = 50/400 = 0.125
2RR = 0.075/0.125 = 0.6 ARR = 0.125 − 0.075 = 0.05
RRR = 0.05/0.125 = 0.4, a 40% relative reduction.
3NNT = 1/0.05 = 20
If the result had not been a whole number, it would be rounded up.
Answer RR = 0.6, ARR = 5%, RRR = 40% and NNT = 20: treating 20 patients prevents about one stroke.
6Common mistakes and exam questions
- Mixing up sensitivity (down the column) and PPV (along the row).
- Treating the PPV as a fixed property of the test.
- Multiplying a probability by a likelihood ratio without converting to odds.
- Rounding the NNT down, or using 1/RRR instead of 1/ARR.
- Calculating a relative risk from a case-control study.
Easy: sensitivity, specificity, PPV, NPV, accuracy, prevalence and incidence. Medium: likelihood ratios, RR, ARR, RRR, NNT and NNH, odds ratios and incidence rates. Hard: PPV at another prevalence, post-test probability, expected counts in a screened population and NNT from a baseline risk.
Self-check A treatment has an RRR of 50%. The risk without treatment is 4%. What is the NNT?
- 100
- 25
- 2
- 50
Answer: 50. ARR = 0.04 × 0.5 = 0.02, so NNT = 1/0.02 = 50. 2 is 1/RRR. 25 is 1/0.04, the control risk alone.
Learn it step by step in the appLearn it step by step in the app