Enable JavaScript to use the interactive labs. Bayesian inference combines a prior distribution with the likelihood of observed data to obtain a posterior distribution.