Ramp-Up Mathematics: Stochastics Section 7
Section 7 · Part II: Extended notes

Point estimation

All definitions, theorems, proofs and examples appear here verbatim and with the same numbering as in the lecture notes. Shaded boxes marked Learning aid are supplements for practice: learning goals, interactive experiments and self-tests. Proofs are collapsed; “Step by step” reveals them one paragraph at a time.

7.1 Statistical models and observations

In applications, a statistical model often arises as follows. An experiment is described by a family \((\P_\vartheta)_{\vartheta\in\Theta}\) of probability measures on a common space \((\Omega,\F)\), and we observe a random vector \(\vect X=(X_1,\dots,X_n)^\top\) on it. Only the distributions \(\P_\vartheta\circ\vect X^{-1}\) of the observation matter for statistical inference, so we may work with the model \((\X,\F_{\X},\P_\vartheta\circ\vect X^{-1}\colon\vartheta\in\Theta)\) on the sample space \(\X\) of the observations; this is the setting of Definition 2.2. For \(n\) independent repetitions, we obtain the product model of Remark 2.3 (iii), in which the coordinate projections \(X_1,\dots,X_n\) are i.i.d. under every \(\P_\vartheta\).

Abbildung aus dem Skript

Figure 24. A statistical model as a family of distributions of an observation: the unknown measures \(\P_\vartheta\) on \((\Omega,\F)\) are pushed forward by the random vector \(\vect X\) to the measures \(\P_\vartheta\circ\vect X^{-1}\) on the sample space \(\X\), for instance \(\X=\R^n\); only the latter matter for inference.

7.2 Consistency and mean squared error

In Example 2.6, we compared two estimators by their behaviour as \(n\to\infty\) and by their variances. We now formalise these criteria. Let \((\X_n,\F_n,\P_{\vartheta}\colon\vartheta\in\Theta)\), \(n\in\N\), be a sequence of statistical models, for instance the \(n\)-fold product models of a fixed model, and let \(\tau\colon\Theta\to\R\) be a characteristic.

Definition 7.1 (Consistency and mean squared error)
  1. (i)

    A sequence of estimators \(T_n\colon\X_n\to\R\) for \(\tau\) is called consistent if \(T_n\to\tau(\vartheta)\) in \(\P_\vartheta\)-probability for every \(\vartheta\in\Theta\), that is, \(\P_\vartheta(|T_n-\tau(\vartheta)|>\varepsilon)\to0\) for all \(\varepsilon>0\).

  2. (ii)

    The mean squared error of an estimator \(T\) for \(\tau\) with \(\E_\vartheta[T^2]<\infty\) is \(\mathrm{MSE}_T(\vartheta)\coloneqq\E_\vartheta\big[(T-\tau(\vartheta))^2\big]\).

Proposition 7.2 (Bias–variance decomposition)

Let \(T\) be an estimator for \(\tau\) with \(\E_\vartheta[T^2]<\infty\) for all \(\vartheta\in\Theta\). Then \[\mathrm{MSE}_T(\vartheta)=\Var_\vartheta[T]+\Bias_T(\vartheta)^2\qquad\text{for all }\vartheta\in\Theta.\] If \(T_n\) are estimators with \(\mathrm{MSE}_{T_n}(\vartheta)\to0\) for all \(\vartheta\), then \((T_n)_{n\in\N}\) is consistent.

Proof

Expanding \((T-\E_\vartheta[T]+\Bias_T(\vartheta))^2\), the mixed term has expectation zero. The second claim is Theorem 5.2 (ii) with \(p=2\).

□
Example 7.3 (Estimators for uniform distributions, continued)

In Example 2.6, the estimator \(\tilde T_n=\max\{X_1,\dots,X_n\}\) has bias \(-\vartheta/(n+1)\), so \[\mathrm{MSE}_{\tilde T_n}(\vartheta)=\frac{n\vartheta^2}{(n+1)^2(n+2)}+\frac{\vartheta^2}{(n+1)^2}=\frac{2\vartheta^2}{(n+1)(n+2)}.\] This is larger than \(\mathrm{MSE}_{\tilde T_n^*}(\vartheta)=\vartheta^2/(n(n+2))\) for \(n\ge2\), but much smaller than \(\mathrm{MSE}_{T_n}(\vartheta)=\vartheta^2/(3n)\) for large \(n\). All three estimators are consistent by Proposition 7.2.

Proposition 7.4 (Consistency of mean and variance estimators)

In the real \(n\)-fold product models of Theorem 2.8 with \(\Var_\vartheta[X_1]<\infty\), the estimators \(M_n=\frac1n\sum_{i=1}^nX_i\) and \(V_n^*=\frac1{n-1}\sum_{i=1}^n(X_i-M_n)^2\) are consistent for \(m(\vartheta)\) and \(v(\vartheta)\), respectively.

