Lably
Skip to content

Maximum a posteriori estimation

Method of estimating the parameters of a statistical model

  • 4 min read
  • 4 chapters

Related on Lably

Through Mode (statistics), Mathematical optimization and Sampling distribution

Description

Assume that we want to estimate an unobserved population parameter θ on the basis of observations x. Let f be the sampling distribution of x, so that f(x∣θ) is the probability of x when the underlying population parameter is θ. Then the function:

θ↦f(x∣θ)

is known as the likelihood function and the estimate:

θ^MLE(x)=argmaxθf(x∣θ)

is the maximum likelihood estimate of θ.

Now assume that a prior distribution g over θ exists. This allows us to treat θ as a random variable as in Bayesian statistics. We can calculate the posterior density of θ using Bayes' theorem:

θ↦f(θ∣x)=f(x∣θ)g(θ)∫Θf(x∣ϑ)g(ϑ)dϑ

where g is density function of θ, Θ is the domain of g.

The method of maximum a posteriori estimation then estimates θ as the mode of the posterior density of this random variable:

θ^MAP(x)=argmaxθf(θ∣x)=argmaxθf(x∣θ)g(θ)∫Θf(x∣ϑ)g(ϑ)dϑ=argmaxθf(x∣θ)g(θ).

The denominator of the posterior density (the marginal likelihood of the model) is always positive and does not depend on θ and therefore plays no role in the optimization. Observe that the MAP estimate of θ coincides with the ML estimate when the prior g is uniform (i.e., g is a constant function), which occurs whenever the prior distribution is taken as the reference measure, as is typical in function-space applications.

In the context of Bayes estimators, the MAP can be recovered as the minimizer of the Bayes risk with risk function

L(θ,a)={0,if |a−θ|<c,1,otherwise,

in the limit as c goes to 0, provided that the distribution of θ is quasi-concave. Generally, however, a MAP estimator is not a Bayes estimator unless θ is discrete.

Sign in to keep reading

3 more chapters are free with a Lably account.

More in Statistics and probability