
Consistent estimator

In statistics, a consistent estimator or asymptotically consistent estimator is an estimator—a rule for computing estimates of a parameter "θ"0—having the property that as the number of data points used increases indefinitely, the resulting sequence of estimates converges in probability to "θ"0. This means that the distributions of the estimates become more and more concentrated near the true value of the parameter being estimated, so that the probability of the estimator being arbitrarily close to "θ"0 converges to one.
In practice one constructs an estimator as a function of an available sample of size "n", and then imagines being able to keep collecting data and expanding the sample "ad infinitum". In this way one would obtain a sequence of estimates indexed by "n", and consistency is a property of what occurs as the sample size “grows to infinity”. If the sequence of estimates can be mathematically shown to converge in probability to the true value "θ"0, it is called a consistent estimator; otherwise the estimator is said to be inconsistent.
Consistency as defined here is sometimes referred to as "weak consistency". When we replace convergence in probability with almost sure convergence, then the estimator is said to be "strongly consistent". Consistency is related to bias; see bias versus consistency.
Definition.
Formally speaking, an estimator "Tn" of parameter "θ" is said to be consistent, if it converges in probability to the true value of the parameter:
i.e. if, for all "ε" > 0
A more rigorous definition takes into account the fact that "θ" is actually unknown, and thus the convergence in probability must take place for every possible value of this parameter. Suppose } is a family of distributions (the parametric model), and } is an infinite sample from the distribution "pθ". Let { "Tn"("Xθ") } be a sequence of estimators for some parameter "g"("θ"). Usually "Tn" will be based on the first "n" observations of a sample. Then this sequence {"Tn"} is said to be (weakly) consistent if 
This definition uses "g"("θ") instead of simply "θ", because often one is interested in estimating a certain function or a sub-vector of the underlying parameter. In the next example we estimate the location parameter of the model, but not the scale:
Examples.
Sample mean of a normal random variable.
Suppose one has a sequence of observations {"X"1, "X"2, ...} from a normal "N"("μ", "σ"2) distribution. To estimate "μ" based on the first "n" observations, one can use the sample mean: "Tn" = ("X"1 + ... + "Xn")/"n". This defines a sequence of estimators, indexed by the sample size "n".
From the properties of the normal distribution, we know the sampling distribution of this statistic: "T""n" is itself normally distributed, with mean "μ" and variance "σ"2/"n". Equivalently, formula_4 has a standard normal distribution:
as "n" tends to infinity, for any fixed . Therefore, the sequence "Tn" of sample means is consistent for the population mean "μ" (recalling that formula_6 is the cumulative distribution of the normal distribution).
Establishing consistency.
The notion of asymptotic consistency is very close, almost synonymous to the notion of convergence in probability. As such, any theorem, lemma, or property which establishes convergence in probability may be used to prove the consistency. Many such tools exist:
the most common choice for function "h" being either the absolute value (in which case it is known as Markov inequality), or the quadratic function (respectively Chebyshev's inequality).
Bias versus consistency.
Unbiased but not consistent.
An estimator can be unbiased but not consistent. For example, for an iid sample {"x"..., "x"} one can use "T"("X") = "x" as the estimator of the mean E["x"]. Note that here the sampling distribution of "T" is the same as the underlying distribution (for any "n," as it ignores all points but the last), so E["T"("X")] = E["x"] and it is unbiased, but it does not converge to any value.
However, if a sequence of estimators is unbiased "and" converges to a value, then it is consistent, as it must converge to the correct value.
Biased but consistent.
Alternatively, an estimator can be biased but consistent. For example, if the mean is estimated by formula_11 it is biased, but as formula_12, it approaches the correct value, and so it is consistent.
Important examples include the sample variance and sample standard deviation. Without Bessel's correction (that is, when using the sample size formula_13 instead of the degrees of freedom formula_14), these are both negatively biased but consistent estimators. With the correction, the corrected sample variance is unbiased, while the corrected sample standard deviation is still biased, but less so, and both are still consistent: the correction factor converges to 1 as sample size grows.
Here is another example. Let formula_15 be a sequence of estimators for formula_16.
We can see that formula_18, formula_19, and the bias does not converge to zero.