Let . The Bernoulli distribution likelihood is proportional to . Multiplication by the beta distribution prior givesNormalizing with the beta function therefore givesThe parameters remain positive. This is Beta-binomial conjugacy: successes add to the first shape parameter and failures to the second.
A credible set is a measurable subset with posterior probability :In ordinary language, given the observed data and the chosen prior model, the probability that the parameter lies in this set is . Such a set need not be an interval or be unique; its defining requirement is posterior mass.
Let denote the distribution function of the posterior beta distribution, with and . This distribution is continuous with positive density on . Its equal-tailed credible interval isCompute the two quantiles by solving and . Each excluded tail has mass , leaving posterior mass between the endpoints.
The further observation is independent of the earlier observations conditional on . Integrate its conditional success probability against the posterior:The given factorial formula for the beta function gives this ratio as . Thus the posterior predictive probability isIt is the posterior mean of the Bernoulli success parameter. Independence here is conditional: sharing the uncertain parameter generally makes past and future observations dependent before conditioning on it.
Articles by others on the same topic
There are currently no matching articles.