I am new to the bayesian statistics and I most frequently see the conjugate prior distribution. Can you explain it with clear example? I would be very thankful.
-
$\begingroup$ other related questions include stats.stackexchange.com/questions/90969/… and stats.stackexchange.com/questions/59363/… $\endgroup$– Glen_bSep 29, 2018 at 8:43
-
$\begingroup$ Simple illustration of beta prior conjugate to binomial likelihood here. $\endgroup$– BruceETSep 29, 2018 at 8:57
1 Answer
A conjugate prior is a probability distribution that, when multiplied by the likelihood and divided by the normalizing constant, yields a posterior probability distribution that is in the same family of distributions as the prior.
In other words, in the formula:
$$p(\theta|x) = \frac{p(x|\theta)p(\theta)}{\int{p(x|\theta)p(\theta)d\theta}}$$
The prior $p(\theta)$ is conjugate to the posterior $p(\theta | x)$ if both are in the same family of distributions.
For example, the normal distribution is conjugate to itself, because if the likelihood and prior are normal, then so is the posterior.