KatInterview

Diagnose a disease with a rare-subtype twist using Bayes

Statistics & ExperimentsModel answer
HardModel answerStatistics & Experimentsconditional probabilityBayes' theoremstatistics

Last updated

Apply Bayes' theorem across two sequential test stages to find the true probability a patient has a rare disease subtype given a positive confirmatory test.

Background

A hospital runs a two-stage diagnostic protocol for a disease that has two subtypes: Type A (aggressive) and Type B (mild).

Population prevalence:

  • 2% of patients presenting to the clinic have the disease.
  • Among diseased patients, 20% have Type A and 80% have Type B.

Stage 1 — Screening test: A rapid screening test is applied to all patients.

  • Sensitivity (true-positive rate): 90% for both subtypes.
  • Specificity (true-negative rate): 95% for non-diseased patients.

Stage 2 — Confirmatory test: Only patients who test positive in Stage 1 receive a confirmatory test specifically designed to distinguish Type A.

  • Sensitivity for Type A: 85%.
  • Specificity (correctly rules out Type A among Type B and among non-diseased who slipped through): 92% for anyone who does not have Type A.

Your tasks

  1. What is the probability that a randomly selected patient who tests positive on the screening test actually has the disease (either subtype)? Show your work.
  2. Given a patient who tested positive on the screening test, what is the probability they have Type A specifically?
  3. A patient tests positive on both the screening test and the confirmatory test. What is the probability they truly have Type A?
  4. The clinical team wants to keep the false-discovery rate (proportion of "Type A confirmed" calls that are wrong) below 15%. Does the current protocol meet this threshold? If not, what is one concrete lever to improve it?

What is expected: Step-by-step calculation with explicit use of Bayes' theorem, correct handling of conditional probability across the two stages, interpretation of the final numbers, and a thoughtful trade-off discussion.

Hints

Hint 1

For Task 1, start by computing P(positive on screening | disease) and P(positive on screening | no disease), then apply Bayes. Keep track of the base rate carefully — this is where most candidates go wrong.

Hint 2

For Task 3, the population feeding into Stage 2 is no longer the general population. Re-anchor your priors to the sub-population of Stage-1 positives before applying Bayes a second time.

Hint 3

For Task 4, the false-discovery rate is 1 − PPV of the Stage-2 result. Think about which parameter (prevalence, sensitivity, specificity) has the most leverage when the disease is rare.