How is conditional probability different from marginal probability?
Reveal the answer and explore the explanation.
01EasyCoreHow is conditional probability different from marginal probability?
Answer
EasyCore
How is conditional probability different from marginal probability?
Answer
Probability of an event given that another event occurred.
Practical example
Estimate the chance of disease among positive test results.
PythonRelated concept example
prior, sensitivity, false_positive = .01, .90, .05
posterior = prior*sensitivity / (prior*sensitivity + (1-prior)*false_positive)
print(round(posterior, 3))A positive test is not necessarily highly predictive when prevalence is low.
Reference: Further reading ↗