Bayesian inference treats the parameter
θ as a random variable and combines the prior
p(θ) with the likelihood
p(x∣θ) into a posterior distribution:
p(θ∣x)=p(x)p(x∣θ)p(θ)=∫p(x∣θ)p(θ)dθp(x∣θ)p(θ), i.e. posterior
∝ likelihood
× prior, where the evidence
p(x) is merely a normalizing constant. Conjugate priors keep the posterior in the same family and analytically tractable: Beta prior + Binomial likelihood → Beta posterior; Normal prior + Normal likelihood → Normal posterior; Gamma prior + Poisson likelihood → Gamma posterior.