Lecture 16 Consistency of the MLE
In lecture 5 we have seen that the maximum likelihood estimator can be biased, that it may not be unique and that it may not even exist. The following two lectures present the results which, despite these problems, allow us to justify the use of the MLE: for large sample size the maximum likelihood estimator converges to the true parameter value, and does so with minimal spread. In this lecture we will prove the first of these two results, the consistency of the MLE, from a set of assumptions which we will explicitly state. The proof of the asymptotic normality in lecture 17 builds on these same assumptions and on the consistency result. The numerical aspects, concerning estimates and standard errors, will be discussed in lecture 18.
16.1 The Regularity Conditions
Throughout this and the following lectures, are i.i.d. with density or probability weights , the parameter is one-dimensional and the parameter space is an open interval. As in lecture 11, the log-likelihood is the sum of the terms , and for random data the are i.i.d. random variables. We write for the true parameter value, and and for probabilities and expectations under this value.
The large-sample results are true for most models of interest, but not for all of them. The following assumptions are what the theorems require.
The model satisfies the regularity conditions, if the following four statements hold.
-
(R1)
The parameter is identifiable in the sense of definition 4.10, i.e. different values of lead to different distributions.
-
(R2)
The support does not depend on .
-
(R3)
The conditions of section 11.1 hold, for every the function is three times continuously differentiable on , and the Fisher information of a single observation is a continuous function of with for all .
-
(R4)
For every there are a and a function such that and
The four conditions play different roles. Condition (R1) is needed for the question to make sense: if two parameter values give the same distribution, no estimator can converge to both. Condition (R2) excludes models like the uniform distribution from example 5.5, where the parameter moves the edge of the support and the likelihood jumps to zero. The arguments of this lecture fail for such models, as we will see in section 16.4. Condition (R3) is the smoothness needed to differentiate the log-likelihood. Since it includes the conditions of section 11.1, it also makes the two identities of lecture 11 available (lemma 11.1 and lemma 11.3),
Condition (R4), and the parts of (R3) beyond the differentiability of the likelihood, are not needed in this lecture. Condition (R4) controls the remainder term in the Taylor expansion in the proof of asymptotic normality in lecture 17, and it is listed here so that both lectures work from the same definition. Although the condition looks technical, it is usually easy to verify, because the third derivative of the log-likelihood is an explicit function of and ; exercise 16.1 does this for the exponential distribution.
The one-parameter models from tables 1.1 and 1.2, and the two-parameter models with one parameter held fixed (with known for the binomial distribution), satisfy the regularity conditions, with the exception of the uniform distribution. The same is true for the location model from section 5.3, despite the fact that the likelihood equation may have more than one solution. We will return to this problem in section 16.4.
16.2 Comparing the True Value with a Wrong Value
If is the true value, it seems natural that for a large sample the likelihood should be larger than for each fixed wrong value . This is the main step in the consistency proof, and thus we prove it first.
Let for , where, by (R2), the ratios are well defined and positive for all observations. Using logarithms and dividing by , we can rewrite the event as
The left-hand side is the sample mean of the i.i.d. random variables and by the law of large numbers, proposition A.14, converges in probability to . Therefore, we only need to show that is strictly negative: then on the event that the sample mean is non-negative, it differs from by at least , and by definition A.12 the probability of this event tends to zero.
To study the expectation , let , so that . Writing the expectation of as an integral over the common support, we can cancel the density and get
with a sum instead of an integral for a discrete model. Since has finite mean and the function is strictly convex on , we can use Jensen’s inequality, lemma A.7, to get
and the inequality is strict unless is constant with probability one. If were constant, we would have on the common support and, since both functions have integral one, this would imply , i.e. the two distributions would be the same, which (R1) excludes for . Thus the inequality is strict and we have . This completes the proof. ∎
The quantity from the proof is called the Kullback–Leibler divergence. The proof shows that, on average, each observation increases the log-likelihood of the truth by this positive amount, compared to the log-likelihood of the competitor ; the amount depends on . Note that the lemma compares with one fixed value at a time. It does not state that eventually exceeds for all at once, and it says nothing directly about the maximiser of the likelihood. In the next section we apply the lemma to the two fixed values and turn the result into a statement about the MLE.
16.3 Consistency
From definition 2.9 we know that an estimator is consistent for , if for all possible true values. In lecture 2 we have already seen how to prove consistency using the mean squared error. For the maximum likelihood estimator this approach is not feasible in general, because there is no general formula for the mean squared error. Instead, we will use the likelihood equation from lecture 5 to show that with probability tending to one there is a root of the equation which is close to . If we assume that the root is unique and is the MLE, it follows that the MLE is close to .
Suppose that the regularity conditions (R1), (R2) and (R3) hold and that, in addition, the following two statements hold.
-
1.
For all the log-likelihood ratio has finite expectation under .
-
2.
For every sample size and every sample whose observations lie in the common support from (R2), the likelihood equation has a unique root, and this root is the maximum likelihood estimator .
Then is a consistent estimator for .
Let the true value be and let be small enough that the closed interval is contained in the open set . Let and and consider the event
By the assumptions of the theorem, lemma 16.2 applies to both and , and thus the two events and have probability tending to zero. Since the complement of is the union of these two events, we find
as .
We now show that on the event the MLE is within of . Assume that the sample lies in . By (R3) the likelihood is a continuous function of , and a continuous function on a closed, bounded interval attains its maximum. Thus there is a point with for all . Since is larger than both and , the maximum is not attained at either end of the interval, i.e. we have . The function is differentiable and has a maximum at the interior point , and thus . Since the observations lie in the common support, we have , and thus is also a root of the likelihood equation . By assumption, this root is unique and equals the MLE, and thus . Since is in , we have shown that
Taking probabilities we find , i.e. as . At the start of the proof we restricted to small values, but this is no loss, since the probability is non-increasing in . Since was an arbitrary point of , this is the statement for every true value. This completes the proof. ∎
In the standard examples, the uniqueness of the root is typically proved by showing that the log-likelihood is strictly concave, as for the exponential distribution in example 5.2; exercise 16.1 carries out the argument for this model.
The assumption that the likelihood equation has a unique root for every sample is slightly stronger than required: the proof is unchanged if the condition only holds on an event with probability tending to one, since we can intersect with such an event. This covers the Bernoulli distribution of example 5.3, where the likelihood equation has no root when all observations are equal, an event of probability . It also covers the Poisson distribution, where the same happens when all observations are zero, an event of probability .
16.4 When the Assumptions Fail
We now look at what happens when the main hypotheses of theorem 16.3 fail. These are the cases where more care is needed in practice.
If the support of the model depends on the parameter, i.e. if (R2) fails, the likelihood is not a smooth function of and the MLE is typically not a root of the likelihood equation. For example, for the uniform distribution on , the MLE is the sample maximum, as shown in example 5.5, and the theorem does not apply in this case. Nevertheless, the estimator is consistent: the mean squared error of the estimator goes to zero as the sample size increases, as shown in exercise 2.2, and thus lemma 2.11 applies; exercise 16.3 gives a direct proof of the same fact. We have seen in lecture 13 that for this model the Cramér–Rao bound can be violated, and in lecture 17 we will see that the limiting distribution of the MLE is not normal.
If the likelihood equation has several roots, the regularity conditions may all hold and the theorem still does not apply, because we cannot identify the root found in the proof with the MLE; the location model of section 5.3 is of this type. What survives is this: under the other assumptions of the theorem, for each fixed , with probability tending to one there is a root within of . What is lost is the guarantee that the root we find, or the global maximiser, is this one. The practical consequence of this is that numerical maximisation of the likelihood should be started with a simple consistent estimator, so that the iteration converges to the nearby root. This is a lesson we will take up in lecture 18.
-
•
The regularity conditions (R1) to (R4) from definition 16.1 state that the parameter must be identifiable, the support of the model must not depend on , the log-likelihood must be three times differentiable with finite and positive Fisher information, and the third derivative of the log-likelihood must be bounded near each by a function with finite expectation.
-
•
For a fixed wrong value , the likelihood of the true value exceeds the likelihood of with probability tending to one. The proof uses the law of large numbers and Jensen’s inequality.
-
•
Under conditions (R1) to (R3), if the log-likelihood ratios have finite expectations and the likelihood equation has a unique root which is the MLE, then the MLE is consistent. The proof applies the lemma at and finds a maximum of the likelihood, and thus a root of the likelihood equation, between these two points.
-
•
The theorem does not apply if the support of the model depends on the parameter (since then the MLE is typically not a root of the likelihood equation, as for the uniform distribution, even though it may still be consistent), or if the likelihood equation has multiple roots (since then we only know that, with probability tending to one, there is a root near ).
Let be i.i.d. exponentially distributed with rate , i.e. for all .
-
1.
Show that the regularity conditions (R1) to (R4) hold for this model. Hint: For (R3) you can use the value from example 11.8 and the fact from lecture 11 that exponential families satisfy the conditions of section 11.1. For (R4) you should take derivatives of with respect to and then find a bound .
-
2.
Show that the likelihood equation has only one root for each sample with and that this root is the MLE. Use theorem 16.3 and the remark after its proof to conclude that is consistent for .
- 3.
Let be the only observation of a Bernoulli random variable with success probability , and let be another parameter value.
-
1.
Compute the expectation from the proof of lemma 16.2, as an explicit function of and .
-
2.
Using the inequality for , with equality only for , show that this expectation is negative for all .
Let be i.i.d. uniformly distributed on the interval and let be the MLE from example 5.5.
-
1.
Show that for we have and thus is consistent for .
-
2.
Which of the assumptions of theorem 16.3 are violated for this model? Why can the theorem not be applied in this case, despite the fact that the conclusion is still true?