A Bayesian update consists of updating the probability distribution that represents our knowledge of a random variable after an event, using Bayes theorem, , where:

  • is the original probability we assigned to the random variable
  • is the updated probability
  • is the probability of the observed event IF we know the value of the random variable .
  • is the probability of the event.

Since the resulting value is normalised by dividing by , we can often simplify calculations by working with the likelihood .

It might also be useful to treat this as the construction of a Probability Monoid