Let us have a prior belief that the probability distribution function is p ( θ ) {\displaystyle p(\theta )} and observations x {\displaystyle x} with the likelihood p ( x | θ ) {\displaystyle p(x|\theta )} , then the posterior probability is defined as