KatInterview

Diagnose a Rare-Disease Screening Test Using Bayes' Theorem

Statistics & ExperimentsModel answer
HardModel answerStatistics & Experimentsconditional probabilityBayes theoremstatistics

Last updated

Apply conditional probability and Bayes' theorem to evaluate the real-world predictive value of a medical screening test with known sensitivity and specificity.

Scenario

A public health agency has developed a rapid screening test for a rare metabolic disorder. Before deploying it nationwide, an analyst must assess how useful a positive test result actually is in practice.

You are given the following information:

  • The disorder affects 1 in 1,000 people in the general population (prevalence = 0.1%)
  • The test has a sensitivity of 99% (true positive rate): if a person has the disorder, the test is positive 99% of the time
  • The test has a specificity of 95% (true negative rate): if a person does not have the disorder, the test is negative 95% of the time

Questions

Part 1 — Core calculation What is the positive predictive value (PPV) of this test — that is, the probability that a randomly selected person who tests positive actually has the disorder? Show all steps.

Part 2 — Sensitivity analysis The agency is considering restricting screening to a higher-risk subgroup where prevalence is 2% instead of 0.1%. Recalculate the PPV and explain the practical implication.

Part 3 — Conceptual follow-up A non-technical stakeholder argues: "The test is 99% accurate, so a positive result is almost certainly correct." Where is the flaw in this reasoning, and what is the underlying statistical concept at play?


What is expected

  • Correct numerical answers with clearly laid-out arithmetic
  • Intuition for why the numbers behave this way
  • Discussion of the trade-offs and real-world consequences
  • A clear explanation of the concept without jargon overload

Hints

Hint 1

Start by defining the four outcomes for a population of 100,000 people: true positives, false positives, true negatives, false negatives. Concrete counts often make the arithmetic clearer than fractions alone.

Hint 2

PPV = P(disease | positive test). Use Bayes' theorem: P(D+|T+) = P(T+|D+)·P(D+) / P(T+), where P(T+) requires the law of total probability across both diseased and healthy groups.

Hint 3

The key driver of PPV is prevalence. When the base rate is very low, even a highly specific test generates a large absolute number of false positives relative to true positives — this is the base rate neglect problem.