An empirical Bayes method estimates prior hyperparameters from the marginal distribution of the observed data and then uses the resulting fitted prior in Bayesian inference.
A maximum marginal likelihood estimator chooses a hyperparameter by maximizing the data density obtained after integrating the model parameter against its prior distribution.
A hyperparameter controls a family of prior distributions or statistical models and is fixed, estimated, or assigned a further prior at a higher level of a hierarchical model.
A hyperprior is a prior distribution assigned to a hyperparameter that controls another prior distribution. In a hierarchical Bayesian model, this makes uncertainty about the prior's parameters part of the joint probability model, rather than replacing those parameters by fixed numbers.[ref]
For data , a model parameter and a hyperparameter , a common factorization is
Here supplies the likelihood function, is the conditional prior distribution, and is the hyperprior. After observing , Bayesian inference gives a joint posterior distribution. The marginal posterior of averages over the updated hyperparameter distribution:
For discrete hyperparameters, the integral is replaced by a sum.
An exact example makes the averaging visible. Let be a success probability and choose a two-point hyperprior,
Both conditional beta distributions have expectation , but they concentrate differently around it. Now observe two successes that are independent conditional on , each with a Bernoulli distribution. Their conditional probability is . Integrating against the two possible priors gives
Thus the data also update the hyperparameter:
The conditional posterior distributions of are respectively and . Their posterior mixture has mean
This is an original illustrative probability model, rather than data or a numerical example from the guide.
Fixing at its prior mean would instead produce after the same observations, with posterior mean . Averaging the hyperparameter first has changed the model; it does not reproduce averaging the conditional posteriors with their updated probabilities. A hyperprior therefore adds a specified layer of uncertainty, while its own choice remains part of the assumptions of the hierarchical Bayesian model.

Articles by others on the same topic (0)

There are currently no matching articles.