Consistency
Study guides: VEE-MS, Exam MAS-I
Consistency is the property of an estimator that converges in probability to the parameter it estimates as the sample size grows. The condition for an estimator \hat{\theta}_n, computed from a sample of size n, to be consistent for a parameter \theta is
\lim_{n \to \infty} P\left(|\hat{\theta}_n - \theta| > \varepsilon\right) = 0
\varepsilonis any positive number. The limit must be 0 for every\varepsilon.
This is written \hat{\theta}_n \xrightarrow{p} \theta.
Losses are uniform on
(0, \theta). Is the largest lossX_a consistent estimator of\theta?
- The largest loss is never above
\theta, so it misses\thetaby more than\varepsilononly when every loss is below\theta - \varepsilon.- That probability is
P(X_{(n)} < \theta - \varepsilon) = (1 - \varepsilon/\theta)^n.- With
\varepsilon = 0.05\theta, it is0.95^{10} = 0.5987forn = 10and0.95^{100} = 0.0059forn = 100.- It goes to 0 as
ngrows for every\varepsilon > 0, soX_{(n)}is consistent for\theta.
Consistency from vanishing bias and variance
By Markov's inequality applied to (\hat{\theta}_n - \theta)^2, the probability that \hat{\theta}_n misses \theta by more than \varepsilon is at most
P\left(|\hat{\theta}_n - \theta| > \varepsilon\right) \le \frac{\text{MSE}(\hat{\theta}_n)}{\varepsilon^2}
\text{MSE}(\hat{\theta}_n)is the mean square error of\hat{\theta}_n, its variance plus its squared bias.
If the bias and the variance of \hat{\theta}_n both go to 0 as n grows, the mean square error goes to 0, and \hat{\theta}_n is consistent. An estimator that is biased for every n can therefore be consistent, as long as it is asymptotically unbiased and its variance goes to 0.
For a normal sample, is
\hat^2 = \frac\sum (X_i - \bar)^2a consistent estimator of\sigma^2?
- Its bias is
-\sigma^2/n, which goes to 0 asngrows.- Its variance is
2(n-1)\sigma^4/n^2, which also goes to 0.- Both go to 0, so
\hat{\sigma}^2is consistent for\sigma^2, although it is biased for everyn.
Consistency of a function of a consistent estimator
If \hat{\theta}_n is consistent for \theta and the function g is continuous at \theta, then
g(\hat{\theta}_n) \xrightarrow{p} g(\theta)
By the weak law of large numbers, the sample mean is consistent for the population mean. Continuous functions of the sample mean, and of other sample averages, are therefore consistent for the same functions of the population moments. The sample median is consistent for the population median when the density is positive there.
Losses are uniform on
(0, \theta). Are2\barand\sqrt\sum X_i^2}consistent estimators of\theta?
- The population mean is
\theta/2, so\bar{X} \xrightarrow{p} \theta/2and2\bar{X} \xrightarrow{p} \theta.- The population second moment is
E[X^2] = \theta^2/3, so\frac{1}{n}\sum X_i^2 \xrightarrow{p} \theta^2/3.- The function
u \mapsto \sqrt{3u}is continuous, so the second estimator converges in probability to\sqrt{\theta^2} = \theta.- Both estimators are consistent for
\theta.
Unbiased estimators that are not consistent
An unbiased estimator is consistent only if its distribution also concentrates around \theta as n grows. An estimator built from a fixed number of observations has the same distribution for every n, so it is not consistent.
Losses are uniform on
(0, \theta). The estimatorX_1 + X_2is unbiased for\theta. Is it consistent?
- The estimator uses the first two losses whatever the sample size, so its distribution does not change with
n.- With
\varepsilon = 0.1\theta, the probability that it misses\thetaby more than\varepsilonis0.9^2 = 0.81for everyn.- The probability does not go to 0, so
X_1 + X_2is not consistent.
Multiplying a consistent estimator by a factor that changes with
nA factor that depends onnis not a fixed continuous function, and it can destroy convergence. For a uniform sample,X_{(n)}is consistent for\theta, butX_{(n)}/(n+1)goes to 0 and(n+1)X_{(n)}grows without bound. A factor that goes to 1, such as(n+1)/n, keeps the estimator consistent.