ArticleslgStudy

mathematics

Maximum likelihood estimation

Maximum likelihood estimation is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Maximum likelihood estimation rather than just read about it. In short: 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 statistical model, the observed data is most probable.

Maximum likelihood estimation — main illustration
Maximum likelihood estimation — illustration

Key takeaways

  • Maximum likelihood estimation belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Maximum likelihood estimation to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Maximum likelihood estimation from memory before moving on to harder problems.

Reference excerpt

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 statistical model, the observed data is most probable. The point in the parameter space that maximizes the likelihood function is called the maximum likelihood estimate. The logic of maximum likelihood is both intuitive and flexible, and as such the method has become a dominant means of statistical inference. If the likelihood function is differentiable, the derivative test for finding maxima can be applied. In some cases, the first-order conditions of the likelihood function can be solved analytically; for instance, the ordinary least squares estimator for a linear regression model maximizes the likelihood when the random errors are assumed to have normal distributions with the same variance. From the perspective of Bayesian inference, MLE is generally equivalent to maximum a posteriori (MAP) estimation with a prior distribution that is uniform in the region of interest. In frequentist inference, MLE is a special case of an extremum estimator, with the objective function being the likelihood.

Principles We model a set of observations as a random sample from an unknown joint probability distribution which is expressed in terms of a set of parameters. The goal of maximum likelihood estimation is to determine the parameters for which the observed data have the highest joint probability. We write the parameters governing the joint distribution as a vector θ=[θ1,θ2,…,θk]𝖳 so that this distribution falls within a parametric family {f(⋅;θ)∣θ∈Θ}, where Θ is called the parameter space, a finite-dimensional subset of Euclidean space. Evaluating the joint density at the observed data sample 𝐲=(y1,y2,…,yn) gives a real-valued function, ℒn(θ)=ℒn(θ;𝐲)=fn(𝐲;θ), which is called the likelihood function. For independent random variables, fn(𝐲;θ) will be the product of univariate density functions: fn(𝐲;θ)=∏k=1nfk𝗎𝗇𝗂𝗏𝖺𝗋(yk;θ) . The goal of maximum likelihood estimation is to find the values of the model parameters that maximize the likelihood function over the parameter space, that is: θ̂=argmaxθ∈Θℒn(θ;𝐲) . Intuitively, this selects the parameter values that make the observed data most probable. The specific value θ̂=θ̂n(𝐲)∈Θ that maximizes the likelihood function ℒn is called the maximum likelihood estimate. Further, if the function θ̂n:ℝn→Θ so defined is measurable, then it is called the maximum likelihood estimator. It is generally a function defined over the sample space, i.e. taking a given sample as its argument. A sufficient but not necessary condition for its existence is for the likelihood function to be continuous over a parameter space Θ that is compact. For an open Θ the likelihood function may increase without ever reaching a supremum value. In practice, it is often convenient to work with the natural logarithm of the likelihood function, called the log-likelihood: ℓ(θ;𝐲)=ln⁡ℒn(θ;𝐲) . Since the logarithm is a monotonic function, the maximum of ℓ(θ;𝐲) occurs at the same value of θ as does the maximum of ℒn . If ℓ(θ;𝐲) is differentiable in Θ, necessary conditions for the occurrence of a maximum (or a minimum) are ∂ℓ∂θ1=0,∂ℓ∂θ2=0,…,∂ℓ∂θk=0 , known as the likelihood equations. For some models, these equations can be explicitly solved for θ^, but in general no closed-form solution to the maximization problem is known or available, and an MLE can only be found via numerical optimization. Another problem is that in finite samples, there may exist multiple roots for the likelihood equations. Whether the identified root θ^ of the likelihood equations is indeed a (local) maximum depends on whether the matrix of second-order partial and cross-partial derivatives, the so-called Hessian matrix 𝐇(θ^)=[∂2ℓ∂θ12|θ=θ^∂2ℓ∂θ1∂θ2|θ=θ^…∂2ℓ∂θ1∂θk|θ=θ^∂2ℓ∂θ2∂θ1|θ=θ^∂2ℓ∂θ22|θ=θ^…∂2ℓ∂θ2∂θk|θ=θ^⋮⋮⋱⋮∂2ℓ∂θk∂θ1|θ=θ^∂2ℓ∂θk∂θ2|θ=θ^…∂2ℓ∂θk2|θ=θ^] , is negative semi-definite at θ^, as this indicates local concavity. Conveniently, most common probability distributions – in particular the exponential family – are logarithmically concave.

