Maximum-likelihood estimation

Database › Mathematics › Applied mathematics › Statistics

STAT-0002MethodUndergraduateEntrance exam

The maximum-likelihood estimate of a parameter is the value that makes the observed data most probable; for large samples it is unbiased and efficient, with variance given by the curvature of the log-likelihood.

$$L(\theta)=\prod_{i}f(x_i;\theta),\qquad\frac{\partial\ln L}{\partial\theta}\Big|_{\hat\theta}=0,\qquad\sigma_{\hat\theta}^2\approx\Big(-\frac{\partial^2\ln L}{\partial\theta^2}\Big)^{-1}_{\hat\theta}$$

Explanation

Working with $\ln L$ turns the product into a sum. Near its maximum $\ln L$ is approximately a parabola, so $L$ is Gaussian in $\theta$ and the width follows from the second derivative; $\ln L$ falling by $\frac12$ from its maximum marks the $1\sigma$ interval.

The Cramér–Rao bound says no unbiased estimator has variance below $1/(nI)$, with Fisher information $I=E[-\partial^2\ln f/\partial\theta^2]$; maximum likelihood attains it asymptotically. For Gaussian errors maximizing $L$ is the same as minimizing $\chi^2$, i.e. least squares.

Example 1

Four unstable particles are observed to decay after 2, 3, 5 and 10 s. Assuming $f(t)=\lambda e^{-\lambda t}$, find the maximum-likelihood estimate of $\lambda$ and its uncertainty.

Solution

$\ln L=n\ln\lambda-\lambda\sum t_i$, so $\hat\lambda=n/\sum t_i=4/20=0.2\ {\rm s^{-1}}$. $-\partial^2\ln L/\partial\lambda^2=n/\lambda^2$ gives $\sigma=\hat\lambda/\sqrt n=0.1\ {\rm s^{-1}}$.

Example 2

Measurements $x_i$ have Gaussian errors of known widths $\sigma_i$. Find the maximum-likelihood estimate of the true value and its error.

Solution

$\ln L=-\sum\frac{(x_i-\mu)^2}{2\sigma_i^2}+$ const, so $\hat\mu=\frac{\sum x_i/\sigma_i^2}{\sum1/\sigma_i^2}$ (weighted mean) with $\sigma_{\hat\mu}^2=1/\sum\sigma_i^{-2}$; for equal $\sigma$, $\bar x$ and $\sigma/\sqrt n$.

In graduate entrance exams

  • University of Tokyo, Graduate School of Science, Physics (MSc entrance exam), FY2003 (H15), Problem 5

Related entries