Maximum Likelihood Estimation

Suppose you observe ten independent light bulbs and record their failure times. You believe the lifetimes follow an exponential distribution. However, you do not know its rate parameter. What single number best explains the data you actually saw? Maximum likelihood estimation answers this by turning the question around. Instead of asking "what is the true parameter?", it asks a different question. It asks "for which parameter value was the data I observed most probable?" This inversion — from probability of data given parameter, to plausibility of parameter given data — is one of the most consequential ideas in statistics. The method matters because it is simultaneously simple to state, mechanical to apply, and remarkably powerful in its consequences. Maximum likelihood estimators (MLEs) are typically consistent, asymptotically normal, and asymptotically efficient under mild regularity conditions. This means that for large samples they behave about as well as any estimator possibly can. This efficiency is not an accident. It is tied to a deep quantity called the Fisher information, which measures how sharply the likelihood is peaked around the truth. The big picture is this: a statistical model assigns a probability (or density) to each possible dataset. This assignment is a function of an unknown parameter. Fixing the observed data and letting the parameter vary turns this into the likelihood function. Maximum likelihood estimation is the search for the parameter value that makes this function as large as possible. Because likelihoods are products of many terms, one almost always works with the log-likelihood. Its derivative — the score — provides the calculus machinery for finding maxima. This article builds the method from its formal definition. It develops the score-function calculus that makes computation tractable. It proves existence and a first-order characterization of the maximizer under standard smoothness conditions. It also works through two genuinely different examples. One is continuous (exponential), and one has its maximum at a boundary rather than a stationary point (uniform). It closes by flagging exactly where the theorem's hypotheses are needed. It previews the asymptotic theory — consistency, efficiency, and the Cramér–Rao bound — that maximum likelihood estimation sets up.

Key takeaways
  • The likelihood function L(θ)L(\theta) is the joint density/pmf of the data, viewed as a function of the parameter θ\theta with the data fixed.
  • The maximum likelihood estimator (MLE) θ^\hat\theta is the value of θ\theta maximizing L(θ)L(\theta), equivalently maximizing the log-likelihood ℓ(θ)=log⁡L(θ)\ell(\theta) = \log L(\theta).
  • The score function S(θ)=ℓ′(θ)S(\theta) = \ell'(\theta) is the derivative of the log-likelihood; setting S(θ)=0S(\theta)=0 gives the likelihood equation, whose root is a candidate MLE.
  • For smooth, identifiable, regular models, the MLE solves the likelihood equation and is characterized by a second-derivative (concavity) check.
  • Not every MLE is a stationary point — boundary maxima (e.g. uniform distribution) require direct inspection of LL rather than calculus alone.
  • Key idea: maximize the plausibility of the parameter given what you actually observed, by finding where the log-likelihood is steepest-then-flat, i.e. where its derivative vanishes and curves downward.

Where this lives today

Maximum likelihood estimation is the backbone of parametric statistical modeling across essentially every quantitative discipline. In biostatistics and epidemiology, MLE fits survival models (exponential, Weibull, Cox proportional hazards) to time-to-event data exactly as in the light-bulb example above. In machine learning, training a logistic regression classifier or a Gaussian mixture model (via the EM algorithm) is literally maximum likelihood estimation, and the cross-entropy loss minimized in neural network classifiers is the negative log-likelihood of a categorical model. In genetics, phylogenetic tree reconstruction from DNA sequence data is typically done by maximizing the likelihood of the tree topology and branch lengths under a nucleotide substitution model. In econometrics, MLE underlies probit and logit demand models, ARCH/GARCH volatility models, and structural macro models. In physics and engineering, MLE (often disguised as "least squares" under Gaussian noise, itself a special case) calibrates instruments and estimates decay rates, signal parameters, and channel characteristics in communications. In cryptography and coding theory, maximum-likelihood decoding chooses the transmitted codeword maximizing the probability of the observed noisy channel output, directly generalizing the estimation principle to a decision-theoretic setting. This universality is precisely why the theory built around MLE — its consistency, asymptotic normality, and connection to The Cramer-Rao Lower Bound via Properties of MLEs — is such foundational machinery for the Likelihood Ratio Tests used throughout modern hypothesis testing.

