StatisticsBayes' Theorem

Bayes' Theorem: Positive Predictive Value of a Screening Test

Homework Question

A condition has 1%1\% prevalence in a population. A test has 95%95\% sensitivity (P(+∣D)=0.95P(+ \mid D) = 0.95) and 96%96\% specificity (P(−∣Dc)=0.96P(- \mid D^c) = 0.96). Find the probability a person actually has the condition given a positive test.

Verified Final Answer
95491≈0.1935\frac{95}{491} \approx 0.1935 (19.35%19.35\%)

Key Formula & Principle

P(D∣+)=P(+∣D)P(D)P(+∣D)P(D)+P(+∣Dc)P(Dc)P(D \mid +) = \frac{P(+ \mid D)P(D)}{P(+ \mid D)P(D) + P(+ \mid D^c)P(D^c)}

Step-by-Step Solution

  1. 1
    Identify prior probabilities P(D)=0.01P(D) = 0.01, P(Dc)=0.99P(D^c) = 0.99, and false-positive rate P(+∣Dc)=1−0.96=0.04P(+ \mid D^c) = 1 - 0.96 = 0.04.
  2. 2
    Compute total probability of testing positive: P(+)=(0.95)(0.01)+(0.04)(0.99)=0.0095+0.0396=0.0491P(+) = (0.95)(0.01) + (0.04)(0.99) = 0.0095 + 0.0396 = 0.0491.
  3. 3
    Apply Bayes' Theorem: P(D∣+)=0.00950.0491=95491≈0.1935P(D \mid +) = \frac{0.0095}{0.0491} = \frac{95}{491} \approx 0.1935.
Interactive Homework Customizer

Have this WebAssign / Canvas problem with different numbers?

Replace the numbers or functions below to match your exact assignment version, then generate a custom step-by-step derivation.

View all Statistics →