What do sensitivity, specificity, and positive predictive value mean in a diagnostic-test problem?

Quick Overview

Asks what sensitivity, specificity and positive predictive value mean in a diagnostic-test problem, written as conditional probabilities. Tests Bayes' theorem, the role of disease prevalence, and how the base rate changes what a positive result means.

What do sensitivity, specificity, and positive predictive value mean in a diagnostic-test problem?

Role: Data Scientist

Category: Statistics & Math

Difficulty: easy

Interview Round: Other

What do sensitivity, specificity, and positive predictive value mean in a diagnostic-test problem? Assume a binary test for a disease that each person either has or does not have. ```hint Look behind the bar Write each quantity as a conditional probability and check which event is being conditioned on. Then ask which of the three would change if the same test were used in a population where the disease is far more common. ``` ### What a Strong Answer Covers - Each of the three quantities written as a conditional probability and explained in words - Which quantities belong to the test and which one depends on prevalence, with the reason - How PPV follows from Bayes' theorem using sensitivity, specificity and prevalence - A numeric example of the base-rate effect for a rare disease - Which kind of error (false negative or false positive) each of sensitivity and specificity controls ### Follow-up Questions - What is negative predictive value, and how does it move as prevalence rises? - A patient tests positive on two independent tests. How do you update the probability of disease, and when does the independence assumption fail? - For a test that outputs a continuous score, how does moving the cutoff change sensitivity and specificity? - For a rare disease, which matters more for PPV: a gain in sensitivity or a gain in specificity?

Overview: Asks what sensitivity, specificity and positive predictive value mean in a diagnostic-test problem, written as conditional probabilities. Tests Bayes' theorem, the role of disease prevalence, and how the base rate changes what a positive result means.

General logo
General
Nov 25, 2026
easyData ScientistOtherStatistics & Math
0
0

What do sensitivity, specificity, and positive predictive value mean in a diagnostic-test problem?

Assume a binary test for a disease that each person either has or does not have.

What a Strong Answer Covers Guidance

  • Each of the three quantities written as a conditional probability and explained in words
  • Which quantities belong to the test and which one depends on prevalence, with the reason
  • How PPV follows from Bayes' theorem using sensitivity, specificity and prevalence
  • A numeric example of the base-rate effect for a rare disease
  • Which kind of error (false negative or false positive) each of sensitivity and specificity controls

Follow-up Questions Guidance

  • What is negative predictive value, and how does it move as prevalence rises?
  • A patient tests positive on two independent tests. How do you update the probability of disease, and when does the independence assumption fail?
  • For a test that outputs a continuous score, how does moving the cutoff change sensitivity and specificity?
  • For a rare disease, which matters more for PPV: a gain in sensitivity or a gain in specificity?