Skip to main content

Someone wanted to learn this too, so Grasp built them a personal learning path.

You can keep exploring this one or create your own

Understanding Estimators: Properties and Definitions

Hello! Welcome to your next lesson on the theoretical foundations of AI.

In our last session, we explored the Law of Large Numbers (LLN) and the Central Limit Theorem (CLT). We saw that the sample mean, , not only converges to the true population mean (by the LLN) but also that its fluctuations around follow a normal distribution (by the CLT). In doing so, we informally described the sample mean as "unbiased" and "consistent."

Today, we will formalize these ideas. This lesson introduces the core concepts of statistical estimation. Your learning outcome is to define the concept of a statistical estimator and its properties (unbiasedness, consistency, and efficiency). Understanding these properties is crucial, as they provide the criteria we use to judge the quality of our machine learning models and statistical methods.

1. The Language of Estimation: Parameters, Estimators, and Estimates

Before we can evaluate estimators, we need to be precise about our terminology. In statistics, we distinguish between properties of the population (which are unknown) and quantities we calculate from our sample data.

A good starting point is this brief text, which lays out the essential vocabulary.

Chapter 12 Statistical Estimation | A First Course in ...

This section from 'A First Course in Probability and Statistics' clearly defines the foundational terms we will use throughout this module.

Please read the section titled '12.1 Vocabulary'. Focus on the distinction between a parameter, an estimator, and an estimate.

To summarize and build on that reading:

  • Population Parameter (): A fixed, but typically unknown, numerical characteristic of a population. Examples include the population mean (), population variance (), or the probability of success () in a Bernoulli trial.
  • Estimator (): A rule or function that tells us how to calculate an approximation of a parameter from the data in a random sample . Because it is a function of random variables, an estimator is itself a random variable. For example, the function is an estimator for the parameter .
  • Estimate: A specific value of an estimator calculated from a particular, observed sample. An estimate is a fixed number. If you collect data and find your sample mean is 10.5, then 10.5 is your estimate of .

In your past project on house price prediction, the true coefficients that relate square footage and location to price are the unknown parameters. The linear regression algorithm you used is the estimator. The specific coefficient values your model produced (e.g., "$150 per square foot") are the estimates.

2. Property 1: Unbiasedness

The first desirable property of an estimator is that it doesn't systematically over- or underestimate the true parameter. We want it to be correct "on average." This property is called unbiasedness.

The following video provides an excellent formal definition of an unbiased estimator and proves that the sample mean possesses this property.

What is an unbiased estimator? Proof sample mean is unbiased and why we divide by n-1 for sample var

This video from Stats4Everyone clearly defines what an unbiased estimator is and provides a rigorous proof for the sample mean.

Please watch the segment from 02:37 to 06:11. The first part (until 04:41) defines unbiasedness, and the second part provides the proof that the sample mean is an unbiased estimator of the population mean.

As you saw, an estimator is unbiased if its expected value is equal to the true parameter . The expectation is taken over the sampling distribution of the estimator (i.e., over all possible samples of size ).

Let's formalize the proof from the video that the sample mean, , is an unbiased estimator for the population mean, .
Given a random sample where for all :

Thus, we have proven that is an unbiased estimator of .

It is important to note that not all intuitive estimators are unbiased. For example, the estimator for population variance using a denominator of , , is a biased estimator of . It can be shown that , which systematically underestimates the true variance. This is precisely why the sample variance is defined with a denominator of .

3. Property 2: Consistency

An unbiased estimator is correct on average, but for any single sample, it might still be far from the true value. A consistent estimator is one that gets closer to the true parameter value as we collect more data.

This idea should sound familiar. It's the same concept of convergence in probability that we discussed in the last lesson with the Weak Law of Large Numbers.

Consistency of Estimators
This diagram illustrates consistency. As the sample size N increases, the sampling distribution of the estimator \(\hat{\theta}\) becomes more concentrated around the true parameter value \(\theta\), meaning the probability of getting an estimate far from the truth decreases.

Formally, an estimator is consistent if it converges in probability to :

Proving this directly from the definition can be complex. Fortunately, there is a set of sufficient conditions that are often easier to check. This next video will introduce these conditions and use them to prove the consistency of the sample mean.

Consistent Estimator

This video by Dr. Harish Garg defines consistency, presents the sufficient conditions for proving it, and applies them to the sample mean.

Please watch from 01:50 to 07:39. This covers the formal definition of consistency, the sufficient conditions for proving it, and a rigorous proof that the sample mean is a consistent estimator.

