1.6 Asymptotic distribution of the MLE

Here we examine the asymptotic properties of maximum likelihood estimators. But first let us recall some properties of the normal distribution, that will be used repeatedly in this chapter.

If \(X\sim \mathsf N(\mu,\sigma^2)\) then \(a+bX\) also has a normal distribution and \[\begin{align*} E[a+bX] &= a+bE[X] = a+b\mu,\\ \operatorname{Var}(a+bX) &= b^2\operatorname{Var}(X) = b^2\sigma^2. \end{align*}\] That is \(a+bX\sim \mathsf N(a+b\mu,b^2\sigma^2)\). In particular, \[ \frac{X-\mu}{\sigma} \sim \mathsf N(0,1). \] Now let us turn to the maximum likelhood estimators. To start, we imagine that we observe a random variable \(X\), from a parameterized distribution with density \(p_\theta\). Our discussion will also be valid if we have a discrete random variable with a probability function \(p_\theta\). Then we have a log-likelihood \(l_x(\theta):=\ln p_\theta(x)\). Here we will calculate the expected value and variance of the random variable \(l_X'(\theta):=\partial_\theta \ln p_\theta(X)\).

First note that since \[ \int p_\theta(x)\mathrm{d} x = 1, \] therefore \[ 0 = \partial_\theta \int p_\theta(x)\mathrm{d} x = \int \partial_\theta p_\theta(x)\mathrm{d} x = \int \partial_\theta (\ln p_\theta(x))p_\theta(x)\mathrm{d} x = \int l'_x(\theta) p_\theta(x)\mathrm{d} x = E[l_X'(\theta)]. \] This means,
\[ E[l_X'(\theta)] =0. \]

To find the variance, we instead consider, \[\begin{align*} 0 &= \partial^2_\theta \int p_\theta(x)\mathrm{d} x = \int \partial_\theta(l'_x(\theta) p_\theta(x))\mathrm{d} x =\int (l''_x(\theta) p_\theta(x) + (l'_x(\theta) )^2p_\theta(x))\mathrm{d} x \\ &= E[l''_X(\theta)] + E[(l'_X(\theta))^2]. \end{align*}\]

Therefore,
\[ \operatorname{Var}(l'_X(\theta)) = E[(l'_X(\theta))^2] = -E[l''_X(\theta)] =: I(\theta). \]

Here, \(I(\theta)\) is called the Fisher information. This calculation was for a sample \(X\) of size 1. If we have an independent sample of size \(n\), we define the log-likelihood as \[ l_n(\theta) = \sum_{i=1}^n l_{X_i}(\theta). \] Then we can also calculate \[\begin{align*} E[l'_n(\theta)] &= E[\partial_\theta \sum_{i=1}^n l_{X_i}(\theta)] =\sum_{i=1}^n E[\partial_\theta l_{X_i}(\theta)] = 0,\\ Var(l'_n(\theta)) &= Var(\partial_\theta \sum_{i=1}^n l_{X_i}(\theta)) = \sum_{i=1}^n Var(l_{X_i}'(\theta)) = n I(\theta) =:I_n(\theta). \end{align*}\]

Let us now recall the law of large numbers and the central limit theorem. They state that if \(X_1,\ldots X_n\) are iid random variables with mean \(\mu\) and finite variance \(\sigma^2\), then for large \(n\)

\[\begin{align*} \frac{1}{n}\sum_{i=1}^n X_i& \overset{asym.}{\sim} \mu,\\ \frac{1}{\sqrt{n}}\Big(\sum_{i=1}^n X_i-\mu\Big)& \overset{asym.}{\sim} \mathsf N(0,\sigma^2). \end{align*}\]

These asymptotic results in practice mean that we approximate the distribution of the left side with the right side if \(n\) is large. For example \[ P\left(\frac{1}{\sqrt{n}}\Big(\sum_{i=1}^n X_i-\mu\Big) \leq x \right) \approx P\left(\sigma Z\leq x \right), \] with \(Z\sim \mathsf N(0,1)\).

Since \(l'_n(\theta)\) is a sum of random variables \(l_{X_i}'(\theta)\), and we now know the expected value and variance, we can apply the law of large numbers and central limit theorem to get the following asymptotics:

\[\begin{align*} \frac{1}{n}l'_n(\theta) &\overset{asym.}{\sim} 0, \\ \frac{1}{\sqrt{n}}l'_n(\theta) &\overset{asym.}{\sim} \mathsf{N}(0,I(\theta)), \\ -\frac{1}{n}l''_n(\theta) &\overset{asym.}{\sim} I(\theta). \end{align*}\]

Now we are ready to find the asymptotic distribution of \(\hat\theta_n\). We make a first-order Taylor expansion of \(l_n'(\hat\theta_n)\) around \(\theta\),

\[ l'_n(\hat\theta_n) \approx l'_n(\theta) + (\hat\theta_n-\theta)l''_n(\theta). \]

Then use that \(l'_n(\hat\theta_n)=0\) and rewrite as

\[ \sqrt{n} (\hat\theta_n-\theta) \approx -\frac{l'_n(\theta)/\sqrt{n}}{l''_n(\theta)/n}. \] Now, using the above asymptotics we arrive at:
\[ \sqrt{n} (\hat\theta_n-\theta) \overset{asym.}{\sim} \frac{\mathsf N(0,I(\theta))}{I(\theta)} \overset{d}{=} \mathsf N(0,I^{-1}(\theta)). \]

In particular, this implies that \(\hat\theta_n - \theta \overset{asym.}{\sim } 0\), or in other words that \(\hat\theta_n\) is a consistent estimator of \(\theta\). One problem with the above is however that \(I(\theta)\) is often difficult to calculate. However \(-l''_n(\theta)/n=:\hat I(\theta)\) is a consistent estimator of \(I(\theta)\). Then we may also write:

\[ \sqrt{n \hat I(\theta)}(\hat\theta_n - \theta) \overset{asym.}{\sim} \mathsf N(0,1). \]

A further problem is that \(\theta\) is in general unknown. But since \(\hat\theta_n\) is consistent, we may simply replace \(\theta\) by \(\hat\theta_n\),

\[ \sqrt{n \hat I(\hat\theta_n)}(\hat\theta_n - \theta) \overset{asym.}{\sim} \mathsf N(0,1). \]

This is an amazing result. Without knowing in detail how \(\hat\theta\) is determined from the sample; perhaps from some numerical optimization, we can say what the large-sample distribution is. We can rewrite this as \[ \hat \theta_n \overset{asym.}{\sim} \mathsf N\left(\theta, \frac{1}{n \hat I(\hat\theta_n)}\right). \] Now let us apply this to the example of the exponential distribution. We had that \(\hat\lambda_n = 1/\bar t\). Further \[ l''(\lambda) = -\frac{1}{\lambda^2}. \] Thus, the Fisher information is simply \[ I(\lambda) = -E[l''_T(\lambda)] = \frac{1}{\lambda^2}. \] The asymptotic distribution of \(\hat \lambda_n\) is therefore: \[ \hat\lambda_n \approx \mathsf N\left(\lambda, \frac{\hat\lambda_n^2}{n} \right). \]