Let be the number of heads. The likelihood function for the Bernoulli distribution sample is proportional to . A uniform distribution prior on is the distribution, so Beta-binomial conjugacy gives the posterior distribution
The quadratic loss, also called squared-error loss, for reporting an action when the parameter is is
For any action , decompose the posterior expected quadratic loss around the posterior mean:
The unique minimizer is therefore the Bayes estimator under squared error loss. Using the mean of the posterior Beta distribution gives
Under repeated sampling at parameter value , has the binomial distribution with expected value . Consequently
so its bias of an estimator is .

Articles by others on the same topic (0)

There are currently no matching articles.