Introduction
Empirical Bayes methods can be seen as an approximation to a fully Bayesian treatment of a hierarchical Bayes model. In, for example, a two-stage hierarchical Bayes model, observed data are assumed to be generated from an unobserved set of parameters according to a probability distribution . In turn, the parameters can be considered samples drawn from a population characterised by hyperparameters according to a probability distribution . In the hierarchical Bayes model, though not in the empirical Bayes approximation, the hyperparameters are considered to be drawn from an unparameterized distribution . Information about a particular quantity of interest therefore comes not only from the properties of those data that directly depend on it, but also from the properties of the population of parameters as a whole, inferred from the data as a whole, summarised by the hyperparameters . UsingPoint estimation
Robbins' method: non-parametric empirical Bayes (NPEB)
Robbins considered a case of sampling from a mixed distribution, where probability for each (conditional on ) is specified by a Poisson distribution, : while the prior on ''θ'' is unspecified except that it is also i.i.d. from an unknown distribution, with cumulative distribution function . Compound sampling arises in a variety of statistical estimation problems, such as accident rates and clinical trials. We simply seek a point prediction of given all the observed data. Because the prior is unspecified, we seek to do this without knowledge of ''G''. Under squared error loss (SEL), the conditional expectation E(''θ''''i'' , ''Y''''i'' = ''y''''i'') is a reasonable quantity to use for prediction. For the Poisson compound sampling model, this quantity is : This can be simplified by multiplying both the numerator and denominator by , yielding : where ''pG'' is the marginal probability mass function obtained by integrating out ''θ'' over ''G''. To take advantage of this, Robbins suggested estimating the marginals with their empirical frequencies (), yielding the fully non-parametric estimate as: : where denotes "number of". (See also Good–Turing frequency estimation.) ;Example – Accident rates Suppose each customer of an insurance company has an "accident rate" Θ and is insured against accidents; the probability distribution of Θ is the underlying distribution, and is unknown. The number of accidents suffered by each customer in a specified time period has a Poisson distribution with expected value equal to the particular customer's accident rate. The actual number of accidents experienced by a customer is the observable quantity. A crude way to estimate the underlying probability distribution of the accident rate Θ is to estimate the proportion of members of the whole population suffering 0, 1, 2, 3, ... accidents during the specified time period as the corresponding proportion in the observed random sample. Having done so, it is then desired to predict the accident rate of each customer in the sample. As above, one may use the conditionalGaussian
Suppose are random variables, such that is observed, but is hidden. The problem is to find the expectation of , conditional on . Suppose further that , that is, , where is a multivariate gaussian with variance . Then, we have the formula by direct calculation with the probability density function of multivariate gaussians. Integrating over , we obtainIn particular, this means that one can perform Bayesian estimation of without access to either the prior density of or the posterior density of . The only requirement is to have access to the score function of . This has applications in score-based generative modeling.Parametric empirical Bayes
If the likelihood and its prior take on simple parametric forms (such as 1- or 2-dimensional likelihood functions with simple conjugate priors), then the empirical Bayes problem is only to estimate the marginal and the hyperparameters using the complete set of empirical measurements. For example, one common approach, called parametric empirical Bayes point estimation, is to approximate the marginal using the maximum likelihood estimate (MLE), or a moments expansion, which allows one to express the hyperparameters in terms of the empirical mean and variance. This simplified marginal allows one to plug in the empirical averages into a point estimate for the prior . The resulting equation for the prior is greatly simplified, as shown below. There are several common parametric empirical Bayes models, including the Poisson–gamma model (below), the Beta-binomial model, the Gaussian–Gaussian model, the Dirichlet-multinomial model, as well specific models for Bayesian linear regression (see below) and Bayesian multivariate linear regression. More advanced approaches include hierarchical Bayes models and Bayesian mixture models.Gaussian–Gaussian model
For an example of empirical Bayes estimation using a Gaussian-Gaussian model, see Empirical Bayes estimators.Poisson–gamma model
For example, in the example above, let the likelihood be a Poisson distribution, and let the prior now be specified by the conjugate prior, which is a gamma distribution () (where ): : It is straightforward to show the posterior is also a gamma distribution. Write : where the marginal distribution has been omitted since it does not depend explicitly on . Expanding terms which do depend on gives the posterior as: : So the posterior density is also a gamma distribution , where , and . Also notice that the marginal is simply the integral of the posterior over all , which turns out to be a negative binomial distribution. To apply empirical Bayes, we will approximate the marginal using the maximum likelihood estimate (MLE). But since the posterior is a gamma distribution, the MLE of the marginal turns out to be just the mean of the posterior, which is the point estimate we need. Recalling that the mean of a gamma distribution is simply , we have : To obtain the values of and , empirical Bayes prescribes estimating mean and variance using the complete set of empirical data. The resulting point estimate is therefore like a weighted average of the sample mean and the prior mean . This turns out to be a general feature of empirical Bayes; the point estimates for the prior (i.e. mean) will look like a weighted averages of the sample estimate and the prior estimate (likewise for estimates of the variance).See also
* Bayes estimator * Bayesian network * Hyperparameter * Hyperprior * Best linear unbiased prediction * Robbins lemma * Spike-and-slab variable selectionReferences
Further reading
* * *External links