Ask the tutor: How does the Fisher information determine the asymptotic variance of the MLE, and how does that connect to the Cramér–Rao lower bound?

DefinitionLikelihood function and maximum likelihood estimator

Let X1,…,XnX_1,\dots,X_n be a random sample from a distribution with density or probability mass function f(x;θ)f(x;\theta), where θ∈Θ⊆Rk\theta \in \Theta \subseteq \mathbb{R}^k is an unknown parameter (or parameter vector) belonging to the parameter space Θ\Theta. Given observed data x1,…,xnx_1,\dots,x_n, the likelihood function is

L(θ)=L(θ;x1,…,xn)=∏i=1nf(xi;θ),θ∈Θ,L(\theta) = L(\theta; x_1,\dots,x_n) = \prod_{i=1}^n f(x_i;\theta), \qquad \theta \in \Theta,

the joint density (or pmf) of the sample, viewed as a function of θ\theta with the data x1,…,xnx_1,\dots,x_n held fixed. The log-likelihood is ℓ(θ)=log⁡L(θ)=∑i=1nlog⁡f(xi;θ)\ell(\theta) = \log L(\theta) = \sum_{i=1}^n \log f(x_i;\theta), defined wherever L(θ)>0L(\theta) > 0. A maximum likelihood estimate is a value θ^=θ^(x1,…,xn)∈Θ\hat\theta = \hat\theta(x_1,\dots,x_n) \in \Theta satisfying

L(θ^)=sup⁡θ∈ΘL(θ).L(\hat\theta) = \sup_{\theta \in \Theta} L(\theta).