Proof

Consistency of \(M_n\) is the weak law of large numbers (Theorem 5.7). Expanding the square gives \(V_n^*=\frac{n}{n-1}\big(\frac1n\sum_{i=1}^nX_i^2-M_n^2\big)\). By the strong law of large numbers (Theorem 5.8) applied to \(X_i\) and to \(X_i^2\), and by Theorem 5.2 (i), this converges in probability to \(\E_\vartheta[X_1^2]-m(\vartheta)^2=v(\vartheta)\).

□

7.3 Maximum-likelihood estimators in product models

In a product model, the likelihood function is a product, and the log-likelihood function is a sum.

Example 7.5 (Maximum-likelihood estimators)

Consider the real \(n\)-fold product model with the following distributions \(Q_\vartheta\), and let \(\vect x=(x_1,\dots,x_n)\) be an observation.

  1. (i)

    Normal distributions, \(Q_\vartheta=\Nor(\mu,\sigma^2)\) with \(\vartheta=(\mu,\sigma^2)\in\R\times(0,\infty)\). The log-likelihood function is \[\log\rho_{\vect x}(\mu,\sigma^2)=-\frac n2\log(2\pi\sigma^2)-\frac{1}{2\sigma^2}\sum_{i=1}^n(x_i-\mu)^2.\] For fixed \(\sigma^2\), it is maximal for \(\mu=M(\vect x)\), since \(\sum_i(x_i-\mu)^2=\sum_i(x_i-M(\vect x))^2+n(M(\vect x)-\mu)^2\). If the \(x_i\) are not all equal, an event of probability one, differentiation in \(\sigma^2\) then gives the maximum-likelihood estimators \[\hat\mu=M=\frac1n\sum_{i=1}^nX_i \qquad\text{and}\qquad \hat\sigma^2=\frac1n\sum_{i=1}^n(X_i-M)^2=\frac{n-1}{n}\,V^*.\] By Theorem 2.8, \(\hat\sigma^2\) is biased, with bias \(-\sigma^2/n\).

  2. (ii)

    Exponential distributions, \(Q_\lambda=\Exp_\lambda\) with \(\lambda\in(0,\infty)\). If \(\sum_ix_i>0\), an event of probability one, then \(\log\rho_{\vect x}(\lambda)=n\log\lambda-\lambda\sum_{i=1}^nx_i\) is maximal for \(\hat\lambda=1/M\).

  3. (iii)

    Uniform distributions, \(Q_\vartheta=\Unif_{[0,\vartheta]}\) with \(\vartheta\in(0,\infty)\), as in Example 2.6. For \(\vect x\in[0,\infty)^n\), the likelihood function \(\rho_{\vect x}(\vartheta)=\vartheta^{-n}\1\{\max_ix_i\le\vartheta\}\) vanishes for \(\vartheta<\max_ix_i\) and is decreasing on \([\max_ix_i,\infty)\). Hence \(\hat\vartheta=\tilde T_n=\max\{X_1,\dots,X_n\}\) is the maximum-likelihood estimator; it is biased, see Example 2.6. This example is not covered by differentiation, since the likelihood function jumps at its maximiser.

  4. (iv)

    Poisson distributions, \(Q_\lambda=\Poi_\lambda\) with \(\lambda\in[0,\infty)\), where \(\Poi_0\) is the point mass at \(0\). The log-likelihood function \(\big(\sum_ix_i\big)\log\lambda-n\lambda-\sum_i\log(x_i!)\) is maximal for \(\hat\lambda=M\).

Abbildung aus dem Skript

Figure 25. Likelihood function \(\rho_{\vect x}(\vartheta)=\vartheta^{-n}\1\{\max_ix_i\le\vartheta\}\) of the uniform model in Example 7.5 (iii) for \(n=5\) observations (orange crosses). It vanishes to the left of \(\max_ix_i\) and decreases to the right, so it is maximal at \(\hat\vartheta=\max_ix_i\).

7.4 Best estimators

By Proposition 7.2, the mean squared error of an unbiased estimator is its variance, which motivates Definition 2.11. Best estimators can often be identified with the following tools; see [Georgii2013,LehmannCasella1998]. The information inequality of Cramér and Rao gives, under regularity conditions, a lower bound for the variance of all unbiased estimators. An unbiased estimator that attains this bound is a best estimator; under regularity conditions, this happens only in one-parameter exponential families and for the characteristic \(\tau(\vartheta)=\E_\vartheta[T]\) of the canonical statistic \(T\), see Remark 2.12. For example, in the Gaussian product model with known variance, \(M\) is a best estimator for the mean, and in the Poisson product model, \(M\) is a best estimator for \(\lambda\).