As the video explained, a sufficient (but not necessary) condition for an estimator to be consistent is that its bias and variance both approach zero as .

  1. Asymptotically Unbiased:
  2. Vanishing Variance:

Let's apply these conditions to the sample mean :

  1. We already proved it is unbiased: . This means it is also asymptotically unbiased since the limit is trivially .
  2. In the last lesson, we derived its variance: . Taking the limit:

Since both conditions are met, the sample mean is a consistent estimator of the population mean .

Test your understanding!

Consider two estimators for a parameter .

  • Estimator A is unbiased, but its variance stays constant at 0.5, regardless of the sample size .
  • Estimator B has a bias of , and its variance is .

Which of these estimators is consistent? Which is unbiased?

Show answer
  • Estimator A: It is unbiased by definition. However, its variance does not approach 0 as . Therefore, it is not consistent.
  • Estimator B: It is biased for any finite . However, its bias , so it is asymptotically unbiased. Its variance also approaches zero: . Since both sufficient conditions are met, Estimator B is consistent.

This shows that an estimator can be consistent without being unbiased for finite samples.

4. Property 3: Efficiency

Often, we may have several estimators that are both unbiased and consistent. How do we choose between them? Intuitively, we should prefer the estimator that is more "precise"—the one whose sampling distribution is more tightly packed around the true parameter. This concept is captured by efficiency.

An unbiased estimator is said to be more efficient than another unbiased estimator if its variance is smaller:

This leads to the idea of a "best" unbiased estimator: the Minimum Variance Unbiased Estimator (MVUE). But how can we know if an estimator has the minimum possible variance among all possible unbiased estimators?

The answer lies in a powerful result called the Cramér-Rao Lower Bound (CRLB). The CRLB provides a theoretical floor on the variance of any unbiased estimator.

This reading explains the concept of MVUE and introduces the CRLB.

Chapter 12 Statistical Estimation | A First Course in ...

This section introduces the concept of efficiency and the Cramér-Rao Lower Bound, which provides the mathematical tool to identify the most efficient estimators.

Please read section '12.2.2 Minimum Variance Unbiased Estimators'. Pay close attention to the definition of the Fisher Information and the statement of the Cramér-Rao Lower Bound.

As the text states, the Cramér-Rao Lower Bound establishes that for any unbiased estimator of a parameter , based on a sample of size , its variance must satisfy:

The term is the Fisher Information, which measures how much information a single observation provides about the parameter . It is defined as:

where is the probability density/mass function of the data.

An unbiased estimator that achieves this lower bound (i.e., its variance equals the CRLB) is called an efficient estimator, and it is the MVUE.

A Broader View: The Bias-Variance Tradeoff

Focusing solely on unbiasedness can sometimes be limiting. A slightly biased estimator might be preferable if its variance is drastically lower. This introduces the famous bias-variance tradeoff. A useful metric that combines both bias and variance is the Mean Squared Error (MSE).

The MSE of an estimator is defined as the expected squared difference between the estimator and the true parameter:

Crucially, the MSE can be decomposed into two components: the variance of the estimator and its squared bias. The derivation is as follows:

Let .

The first term is the definition of variance, . The middle term is zero because . The last term is since Bias is a constant. This gives the famous decomposition:

This equation is fundamental in machine learning. It tells us that an estimator's total error is a sum of its variance (how much the estimate varies from sample to sample) and its squared bias (how far off it is on average). Many advanced techniques, such as regularization in regression, intentionally introduce a small amount of bias to significantly reduce variance, thereby lowering the overall MSE.

Conclusion

Today, we have established a formal framework for evaluating statistical estimators. These concepts are the bedrock of statistical inference and model evaluation in machine learning.

Key Takeaways:

  • An estimator is a function of sample data used to approximate an unknown population parameter.
  • Unbiasedness means an estimator is correct on average ().
  • Consistency means an estimator converges to the true parameter as the sample size increases. This can be proven if the estimator is asymptotically unbiased and its variance vanishes.
  • Efficiency refers to the precision of an estimator. For unbiased estimators, the most efficient is the MVUE, which has the lowest possible variance, as defined by the Cramér-Rao Lower Bound.
  • The Mean Squared Error (MSE) provides a complete picture of an estimator's quality by combining its variance and bias.

Preview of the Next Lesson:
We now know the properties of a good estimator. But this begs the question: how do we find good estimators in the first place? In our next lesson, we will begin to answer that by deriving the Principle of Maximum Likelihood Estimation (MLE), a powerful and general method for constructing high-quality estimators for almost any statistical model.

Can't find a good explanation? Sign up and we'll make it for you

Sign up