A conjugate prior belongs to a family whose posterior remains in that family after multiplication by the likelihood.
A normal-gamma conjugate prior for the mean and precision parameter of a Gaussian distribution specifies a Gamma distribution in the shape-rate convention and a conditional Gaussian distribution . Its joint probability density function is proportional to , with . For independent observations with Gaussian distribution , multiplication by the likelihood and completing the square gives
and . The identity behind conjugacy is .
Conditionally independent gamma distributions with known shape and unknown rate have likelihood proportional to . A gamma distribution prior of shape and rate therefore updates to shape and rate . When , the posterior mean of the conditional claim mean is . For and , this is a credibility estimate with weight . It is the reciprocal-rate version of gamma scale inverse-gamma conjugacy.
A Pareto distribution prior for the upper limit of independent uniform distributions remains Pareto after observing data. The likelihood adds the sample size to the shape and replaces the lower bound by the larger of the prior bound and sample maximum.
For positive observations and , the Bayesian model evidence follows by integrating the uniform distribution likelihood against a Pareto distribution prior. For independent groups with shared fixed hyperparameters, these evidences multiply. The resulting hyperparameter log likelihood is up to a constant.
For conditionally independent gamma distribution observations of known shape and unknown scale , an inverse-gamma distribution prior with shape and scale gives an inverse-gamma distribution posterior with shape and scale . The posterior mean of the conditional claim expected value is when the denominator is positive.
With the gamma scale inverse-gamma conjugacy model and prior shape , the Bühlmann model has . Its Bühlmann credibility premium equals , exactly the Bayes estimator under squared error loss of . Equality holds because the posterior mean is already affine in the observed sample mean.
For a normal linear model with coefficient vector and residual variance , a normal-inverse-gamma prior has and , with a positive-definite matrix and . The inverse-gamma density is proportional to . Multiplying by the normal linear model likelihood function and completing the square preserves the family, giving an analytic posterior and evidence integral.
For an exponential family with density proportional to , its natural conjugate prior has density proportional to . Observations update by adding sufficient statistics and update by adding sample size.
For a positive-support exponential family , normalization gives . The natural conjugate prior proportional to has logarithmic derivative . If its endpoint density values vanish, integration gives prior expected value . Observations update to and to . The endpoint control for a Laplace-family conjugate posterior justifies the same mean identity after updating, giving an exact credibility estimate with credibility factor .
In the positive-support exponential family , a proper natural conjugate prior with zero endpoint density values has mean parameter strictly inside the essential convex support . Updating that mean by a positive-weight average with supported observations keeps it inside . At finite parameter endpoints, prior vanishing forces , so the increased posterior power still vanishes. At positive infinity, positive base-measure mass below a point smaller than the updated mean bounds below by , giving exponential decay of the posterior kernel. Mass above the updated mean gives the analogous bound at negative infinity. Thus the updated density is proper and has the boundary condition required to integrate its score.

Articles by others on the same topic (1)

In Bayesian statistics, a **conjugate prior** is a type of prior probability distribution that, when used in conjunction with a particular likelihood function, results in a posterior distribution that is in the same family as the prior distribution. This property makes the mathematical analysis and computations more tractable.