Probability of having a disease after a negative test, given prevalence, sensitivity and specificity

Quick Overview

Asks for the probability that a person who tests negative actually has a disease, given the disease prevalence and the test's sensitivity and specificity. Tests applying Bayes' theorem to a diagnostic test and reasoning about how base rates change the result.

Probability of having a disease after a negative test, given prevalence, sensitivity and specificity

Role: Data Scientist

Category: Statistics & Math

Difficulty: easy

Interview Round: Other

Given the prevalence of a disease, and the sensitivity and specificity of a test, if a person tests negative, what is the probability they actually have the disease? ```hint Name the conditional Write down the conditional probability you are asked for and the ones the test's sensitivity and specificity give you. Check which way each conditional points before plugging in. ``` ### What a Strong Answer Covers - The target quantity, stated as a conditional probability and kept separate from the test's miss rate - Bayes' theorem with prevalence as the prior and the correct likelihoods of a negative result for sick and healthy people - A numeric example worked through correctly - How the answer changes as prevalence and sensitivity change ### Follow-up Questions - With the same numbers, what is the probability of disease after a positive result? - The patient belongs to a high-risk group with a much higher disease rate. What changes in the calculation? - If the person tests negative twice, can you multiply the likelihoods? What assumption does that need? - Which test characteristic would you improve to make a negative result more reassuring, and why?

Overview: Asks for the probability that a person who tests negative actually has a disease, given the disease prevalence and the test's sensitivity and specificity. Tests applying Bayes' theorem to a diagnostic test and reasoning about how base rates change the result.

PracHub logo
General
Nov 24, 2026
easyData ScientistOtherStatistics & Math
0
0

Given the prevalence of a disease, and the sensitivity and specificity of a test, if a person tests negative, what is the probability they actually have the disease?

What a Strong Answer Covers Guidance

  • The target quantity, stated as a conditional probability and kept separate from the test's miss rate
  • Bayes' theorem with prevalence as the prior and the correct likelihoods of a negative result for sick and healthy people
  • A numeric example worked through correctly
  • How the answer changes as prevalence and sensitivity change

Follow-up Questions Guidance

  • With the same numbers, what is the probability of disease after a positive result?
  • The patient belongs to a high-risk group with a much higher disease rate. What changes in the calculation?
  • If the person tests negative twice, can you multiply the likelihoods? What assumption does that need?
  • Which test characteristic would you improve to make a negative result more reassuring, and why?