Actuarial Notes

Maximum Likelihood Estimation

Study guides: VEE-MS, Exam FAM, Exam ALTAM, Exam ASTAM, Exam MAS-I, Exam MAS-II, Exam ACIA-CAPSTONE

Maximum Likelihood Estimation is a method of parameter estimation that estimates a parameter \theta by the value \hat{\theta} that maximizes the probability of the observed sample. For independent observations x_1, \ldots, x_n from a distribution with pdf or pmf f(x \mid \theta), the likelihood function is

L(\theta) = \prod_{i=1}^{n} f(x_i \mid \theta)

The log-likelihood is

l(\theta) = \ln L(\theta) = \sum_{i=1}^{n} \ln f(x_i \mid \theta)

The logarithm is an increasing function, so L(\theta) and l(\theta) have their maximum at the same value \hat{\theta}, the maximum likelihood estimate. When the maximum is at a point where l(\theta) is differentiable, \hat{\theta} is the solution of

l'(\hat{\theta}) = 0

  • l'(\theta) is the score function, the first derivative of the log-likelihood with respect to \theta.

Five claim sizes are 2, 3, 5, 4 and 6. Claim sizes are exponential with mean \theta. What is the maximum likelihood estimate of \theta?

  • The exponential pdf is f(x \mid \theta) = \frac{1}{\theta}e^{-x/\theta}, so \ln f(x \mid \theta) = -\ln\theta - x/\theta.
  • The sum of the claim sizes is 20, so l(\theta) = -5\ln\theta - 20/\theta.
  • The score function is l'(\theta) = -5/\theta + 20/\theta^2.
  • Setting the score function to 0 gives \hat{\theta} = 20/5 = 4, the sample mean.

Maximum at a boundary

The maximum of L(\theta) can be at the edge of the values of \theta that the data allow, where the score function is not 0. For a sample from a uniform distribution on (0, \theta), the likelihood is \theta^{-n} when \theta is at least every observation, and 0 otherwise. The likelihood decreases in \theta, so the maximum likelihood estimate is the largest observation:

\hat{\theta} = X_{(n)}

  • X_{(n)} is the largest of the order statistics X_{(1)} \le \cdots \le X_{(n)}.

Five losses from a uniform distribution on (0, \theta) are 2, 7, 4, 9 and 3. What is the maximum likelihood estimate of \theta?

  • The likelihood is \theta^{-5} for \theta \ge 9 and 0 for \theta < 9.
  • \theta^{-5} decreases as \theta increases, so the likelihood is largest at the smallest allowed value.
  • The maximum likelihood estimate is \hat{\theta} = 9.

Invariance

If \hat{\theta} is the maximum likelihood estimate of \theta, then the maximum likelihood estimate of a function g(\theta) is

\widehat{g(\theta)} = g(\hat{\theta})

Claim sizes are exponential with mean \theta, and the maximum likelihood estimate of \theta is 4. What is the maximum likelihood estimate of the probability that a claim exceeds 10?

  • The probability that a claim exceeds 10 is g(\theta) = e^{-10/\theta}.
  • Its maximum likelihood estimate is g(4) = e^{-10/4} = 0.0821.

Likelihood for incomplete data

When the data are incomplete because of censoring or truncation, each observation contributes to the likelihood the probability of what was observed. With F(x) the cdf and S(x) = 1 - F(x) the survival function, the contributions are:

Observation Contribution to L(\theta)
exact value x f(x)
right-censored at u, known only to exceed u S(u)
known only to lie in the interval (a, b] F(b) - F(a)
exact value x, left-truncated at d f(x)/S(d)
right-censored at u, left-truncated at d S(u)/S(d)

Ground-up losses are exponential with mean \theta. Only losses above a deductible of 500 are reported, and a loss above 10,000 is recorded as 10,000. The five reported losses are 1,500, 2,500, 4,000, 10,000 and 10,000. What is the maximum likelihood estimate of \theta?

  • Each exact loss contributes f(x)/S(500) = \frac{1}{\theta}e^{-(x - 500)/\theta}.
  • Each loss recorded at 10,000 is right-censored and contributes S(10{,}000)/S(500) = e^{-9{,}500/\theta}.
  • The exact losses exceed 500 by 1,000, 2,000 and 3,500, and each censored loss is 9,500 above 500, a total of 25,500.
  • The log-likelihood is l(\theta) = -3\ln\theta - 25{,}500/\theta.
  • Setting l'(\theta) = -3/\theta + 25{,}500/\theta^2 to 0 gives \hat{\theta} = 25{,}500/3 = 8{,}500.

Properties of the maximum likelihood estimator

Under regularity conditions, which include that the support of f(x \mid \theta) does not depend on \theta, the maximum likelihood estimator is consistent. For a large sample it is approximately normal with mean \theta and variance 1/[nI(\theta)], where I(\theta) is the Fisher information. This variance is the Cramér-Rao lower bound, so the estimator is asymptotically efficient. The uniform distribution on (0, \theta) does not meet these conditions, because its support depends on \theta.

Maximum likelihood for a generalized linear model

The coefficients \beta_0, \ldots, \beta_p of a generalized linear model are maximum likelihood estimates. The log-likelihood is the sum of \ln f(y_i) under the response distribution, with each mean \mu_i given by g(\mu_i) = \eta_i. Statistical software maximizes it numerically.

Practice questions

Actuarial Notes