QUESTION 1 OF 10

How is conditional probability different from marginal probability?

Reveal the answer and explore the explanation.

01
EasyCore

How is conditional probability different from marginal probability?

Answer
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 ↗

Last 30 min revisionHigh-yield interview Q&As