Positive and Negative Predictive Values — Definition, Formula & Example
Positive and negative predictive values are the probabilities that a diagnostic test result is correct. PPV tells you how likely you are to actually have a condition after a positive result. NPV tells you how likely you are to be free of it after a negative result.
Let be the event that a person has the condition and let and denote the test results. The positive predictive value is the conditional probability . The negative predictive value is . Unlike sensitivity and specificity , both predictive values depend on the prevalence in the population being tested.
Key Formula
Where:
- = True positives: people with the condition who test positive
- = False positives: people without the condition who test positive
- = True negatives: people without the condition who test negative
- = False negatives: people with the condition who test negative
Worked Example
Problem: A screening test has 90% sensitivity and 90% specificity. It is given to 1,000 people, and 10% of them have the condition. Find the PPV and the NPV.
Step 1: Split the group. 10% of 1,000 gives 100 people with the condition and 900 without. Apply sensitivity to the 100 and specificity to the 900 to fill the four cells of a two-way table.
Step 2: For PPV, look only at the positive results. There are 90 true positives and 90 false positives.
Step 3: For NPV, look only at the negative results. There are 810 true negatives and 10 false negatives.
Answer: PPV = 0.5 and NPV ≈ 0.988. A positive result means only a 50% chance of having the condition. A negative result means about a 98.8% chance of not having it.
Why It Matters
AP Statistics problems often give a test's accuracy rates and how common a condition is, then ask for the probability of disease given a positive result. You answer with a tree diagram or a two-way table, which is exactly a PPV calculation. Doctors, epidemiologists, and the designers of spam filters and fraud alerts use PPV to judge whether a positive flag is worth acting on.
Common Mistakes
Mistake: Treating sensitivity as the chance that a positive result is correct. A student might say a 90% sensitive test means a positive result is 90% likely to be right.
Correction: Sensitivity is , but PPV is . These are reversed conditional probabilities. In the example, sensitivity is 90% but PPV is only 50%, because only 10% of people have the condition, so the 10% of healthy people who test positive (90 people) equal the true positives.
