On this page
What this lesson covers
Bayes’ theorem updates a prior event probability using new evidence by multiplying the likelihood by the prior and dividing by the marginal probability of the evidence.
Distinguish prior, likelihood, joint probability and posterior when inferring a copper surplus from Ironbark’s return. Build the denominator with total probability and examine the special case of equally likely prior scenarios.
How do you calculate Bayes' theorem?
Multiply likelihood by prior for the joint numerator, then divide by the evidence probability found across all scenarios.
Joint probability of A and B = P(A given B) × P(B) = P(B given A) × P(A)
- Event and observed evidence
Posterior = likelihood × prior / marginal probability of evidence
- Prior event probability and marginal evidence probability
- Likelihood and posterior
For example, Ironbark’s observed quarterly return is −21%. The surplus and shortage scenarios have prior probabilities 0.3 and 0.7; the probabilities of this return conditional on those scenarios are 0.6 and 0.1, respectively. The evidence probability is 0.6 × 0.3 + 0.1 × 0.7 = 0.25, so the probability of a surplus after observing −21% is (0.6 × 0.3) / 0.25 = 0.72, or 72%.
Common mistakes
- Reporting the reverse conditional probability as the posterior answers the wrong question.
- Reporting the joint numerator as the posterior omits division by the probability of the evidence.
- Reporting the probability of the evidence as the posterior confuses two different probabilities.
Try a practice question
Choose an answer, then check it to read the explanation for every option.
Continue studying in Quizara
In Quizara the lesson comes with more practice questions on the topic, explanations for every option and an AI tutor for your follow-up questions.
Written by the Quizara Editorial Team under our editorial standards.