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.

Free practice problemEasy
01 yearN = 11 500cases: 348new cases: 74CI = ?

Practice exercise (made-up values, not clinical guidance). A town has 11 500 inhabitants. At the start of a year, 348 of them have a chronic disease. During the year, 74 more people are newly diagnosed (assume nobody moves away or dies). Find the cumulative incidence CI over the year per 1000 people at risk. Round to one decimal place.

N = 11 500existing cases = 348new cases = 74
per 1000
Next problem →

What you practise

  1. Easy2 × 2 tables, prevalence and incidence
  2. Mediumlikelihood ratios, risk measures and rates
  3. Hardpredictive values, post-test probability and NNT

How to solve Evidence-based practice statistics problems

  1. Draw the 2 × 2 table and label a, b, c and d before you calculate.
  2. Read sensitivity and specificity down the columns, predictive values along the rows.
  3. For another prevalence, imagine 10 000 people and fill the table with Se, Sp and the prevalence.
  4. For a likelihood ratio, convert the probability to odds, multiply, and convert back.
  5. For a trial, find EER and CER first; then RR = EER/CER, ARR = CER − EER and NNT = 1/ARR rounded up.

Common mistakes

  • Mixing up sensitivity and positive predictive value.
  • Assuming the PPV stays the same at a different prevalence.
  • Multiplying a probability instead of the odds by a likelihood ratio.
  • Rounding the NNT down or calculating it from the RRR.
  • Calculating a relative risk from a case-control study.

Key formulas

Sensitivity and specificity
Se = a/(a + c), Sp = d/(b + d)
Predictive values
PPV = a/(a + b), NPV = d/(c + d)
Accuracy
(a + d)/n
Likelihood ratios
LR+ = Se/(1 − Sp), LR− = (1 − Se)/Sp
PPV at prevalence p
Se·p / (Se·p + (1 − Sp)(1 − p))
Odds
odds = p/(1 − p); p = odds/(1 + odds); post-test odds = pre-test odds × LR
Risk measures
RR = EER/CER, ARR = CER − EER, RRR = ARR/CER
Number needed to treat
NNT = 1/ARR, rounded up; NNH = 1/(EER − CER)
Odds ratio
OR = ad/(bc)
Incidence rate
new cases / person-time

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?
  1. 5%
  2. 67%
  3. 90%
  4. 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?
  1. 100%
  2. 25%
  3. 50%
  4. 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 example

In 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.

1

Event rates

EER = 30/400 = 0.075 CER = 50/400 = 0.125
2

Relative and absolute measures

RR = 0.075/0.125 = 0.6 ARR = 0.125 − 0.075 = 0.05

RRR = 0.05/0.125 = 0.4, a 40% relative reduction.

3

Number needed to treat

NNT = 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?
  1. 100
  2. 25
  3. 2
  4. 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

Worked examples

Example 1Easy
testdisease presentdisease absenttotalpositive324350674abnegative76780856cdtotal40011301530

Practice exercise (made-up values, not clinical guidance). A new test was compared with the reference standard in a study (see the 2 × 2 table). Find the sensitivity Se as a percentage. Round to one decimal place.

a = 324b = 350c = 76d = 780

Find Se (%)

Show hints
  1. Sensitivity: of everyone with the disease, how many test positive?
  2. Se = a/(a + c).
  3. 324/400.
Show the answer and the step-by-step solution

Diagnostic 2 × 2 table: a = true positives, b = false positives, c = false negatives, d = true negatives. Sensitivity = a/(a + c) (positives among those with the disease), specificity = d/(b + d), PPV = a/(a + b) (disease among those who test positive), NPV = d/(c + d), accuracy = (a + d)/total. Prevalence = existing cases/population; cumulative incidence = new cases/population at risk.

Formula

Se = a/(a + c)

Substitute

Se = 324/400 = 0.81 = 81%

Answer

Se = 81%
Example 2Medium
eventno eventtotaltreatment154456610abcontrol277493770cd

Practice exercise (made-up values, not clinical guidance). In a randomised trial, 610 patients received a new treatment and 770 received the control treatment. The table shows how many in each group had the outcome (an unwanted event such as a stroke). Find the absolute risk reduction ARR as a percentage. Round to one decimal place.

