Engineering Data Analysis2D
Conditional Probability - Theory & Concepts
Understanding how probabilities change when new information is available, including Bayes' Theorem and Independence.
Open the complete lessonEngineering Data Analysis
Bayes' Theorem & Diagnostic Testing
Visualize conditional probability and Bayes' theorem using a probability tree. Adjust the prior probability and test accuracy to see how they impact the posterior probability.
5.0%
Probability of a random component being defective.
90.0%
Sensitivity: Test is positive when defect is present.
10.0%
False Alarm: Test is positive when NO defect is present.
Probability Tree Diagram
= 5.0%
= 95.0%
= 90.0%
= 10.0%
= 10.0%
= 90.0%
Start
Defective (D)
Good (G)
Positive (T)
=4.50%Negative (~T)
=0.50%Positive (T)
=9.50%Negative (~T)
=85.50%Total Positives
14.00%
Sum of True Positives and False Positives
Posterior
32.1%
Prob. it is defective GIVEN a positive test