Set and . Conditional independence of the binomial distribution observations gives the likelihood function
The prior distribution is the beta distribution with parameters . By Bayes' theorem, multiplying the prior density by the likelihood function gives a posterior density proportional to
Recognizing and normalizing this beta distribution gives
for . This is Beta-binomial conjugacy; the original binomial coefficients cancel in the normalization because they are independent of .
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 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.

Articles by others on the same topic (0)

There are currently no matching articles.