treatment: 154/610control: 277/770

Find ARR (%)

Show hints
  1. Event rates: EER = events/total in the treatment group, CER = events/total in the control group.
  2. ARR = CER − EER.
  3. EER = 154/610 = 0.2525; CER = 277/770 = 0.3597.
Show the answer and the step-by-step solution

Likelihood ratios and risk measures: LR+ = sensitivity/(1 − specificity), LR− = (1 − sensitivity)/specificity. In a trial, EER and CER are the event rates with and without treatment: RR = EER/CER, ARR = CER − EER, RRR = ARR/CER and NNT = 1/ARR, rounded up. In a case-control study only the odds ratio OR = ad/(bc) can be used. An incidence rate = new cases/person-time.

Event rates

EER = 154/610 = 0.2525
CER = 277/770 = 0.3597

Absolute risk reduction

ARR = 0.3597 − 0.2525 = 0.1073 ≈ 10.7%

Answer

ARR = 10.7%
Example 3Hard
pre-test60%post-test?p′LR−

Practice exercise (made-up values, not clinical guidance). A patient has a pre-test probability of 60% for a disease. A test with sensitivity 83% and specificity 85% comes back negative. Find the post-test probability p′ of the disease as a percentage. Round to one decimal place.

pre-test 60%Se = 83%Sp = 85%negative

Find p′ (%)

Show hints
  1. For a negative result use LR− = (1 − Se)/Sp.
  2. Pre-test odds = p/(1 − p); post-test odds = pre-test odds × LR.
  3. LR− = 0.2; odds = 1.5.
Show the answer and the step-by-step solution

Predictive values depend on prevalence: PPV = Se·p/(Se·p + (1 − Sp)(1 − p)) and NPV = Sp(1 − p)/(Sp(1 − p) + (1 − Se)p). With likelihood ratios: pre-test odds = p/(1 − p), post-test odds = pre-test odds × LR, probability = odds/(1 + odds). For a population of N, true positives = N·p·Se and false positives = N·(1 − p)·(1 − Sp). NNT = 1/(CER × RRR), rounded up.

Likelihood ratio

LR− = (1 − 0.83)/0.85 = 0.2

Pre-test odds

0.6/(1 − 0.6) = 1.5

Post-test odds

1.5·0.2 = 0.3

Post-test probability

p′ = 0.3/(1 + 0.3) = 0.2308 ≈ 23.1%

Answer

p′ = 23.1%

Questions and answers

What is Evidence-based practice statistics?

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.

How do I solve Evidence-based practice statistics problems step by step?
  1. Draw the 2 × 2 table and label a, b, c and d before you calculate.
  2. Read sensitivity and specificity down the columns, predictive values along the rows.
  3. For another prevalence, imagine 10 000 people and fill the table with Se, Sp and the prevalence.
  4. For a likelihood ratio, convert the probability to odds, multiply, and convert back.
  5. For a trial, find EER and CER first; then RR = EER/CER, ARR = CER − EER and NNT = 1/ARR rounded up.
What are common mistakes in Evidence-based practice statistics?
  • Mixing up sensitivity and positive predictive value.
  • Assuming the PPV stays the same at a different prevalence.
  • Multiplying a probability instead of the odds by a likelihood ratio.
  • Rounding the NNT down or calculating it from the RRR.
  • Calculating a relative risk from a case-control study.
What do the Evidence-based practice statistics exercises cover?
  • Easy: 2 × 2 tables, prevalence and incidence
  • Medium: likelihood ratios, risk measures and rates
  • Hard: predictive values, post-test probability and NNT

Every problem has new values, so you learn the method instead of an answer. Stuck? Open a small hint first, and the full explanation only when you need it.

How practising works

  • Every problem has new values, so you learn the method instead of an answer.
  • Stuck? Open a small hint first, and the full explanation only when you need it.
  • Your progress, mistakes and saved problems are kept, so you can review before the exam.

Topics before and after this one

Learn first

Calculators

Courses with this topic

More topics in Nursing

Printable worksheet