Restricted parameter space

While the domain of the likelihood function—the parameter space—is generally a finite-dimensional subset of Euclidean space, additional restrictions sometimes need to be incorporated into the estimation process. The parameter space can be expressed as Θ={θ:θ∈ℝk,h(θ)=0} , where h(θ)=[h1(θ),h2(θ),…,hr(θ)] is a vector-valued function mapping ℝk into ℝr . Estimating the true parameter θ belonging to Θ then, as a practical matter, means to find the maximum of the likelihood function subject to the constraint h(θ)=0 . Theoretically, the most natural approach to this constrained optimization problem is the method of substitution, that is "filling out" the restrictions h1,h2,…,hr to a set h1,h2,…,hr,hr+1,…,hk in such a way that h∗=[h1,h2,…,hk] is a one-to-one function from ℝk to itself, and reparameterize the likelihood function by setting ϕi=hi(θ1,θ2,…,θk) . Because of the equivariance of the maximum likelihood estimator, the properties of the MLE apply to the restricted estimates also. For instance, in a multivariate normal distribution the covariance matrix Σ must be positive-definite; this restriction can be imposed by replacing Σ=Γ𝖳Γ, where Γ is a real upper triangular matrix and Γ𝖳 is its transpose. In practice, restrictions are usually imposed using the method of Lagrange which, given the constraints as defined above, leads to the restricted likelihood equations ∂ℓ∂θ−∂h(θ)𝖳∂θλ=0 and h(θ)=0, where λ=[λ1,λ2,…,λr]𝖳 is a column-vector of Lagrange multipliers and ∂h(θ)𝖳∂θ is the k × r Jacobian matrix of partial derivatives. Naturally, if the constraints are not binding at the maximum, the Lagrange multipliers should be zero. This in turn allows for a statistical test of the "validity" of the constraint, known as the Lagrange multiplier test.

Nonparametric maximum likelihood estimation Nonparametric maximum likelihood estimation can be performed using the empirical likelihood.

… excerpt ends here. Continue reading the full article.

Illustrations

Maximum likelihood estimation: Likelihood function for proportion value of a binomial process (n = 10)
Likelihood function for proportion value of a binomial process (n = 10)
Maximum likelihood estimation: Ronald Fisher in 1913
Ronald Fisher in 1913

Worked examples

Example 1 — a first encounter with Maximum likelihood estimation

Start with the simplest possible case. Write down what Maximum likelihood estimation claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Maximum likelihood estimation before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Maximum likelihood estimation ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Maximum likelihood estimation

In research
Maximum likelihood estimation appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Maximum likelihood estimation in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Maximum likelihood estimation is common in secondary-school and first-year university syllabi. It links to neighbouring topics M-estimators, Maximum likelihood estimation, Probability distribution fitting, so understanding it makes those chapters shorter.
In everyday life
Look for Maximum likelihood estimation outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Maximum likelihood estimation” →

How to study Maximum likelihood estimation in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Maximum likelihood estimation means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Maximum likelihood estimation out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Maximum likelihood estimation in simple terms?

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 statistical model, the observed data is most probable.

Why does Maximum likelihood estimation matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Maximum likelihood estimation?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Maximum likelihood estimation.

Tags

  • M-estimators
  • Maximum likelihood estimation
  • Probability distribution fitting

Keep exploring