Back to Engineering Data Analysis repository
Engineering Data Analysis2D

Conditional Probability - Theory & Concepts - Engineering Data Analysis Diagnostic Testing

Understanding how probabilities change when new information is available, including Bayes' Theorem and Independence.

Open the complete lesson

Engineering Data Analysis • Topic 4

Bayes' Theorem in Diagnostic Testing

Prevalence P(D)P(D)10%
Sensitivity P(+D)P(+\mid D)90%
Specificity P(Dc)P(-\mid D^c)90%
Population Grid (N = 100)
True Positive (TP: 9)
False Negative (FN: 1)
False Positive (FP: 9)
True Negative (TN: 81)
PPV (Post-test prob of disease | positive test)
50.0%
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)}
NPV (Post-test prob of healthy | negative test)
98.8%
P(Dc)=P(Dc)P(Dc)P(Dc)P(Dc)+P(D)P(D)P(D^c\mid -) = \frac{P(-\mid D^c)P(D^c)}{P(-\mid D^c)P(D^c) + P(-\mid D)P(D)}