Replacing the fixed data x1,…,xnx_1,\dots,x_n by the random sample X1,…,XnX_1,\dots,X_n turns θ^\hat\theta into a random variable (a statistic), the maximum likelihood estimator (MLE). When Θ\Theta is an open subset of Rk\mathbb{R}^k and ℓ\ell is differentiable, the score function is S(θ)=∇θℓ(θ)S(\theta) = \nabla_\theta \ell(\theta) (or ℓ′(θ)\ell'(\theta) when k=1k=1), and the likelihood equation is S(θ)=0S(\theta) = 0.

Intuition

Think of L(θ)L(\theta) as a landscape whose height at each point θ\theta tells you how consistent that parameter value is with the data you actually recorded. Different candidate parameters make the observed sample more or less "typical" — a parameter far from the truth would make the observed sample a bizarre, low-probability fluke, while a well-chosen parameter makes the observed sample look ordinary. Maximum likelihood estimation simply climbs to the top of this landscape. Because L(θ)L(\theta) is a product of nn terms, each between 00 and 11 (for densities bounded appropriately, or pmf values), it tends to be an extremely small number that underflows numerically and is unpleasant to differentiate via the product rule. Taking logarithms converts the product into a sum without changing where the maximum occurs, since log⁡\log is strictly increasing. This is why one almost always maximizes ℓ(θ)=∑ilog⁡f(xi;θ)\ell(\theta) = \sum_i \log f(x_i;\theta) instead of L(θ)L(\theta) directly — same maximizer, vastly friendlier calculus. The score S(θ)=ℓ′(θ)S(\theta) = \ell'(\theta) measures the local slope of the log-likelihood. Where the score is positive, increasing θ\theta increases plausibility; where it is negative, decreasing θ\theta helps. A stationary point S(θ^)=0S(\hat\theta)=0 is a candidate summit — but one must check it is a maximum (via a second-derivative or global argument), and one must also check the true maximum is not hiding at a boundary of Θ\Theta, where the score need not vanish at all.

Figure
The log-likelihood surface for exponential data: a single interior peak where the score vanishes
λ ℓ(λ) λ̂ = 1/x̄ λ̂ S(λ) < 0 S(λ) > 0
TheoremFirst-order characterization of an interior MLE

Let X1,…,XnX_1,\dots,X_n be i.i.d. with density or pmf f(x;θ)f(x;\theta) for θ\theta in an open interval Θ⊆R\Theta \subseteq \mathbb{R}. Suppose: 1. (Support condition) The set {x:f(x;θ)>0}\{x : f(x;\theta) > 0\} does not depend on θ\theta. 2. (Smoothness) For every xx in this common support, θ↦log⁡f(x;θ)\theta \mapsto \log f(x;\theta) is twice continuously differentiable on Θ\Theta. 3. (Interior maximum) The log-likelihood ℓ(θ)=∑i=1nlog⁡f(xi;θ)\ell(\theta) = \sum_{i=1}^n \log f(x_i;\theta) attains its supremum over Θ\Theta at some point θ^\hat\theta lying in the interior of Θ\Theta (which holds automatically since Θ\Theta is open), and ℓ\ell is continuously differentiable in a neighborhood of θ^\hat\theta. Then θ^\hat\theta satisfies the likelihood equation

S(θ^)=ℓ′(θ^)=∑i=1n∂∂θlog⁡f(xi;θ^)=0.S(\hat\theta) = \ell'(\hat\theta) = \sum_{i=1}^n \frac{\partial}{\partial \theta}\log f(x_i;\hat\theta) = 0.

Conversely, if θ0\theta_0 is a stationary point of ℓ\ell (i.e. ℓ′(θ0)=0\ell'(\theta_0)=0) and ℓ′′(θ)≤0\ell''(\theta) \le 0 for all θ∈Θ\theta \in \Theta (global concavity), then θ0\theta_0 is a global maximizer of ℓ\ell, hence a maximum likelihood estimate.

Proof

We prove both directions; the technique is elementary single-variable calculus (Fermat's stationary-point condition and the concavity criterion), applied to the log-likelihood.

Direction 1 (necessity of the likelihood equation). By hypothesis, ℓ\ell is differentiable on an open neighborhood of θ^\hat\theta, and θ^\hat\theta maximizes ℓ\ell over Θ\Theta. Since Θ\Theta is open, θ^\hat\theta is an interior point of Θ\Theta, so there exists δ>0\delta>0 with (θ^−δ,θ^+δ)⊆Θ(\hat\theta-\delta,\hat\theta+\delta)\subseteq\Theta. Consider the one-variable function g(h)=ℓ(θ^+h)g(h) = \ell(\hat\theta + h) for h∈(−δ,δ)h \in (-\delta,\delta). Since θ^\hat\theta maximizes ℓ\ell over all of Θ\Theta, in particular g(h)≤g(0)g(h) \le g(0) for all such hh, i.e. gg has a local (indeed global, restricted to this interval) maximum at h=0h=0. By Fermat's theorem on stationary points (if a differentiable function of one real variable has a local extremum at an interior point of its domain, its derivative vanishes there), we conclude g′(0)=0g'(0) = 0. But g′(h)=ℓ′(θ^+h)g'(h) = \ell'(\hat\theta+h) by the chain rule, so g′(0)=ℓ′(θ^)g'(0) = \ell'(\hat\theta). Hence ℓ′(θ^)=0\ell'(\hat\theta) = 0, which is exactly the likelihood equation

∑i=1n∂∂θlog⁡f(xi;θ^)=0,\sum_{i=1}^n \frac{\partial}{\partial\theta}\log f(x_i;\hat\theta) = 0,

using linearity of differentiation applied to the finite sum defining ℓ\ell (justified since each term log⁡f(xi;θ)\log f(x_i;\theta) is differentiable by hypothesis 2, and a finite sum of differentiable functions is differentiable with derivative the sum of derivatives). This proves the forward direction. Note hypothesis 1 (constant support) is what guarantees ℓ\ell is actually differentiable in θ\theta near the true data-generating value in the first place — without it, f(xi;θ)f(x_i;\theta) could be identically zero for a whole side of θ\theta values, creating a non-smooth boundary effect (see the accompanying counterexample).

Direction 2 (sufficiency of stationarity plus global concavity). Suppose ℓ′(θ0)=0\ell'(\theta_0) = 0 and ℓ′′(θ)≤0\ell''(\theta) \le 0 for every θ∈Θ\theta \in \Theta. Concavity of ℓ\ell on the interval Θ\Theta follows from the standard second-derivative test for concavity: if a twice-differentiable function on an interval has nonpositive second derivative throughout, it is concave (this is proved by applying the mean value theorem twice — for any a<ba<b in Θ\Theta and t∈(0,1)t\in(0,1), write c=ta+(1−t)bc = ta+(1-t)b and compare ℓ(c)\ell(c) to the chord via Taylor's theorem with Lagrange remainder,

ℓ(b)=ℓ(c)+ℓ′(c)(b−c)+12ℓ′′(ξ1)(b−c)2,ℓ(a)=ℓ(c)+ℓ′(c)(a−c)+12ℓ′′(ξ2)(a−c)2,\ell(b) = \ell(c) + \ell'(c)(b-c) + \tfrac12 \ell''(\xi_1)(b-c)^2, \qquad \ell(a) = \ell(c) + \ell'(c)(a-c) + \tfrac12 \ell''(\xi_2)(a-c)^2,

for some ξ1\xi_1 between c,bc,b and ξ2\xi_2 between a,ca,c; since ℓ′′≤0\ell''\le 0 everywhere, both remainder terms are ≤0\le 0, and a weighted combination of the two displayed equations with weights (1−t),t(1-t), t recovers exactly the concavity inequality ℓ(ta+(1−t)b)≥tℓ(a)+(1−t)ℓ(b)\ell(ta+(1-t)b) \ge t\ell(a) + (1-t)\ell(b) after rearrangement). For a concave differentiable function on an interval, a stationary point is a global maximizer: indeed, for any θ∈Θ\theta \in \Theta, concavity gives

ℓ(θ)≤ℓ(θ0)+ℓ′(θ0)(θ−θ0)\ell(\theta) \le \ell(\theta_0) + \ell'(\theta_0)(\theta - \theta_0)

(this is the standard "concave functions lie below their tangent lines" inequality, itself a direct consequence of the mean value theorem applied between θ0\theta_0 and θ\theta together with ℓ′′≤0\ell'' \le 0 forcing ℓ′\ell' to be non-increasing). Substituting ℓ′(θ0)=0\ell'(\theta_0)=0 yields ℓ(θ)≤ℓ(θ0)\ell(\theta) \le \ell(\theta_0) for all θ∈Θ\theta \in \Theta. Hence θ0\theta_0 globally maximizes ℓ\ell over Θ\Theta, and since log⁡\log is a strictly increasing bijection from (0,∞)(0,\infty) to R\mathbb{R}, θ0\theta_0 also globally maximizes L(θ)=eℓ(θ)L(\theta) = e^{\ell(\theta)}. Thus θ0\theta_0 is a maximum likelihood estimate. ■\blacksquare

∎

Worked examples

Example 1: Exponential lifetimes (rate parameter, interior maximum). Suppose X1,…,XnX_1,\dots,X_n are i.i.d. Exponential(λ)\mathrm{Exponential}(\lambda) with density f(x;λ)=λe−λxf(x;\lambda) = \lambda e^{-\lambda x} for x>0x>0, λ>0\lambda>0, modeling the ten light-bulb lifetimes from the overview. Take asymmetric observed data (in hours): x=(2.1, 5.4, 1.0, 3.3, 7.8, 0.6, 4.5, 2.9, 6.1, 1.3)x = (2.1,\ 5.4,\ 1.0,\ 3.3,\ 7.8,\ 0.6,\ 4.5,\ 2.9,\ 6.1,\ 1.3), so n=10n=10 and ∑xi=35.0\sum x_i = 35.0. The likelihood is

L(λ)=∏i=110λe−λxi=λ10exp⁡ ⁣(−λ∑i=110xi)=λ10e−35.0 λ.L(\lambda) = \prod_{i=1}^{10} \lambda e^{-\lambda x_i} = \lambda^{10} \exp\!\left(-\lambda \sum_{i=1}^{10} x_i\right) = \lambda^{10} e^{-35.0\,\lambda}.

The log-likelihood is

ℓ(λ)=10log⁡λ−35.0 λ,λ>0.\ell(\lambda) = 10\log\lambda - 35.0\,\lambda, \qquad \lambda>0.

The support of f(⋅;λ)f(\cdot;\lambda) is (0,∞)(0,\infty) for every λ>0\lambda>0, satisfying the support condition; log⁡f(x;λ)=log⁡λ−λx\log f(x;\lambda) = \log\lambda - \lambda x is smooth in λ\lambda on (0,∞)(0,\infty), satisfying the smoothness condition; and Θ=(0,∞)\Theta = (0,\infty) is open. The score is

S(λ)=ℓ′(λ)=10λ−35.0.S(\lambda) = \ell'(\lambda) = \frac{10}{\lambda} - 35.0.

Setting S(λ)=0S(\lambda)=0 gives λ^=10/35.0=2/7≈0.2857\hat\lambda = 10/35.0 = 2/7 \approx 0.2857 per hour. Check the second derivative: ℓ′′(λ)=−10/λ2<0\ell''(\lambda) = -10/\lambda^2 < 0 for all λ>0\lambda>0, so ℓ\ell is (strictly) concave everywhere on Θ\Theta. By the theorem's converse direction, the unique stationary point λ^=2/7\hat\lambda = 2/7 is the global maximizer. In general, with sample mean xˉ=n−1∑xi\bar x = n^{-1}\sum x_i, the same computation gives λ^=1/xˉ\hat\lambda = 1/\bar x; here xˉ=3.5\bar x = 3.5 and indeed 1/3.5=2/71/3.5 = 2/7. The MLE of the rate is the reciprocal of the sample mean lifetime — matching the intuitive method-of-moments estimator, though the two need not always coincide in other models.

Example 2: Uniform(0,θ)(0,\theta) (boundary maximum, calculus does not apply). Suppose X1,…,XnX_1,\dots,X_n are i.i.d. Uniform(0,θ)\mathrm{Uniform}(0,\theta) with density

f(x;θ)=1θ 1{0≤x≤θ},θ>0.f(x;\theta) = \frac{1}{\theta}\,\mathbf{1}\{0 \le x \le \theta\}, \qquad \theta>0.

This model violates hypothesis 1 of the theorem: the support {x:f(x;θ)>0}=[0,θ]\{x: f(x;\theta)>0\} = [0,\theta] depends on θ\theta. So we cannot expect the likelihood equation to locate the maximum, and indeed it will not. Take asymmetric data x=(1.2, 4.7, 0.3, 3.9, 2.5)x = (1.2,\ 4.7,\ 0.3,\ 3.9,\ 2.5), so n=5n=5 and m:=max⁡ixi=4.7m := \max_i x_i = 4.7. The joint density is

L(θ)=∏i=151θ1{0≤xi≤θ}=1θ5 1{θ≥xi for all i}=1θ5 1{θ≥4.7}.L(\theta) = \prod_{i=1}^5 \frac{1}{\theta}\mathbf{1}\{0\le x_i \le \theta\} = \frac{1}{\theta^5}\,\mathbf{1}\{\theta \ge x_i \text{ for all } i\} = \frac{1}{\theta^5}\,\mathbf{1}\{\theta \ge 4.7\}.

For θ<4.7\theta < 4.7, L(θ)=0L(\theta) = 0 (the data point x=4.7x=4.7 is impossible under that θ\theta). For θ≥4.7\theta \ge 4.7, L(θ)=θ−5L(\theta) = \theta^{-5}, which is strictly decreasing in θ\theta — there is no interior stationary point since L′(θ)=−5θ−6≠0L'(\theta) = -5\theta^{-6} \ne 0 anywhere on (4.7,∞)(4.7,\infty). The maximum of LL over θ≥4.7\theta \ge 4.7 therefore occurs at the smallest admissible value, the left endpoint θ=4.7\theta = 4.7:

θ^=max⁡ixi=4.7.\hat\theta = \max_i x_i = 4.7.

This example shows explicitly why hypothesis 1 (constant support) is essential to the theorem: here the maximizer is found by direct inspection of the shape of LL (increasing on [0,m)[0,m) trivially — it is zero there — then strictly decreasing on [m,∞)[m,\infty)), not by solving a likelihood equation, since ℓ\ell is not even differentiable at the maximizing point θ^=m\hat\theta=m.

CounterexampleDropping the constant-support hypothesis breaks the likelihood-equation characterization

The uniform example above is precisely the counterexample to the theorem's necessity direction when hypothesis 1 fails. Formally: let X1,…,Xn∼Uniform(0,θ)X_1,\dots,X_n \sim \mathrm{Uniform}(0,\theta), Θ=(0,∞)\Theta = (0,\infty) open, and let M=max⁡iXiM = \max_i X_i. The support [0,θ][0,\theta] depends on θ\theta, so hypothesis 1 fails. The MLE is θ^=M\hat\theta = M, as shown above. Yet at θ=M\theta = M, the log-likelihood ℓ(θ)=−nlog⁡θ\ell(\theta) = -n\log\theta for θ≥M\theta \ge M (and ℓ(θ)=−∞\ell(\theta)=-\infty for θ<M\theta<M) is not differentiable at θ=M\theta=M: its one-sided derivative from the right is ℓ′(M+)=−n/M≠0\ell'(M^+) = -n/M \ne 0, and there is no meaningful left derivative since ℓ=−∞\ell = -\infty there. So the likelihood equation ℓ′(θ^)=0\ell'(\hat\theta)=0 fails to hold at the true MLE — the conclusion of the theorem's forward direction is false once hypothesis 1 is dropped. This is the archetypal warning that calculus-based ("solve S(θ)=0S(\theta)=0") maximum likelihood only works when the support of the model does not shift with θ\theta; whenever the parameter defines a boundary of the sample space (uniform, and more generally any Uniform(θ1,θ2)\mathrm{Uniform}(\theta_1,\theta_2) or truncated/support-varying family), one must maximize LL by direct case analysis instead.

Scope, edge cases & common traps

SituationWhat happensWhat to do
Smooth model, constant support, unique stationary point, ℓ\ell globally concaveLikelihood equation S(θ)=0S(\theta)=0 gives the unique MLESolve S(θ)=0S(\theta)=0, confirm via ℓ′′≤0\ell''\le0 or a direct check
Support depends on θ\theta (e.g. Uniform(0,θ)(0,\theta))MLE often at a boundary/order statistic; score may not vanish thereInspect L(θ)L(\theta) directly as a function of θ\theta; do not blindly differentiate
Multiple stationary points / non-concave ℓ\ellSome stationary points are local maxima, minima, or saddle pointsCompare ℓ\ell values at all stationary points and at boundary/limits
Non-identifiable model (distinct θ\theta give identical distributions)MLE is not unique, or not even well-defined as a pointReparametrize to restore identifiability before maximizing
Discrete parameter spaceDerivative-based method inapplicable; likelihood equation meaninglessCompare L(θ)L(\theta) across the (finite or countable) candidate values directly

The mathematician behind it

Origins · 1 minSir Ronald Aylmer Fisher and how this was discovered
SR
Sir Ronald Aylmer Fisher
1890–1962 · Rothamsted Experimental Station and University College London

Fisher formalized maximum likelihood estimation in the 1910s–1920s, coined the term "likelihood" to deliberately distinguish it from "probability," and proved its large-sample optimality properties that made it the dominant estimation paradigm in classical statistics. He also founded much of modern experimental design and analysis of variance, and introduced the concept of Fisher information that quantifies the precision achievable by an estimator — a concept that reappears in The Cramer-Rao Lower Bound.

History
- 1912: Fisher, as an undergraduate, first proposes maximizing the "probability of the observations" as a general estimation principle.
- 1922: Fisher's paper On the Mathematical Foundations of Theoretical Statistics introduces the term "likelihood," distinguishing it sharply from "probability," and lays out efficiency and consistency claims.
- 1925: Fisher develops the asymptotic variance theory linking the MLE to Fisher information, foreshadowing The Cramer-Rao Lower Bound.
- 1934–1946: Cramér and Rao independently derive the information inequality bounding the variance of unbiased estimators, formally connecting Fisher's efficiency claims to a provable lower bound.
- 1943–1949: Wald and Wilks develop rigorous asymptotic theory (consistency proofs, likelihood ratio tests) putting Fisher's heuristic optimality claims on firm measure-theoretic footing, feeding into Properties of MLEs and the Likelihood Ratio Tests.
What exactly is the difference between "likelihood" and "probability"?

Probability and likelihood use the same mathematical formula, f(x;θ)f(x;\theta), but hold different things fixed. Probability fixes the parameter θ\theta and treats xx as variable, answering "how likely is this outcome, given this parameter?" Likelihood fixes the observed data xx and treats θ\theta as variable, answering "how consistent is this parameter with the data I saw?" Consequently L(θ)L(\theta) is not a probability distribution over θ\theta: it need not integrate to 11 over Θ\Theta, and comparing L(θ1)L(\theta_1) to L(θ2)L(\theta_2) only tells you which parameter value makes the observed data relatively more plausible, not the probability that either value is "true."

Does the MLE always exist and is it always unique?

Neither is guaranteed in general. Existence can fail if the supremum of L(θ)L(\theta) over Θ\Theta is not attained (e.g. approached only as θ\theta tends to a boundary point excluded from Θ\Theta, or as θ→∞\theta\to\infty). Uniqueness can fail if ℓ\ell has multiple local maxima of equal height, or if the model is not identifiable (distinct parameters yield the same distribution). In well-behaved "regular" exponential-family models with an open parameter space, existence and uniqueness typically hold, but they must be checked, not assumed, exactly as illustrated by the difference between the concave exponential example and the boundary-maximum uniform example.

Why is the second-derivative check (concavity) needed, and is it always required?

A vanishing derivative alone only signals a stationary point — it could be a local max, local min, or saddle/inflection point. The theorem's converse direction uses global concavity (ℓ′′≤0\ell'' \le 0 everywhere) specifically to upgrade "stationary" to "global maximizer" in one clean step. If ℓ\ell is not globally concave, a milder local second-derivative test (ℓ′′(θ0)<0\ell''(\theta_0)<0) only certifies a local maximum, and one must separately verify no other stationary point or boundary behavior gives a higher likelihood value.

How does maximum likelihood relate to the method of moments?

Both are general recipes for constructing point estimators from data, but they use different information. Method of moments matches sample moments (mean, variance, etc.) to their theoretical counterparts and solves for θ\theta. Maximum likelihood instead uses the entire specified distributional form via the likelihood function. The two coincide in some models (e.g. the exponential rate example above gives λ^=1/Xˉ\hat\lambda = 1/\bar X both ways) but differ in general; MLE typically has better asymptotic efficiency properties, discussed further under Properties of MLEs.

What is the "score function" used for, beyond just finding the MLE?

The score S(θ)=ℓ′(θ)S(\theta) = \ell'(\theta) is central to the entire asymptotic theory of likelihood-based inference, not just point estimation. Its variance, Var(S(θ))\mathrm{Var}(S(\theta)), defines the Fisher information I(θ)I(\theta), which governs the asymptotic variance of the MLE and appears directly in The Cramer-Rao Lower Bound. The score also underlies score tests (Rao's test) and the theory of efficient estimation, making it one of the pivotal objects connecting estimation and hypothesis testing.

Can maximum likelihood estimation be extended to multiple parameters?

Yes — when θ=(θ1,…,θk)\theta = (\theta_1,\dots,\theta_k) is a vector, the same idea applies: maximize ℓ(θ)\ell(\theta) over Θ⊆Rk\Theta \subseteq \mathbb{R}^k. The score becomes the gradient vector ∇ℓ(θ)\nabla \ell(\theta), the likelihood equations become the system ∇ℓ(θ)=0\nabla\ell(\theta)=0, and the concavity check is replaced by requiring the Hessian matrix of second partial derivatives to be negative semi-definite. The underlying logic — stationarity plus a curvature condition implies a global maximum — carries over essentially unchanged, though solving the resulting system typically requires numerical methods like Newton–Raphson or Fisher scoring.

Why does the exponential example's MLE match the intuitive "reciprocal of the average lifetime" formula?

For the Exponential(λ\lambda) model, E[X]=1/λE[X] = 1/\lambda, so the true rate is the reciprocal of the true mean lifetime. The MLE calculation above derived λ^=1/Xˉ\hat\lambda = 1/\bar X purely from maximizing the likelihood, and it happens to coincide with "plug the sample mean into the population formula and invert" — this is a feature of the exponential family's simple structure, not a general law; in other models the MLE and such naive plug-in estimators can differ substantially.

Before this

Where this leads