Empirical Bayes methods are procedures for
statistical inference in which the
prior probability distribution
In Bayesian statistical inference, a prior probability distribution, often simply called the prior, of an uncertain quantity is the probability distribution that would express one's beliefs about this quantity before some evidence is taken int ...
is estimated from the data. This approach stands in contrast to standard
Bayesian methods
Bayesian inference is a method of statistical inference in which Bayes' theorem is used to update the probability for a hypothesis as more evidence or information becomes available. Bayesian inference is an important technique in statistics, and ...
, for which the prior distribution is fixed before any data are observed. Despite this difference in perspective, empirical Bayes may be viewed as an approximation to a fully Bayesian treatment of a
hierarchical model wherein the parameters at the highest level of the hierarchy are set to their most likely values, instead of being integrated out.
Empirical Bayes, also known as maximum
marginal likelihood
A marginal likelihood is a likelihood function that has been integrated over the parameter space. In Bayesian statistics, it represents the probability of generating the observed sample from a prior and is therefore often referred to as model ev ...
,
represents a convenient approach for setting
hyperparameters
In Bayesian statistics, a hyperparameter is a parameter of a prior distribution; the term is used to distinguish them from parameters of the model for the underlying system under analysis.
For example, if one is using a beta distribution to m ...
, but has been mostly supplanted by fully Bayesian hierarchical analyses since the 2000s with the increasing availability of well-performing computation techniques.
Introduction
Empirical Bayes methods can be seen as an approximation to a fully Bayesian treatment of a
hierarchical Bayes model
Multilevel models (also known as hierarchical linear models, linear mixed-effect model, mixed models, nested data models, random coefficient, random-effects models, random parameter models, or split-plot designs) are statistical models of parame ...
.
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
In Bayesian statistics, a hyperparameter is a parameter of a prior distribution; the term is used to distinguish them from parameters of the model for the underlying system under analysis.
For example, if one is using a beta distribution to m ...
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
.
Using
Bayes' theorem
In probability theory and statistics, Bayes' theorem (alternatively Bayes' law or Bayes' rule), named after Thomas Bayes, describes the probability of an event, based on prior knowledge of conditions that might be related to the event. For exa ...
,
:
In general, this integral will not be tractable
analytically or
symbolically and must be evaluated by
numerical methods. Stochastic (random) or deterministic approximations may be used. Example stochastic methods are
Markov Chain Monte Carlo
In statistics, Markov chain Monte Carlo (MCMC) methods comprise a class of algorithms for sampling from a probability distribution. By constructing a Markov chain that has the desired distribution as its equilibrium distribution, one can obtain ...
and
Monte Carlo
Monte Carlo (; ; french: Monte-Carlo , or colloquially ''Monte-Carl'' ; lij, Munte Carlu ; ) is officially an administrative area of the Principality of Monaco, specifically the ward of Monte Carlo/Spélugues, where the Monte Carlo Casino i ...
sampling. Deterministic approximations are discussed in
quadrature.
Alternatively, the expression can be written as
:
and the final factor in the integral can in turn be expressed as
:
These suggest an iterative scheme, qualitatively similar in structure to a
Gibbs sampler, to evolve successively improved approximations to
and
. First, calculate an initial approximation to
ignoring the
dependence completely; then calculate an approximation to
based upon the initial approximate distribution of
; then use this
to update the approximation for
; then update
; and so on.
When the true distribution
is sharply peaked, the integral determining
may be not much changed by replacing the probability distribution over
with a point estimate
representing the distribution's peak (or, alternatively, its mean),
:
With this approximation, the above iterative scheme becomes the
EM algorithm.
The term "Empirical Bayes" can cover a wide variety of methods, but most can be regarded as an early truncation of either the above scheme or something quite like it. Point estimates, rather than the whole distribution, are typically used for the parameter(s)
. The estimates for
are typically made from the first approximation to
without subsequent refinement. These estimates for
are usually made without considering an appropriate prior distribution for
.
Point estimation
Robbins' method: non-parametric empirical Bayes (NPEB)
Robbins Robbins may refer to:
People
* Robbins (name), a surname
Fictional characters
* Al Robbins, medical doctor in ''CSI: Crime Scene Investigation''
* Arizona Robbins, surgeon in ''Grey's Anatomy''
* Ashley Mizuki Robbins, protagonist in the video ...
[ considered a case of sampling from a mixed distribution, where probability for each (conditional on ) is specified by a ]Poisson distribution
In probability theory and statistics, the Poisson distribution is a discrete probability distribution that expresses the probability of a given number of events occurring in a fixed interval of time or space if these events occur with a known ...
,
:
while the prior on ''θ'' is unspecified except that it is also i.i.d. from an unknown distribution, with cumulative distribution function
In probability theory and statistics, the cumulative distribution function (CDF) of a real-valued random variable X, or just distribution function of X, evaluated at x, is the probability that X will take a value less than or equal to x.
Ev ...
. 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
In mathematical optimization and decision theory, a loss function or cost function (sometimes also called an error function) is a function that maps an event or values of one or more variables onto a real number intuitively representing some "cos ...
(SEL), the conditional expectation
In probability theory, the conditional expectation, conditional expected value, or conditional mean of a random variable is its expected value – the value it would take “on average” over an arbitrarily large number of occurrences – given ...
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 distribution 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
In probability theory and statistics, the Poisson distribution is a discrete probability distribution that expresses the probability of a given number of events occurring in a fixed interval of time or space if these events occur with a known ...
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 conditional
Conditional (if then) may refer to:
* Causal conditional, if X then Y, where X is a cause of Y
* Conditional probability, the probability of an event A given that another event B has occurred
*Conditional proof, in logic: a proof that asserts a ...
expected value
In probability theory, the expected value (also called expectation, expectancy, mathematical expectation, mean, average, or first moment) is a generalization of the weighted average. Informally, the expected value is the arithmetic mean of a ...
of the accident rate Θ given the observed number of accidents during the baseline period. Thus, if a customer suffers six accidents during the baseline period, that customer's estimated accident rate is 7 × he proportion of the sample who suffered 7 accidents/ he proportion of the sample who suffered 6 accidents
He or HE may refer to:
Language
* He (pronoun), an English pronoun
* He (kana), the romanization of the Japanese kana へ
* He (letter), the fifth letter of many Semitic alphabets
* He (Cyrillic), a letter of the Cyrillic script called ''He'' in ...
Note that if the proportion of people suffering ''k'' accidents is a decreasing function of ''k'', the customer's predicted accident rate will often be lower than their observed number of accidents.
This shrinkage effect is typical of empirical Bayes analyses.
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 prior
In Bayesian probability theory, if the posterior distribution p(\theta \mid x) is in the same probability distribution family as the prior probability distribution p(\theta), the prior and posterior are then called conjugate distributions, and t ...
s), 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
In statistics, maximum likelihood estimation (MLE) is a method of estimating the parameters of an assumed probability distribution, given some observed data. This is achieved by maximizing a likelihood function so that, under the assumed statis ...
(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
In probability theory and statistics, the beta-binomial distribution is a family of discrete probability distributions on a finite support of non-negative integers arising when the probability of success in each of a fixed or known number of Be ...
, the Gaussian–Gaussian model, the Dirichlet-multinomial model, as well specific models for Bayesian linear regression
Bayesian linear regression is a type of conditional modeling in which the mean of one variable is described by a linear combination of other variables, with the goal of obtaining the posterior probability of the regression coefficients (as wel ...
(see below) and Bayesian multivariate linear regression. More advanced approaches include hierarchical Bayes model
Multilevel models (also known as hierarchical linear models, linear mixed-effect model, mixed models, nested data models, random coefficient, random-effects models, random parameter models, or split-plot designs) are statistical models of parame ...
s and Bayesian mixture model
Thomas Bayes (/beɪz/; c. 1701 – 1761) was an English statistician, philosopher, and Presbyterian minister.
Bayesian () refers either to a range of concepts and approaches that relate to statistical methods based on Bayes' theorem, or a followe ...
s.
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
In probability theory and statistics, the Poisson distribution is a discrete probability distribution that expresses the probability of a given number of events occurring in a fixed interval of time or space if these events occur with a known ...
, and let the prior now be specified by the conjugate prior
In Bayesian probability theory, if the posterior distribution p(\theta \mid x) is in the same probability distribution family as the prior probability distribution p(\theta), the prior and posterior are then called conjugate distributions, and t ...
, which is a gamma distribution
In probability theory and statistics, the gamma distribution is a two- parameter family of continuous probability distributions. The exponential distribution, Erlang distribution, and chi-square distribution are special cases of the gamma dis ...
() (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
In probability theory and statistics, the gamma distribution is a two- parameter family of continuous probability distributions. The exponential distribution, Erlang distribution, and chi-square distribution are special cases of the gamma dis ...
, 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
In probability theory
Probability theory is the branch of mathematics concerned with probability. Although there are several different probability interpretations, probability theory treats the concept in a rigorous mathematical manner by expr ...
.
To apply empirical Bayes, we will approximate the marginal using the maximum likelihood
In statistics, maximum likelihood estimation (MLE) is a method of estimating the parameters of an assumed probability distribution, given some observed data. This is achieved by maximizing a likelihood function so that, under the assumed sta ...
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
In estimation theory and decision theory, a Bayes estimator or a Bayes action is an estimator or decision rule that minimizes the posterior expected value of a loss function (i.e., the posterior expected loss). Equivalently, it maximizes the ...
* Bayesian network
A Bayesian network (also known as a Bayes network, Bayes net, belief network, or decision network) is a probabilistic graphical model that represents a set of variables and their conditional dependencies via a directed acyclic graph (DAG). Bay ...
* Hyperparameter
* Hyperprior
In Bayesian statistics, a hyperprior is a prior distribution on a hyperparameter, that is, on a parameter of a prior distribution.
As with the term ''hyperparameter,'' the use of ''hyper'' is to distinguish it from a prior distribution of a para ...
* Best linear unbiased prediction
* Robbins lemma
* Spike-and-slab variable selection
References
Further reading
*
*
*
External links
Use of empirical Bayes Method in estimating road safety (North America)
Empirical Bayes methods for missing data analysis
* ttp://www.biomedcentral.com/1471-2105/7/514/abstract/ A Hierarchical Naive Bayes Classifiers(for continuous an
discrete
variables).
{{DEFAULTSORT:Empirical Bayes Method
Nonparametric Bayesian statistics