Concentration of a beta prior near zero Created 2026-10-25 Updated 2026-11-05
For , direct integration of its probability density function gives the displayed tail for . Increasing strictly decreases every such tail probability, and converges in probability to zero as . Its mean is and its variance is ; both decrease for . For the variance, logarithmic differentiation gives in that range.
After successes in conditionally independent Bernoulli trials, Beta-binomial conjugacy gives posterior mean . Its derivative with respect to is negative, while the weight assigned to the prior mean is increasing for .
The mean of a shape-rate gamma distribution is shape divided by rate. Hence the posterior mean is
Both weights are positive and sum to one. This is a convex combination of the prior mean and the sample mean, proving
For it lies strictly between them if the two means differ, and equals both if they agree. The rate acts as the prior weight relative to the observed exposure units.
The prior mean decreases as increases. More strongly, its cumulative distribution function and upper-tail probability are
For every fixed , that upper-tail probability decreases with . The statistician increasingly favors smaller values of ; as , the prior distribution concentrates near zero. For , its variance also decreases. This is concentration of a beta prior near zero.
With the data fixed, the derivatives are
Thus the prior weight increases and the posterior mean decreases. Their limits are and . Both the changing prior mean and the increasing weight contribute to the change in the posterior mean.
The prior mean, posterior mean, and maximum-likelihood estimate are
For , the last follows by maximizing . At or , use the usual binomial likelihood convention that admits the endpoints and as maximum-likelihood estimates; if the parameter domain is strictly , these are boundary suprema rather than attained maxima. The posterior mean remains interior in all cases.
Taking
gives
Since and , . Thus the posterior mean is a convex combination of the prior mean and observed binomial proportion, with larger prior weight when is large relative to .
The posterior mean is a convex combination of the prior mean and the usual Poisson maximum-likelihood estimate:
Both weights are positive and sum to one, so the mean lies between and , strictly between them unless they coincide. If all counts are zero, is the boundary estimate in the usual nonnegative Poisson parameter space; with a strictly positive parameter restriction it represents the likelihood supremum at that boundary. The displayed posterior-mean relation is valid in either interpretation.
The exponential distribution prior has rate and support , so its prior density is . By Bayes' theorem,
where is a normalizing constant independent of .
Completing the square gives a useful exact reference for the numerical sampling. Put
Then this normal mean posterior with an exponential prior is a normal distribution with location and variance , truncated below at zero. With the standard normal distribution density and its cumulative distribution function,
The exponential rate is , not three; the prior mean is three. The support restriction must be retained in both the formula and the sampler.
Poisson-gamma conjugacy Created 2026-09-24 Updated 2026-10-25
For conditionally independent Poisson observations of mean and a gamma distribution prior of shape and rate , the likelihood function contributes . Multiplying by the prior density gives a posterior distribution with shape and rate . The single-observation update is shape and rate .
The posterior mean is the convex combination
Thus the prior mean and the sample maximum-likelihood estimate bracket it. Integrating the next conditional Poisson distribution against this posterior distribution gives the Poisson-gamma mixture, a negative binomial distribution; its spread includes uncertainty in as well as the conditional count variation.
Prior mean Created 2026-10-20 Updated 2026-10-25