Skip to content
Glacius
StatisticsConcept reference

Estimators

An estimator is a data-dependent rule; an estimate is its numerical output for a realized sample.

On this page 8 sections
  1. Overview
  2. An estimator is a rule that turns a sample into a guess about a population quantity
  3. A fresh random sample can produce a new estimate
  4. For T(x,y)=max(x,y), choose the larger input
  5. A closer look
  6. Key takeaway
  7. Sources & further reading
  8. Concept connections
The same estimator T(x,y)=x+y maps samples (1,2) and (2,4) to estimates 3 and 6. The rule stays fixed while its output changes with the data. Positions are schematic.The same estimator T(x,y)=x+y maps samples (1,2) and (2,4) to estimates 3 and 6. The rule stays fixed while its output changes with the data. Positions are schematic.
Figure 1The same estimator T(x,y)=x+y maps samples (1,2) and (2,4) to estimates 3 and 6. The rule stays fixed while its output changes with the data. Positions are schematic.
Link to this figure ↗Download SVGDownload PNG

01An estimator is a rule that turns a sample into a guess about a population quantity#

An estimator is a rule that turns a sample into a guess about a population quantity. The rule exists before collecting data; an estimate is its particular numerical output afterward. Repeated samples can give different estimates even when the underlying population stays the same.

An estimator is a rule that maps sample data to a number used to estimate a population quantity. Before the data arrive, its output can vary. An estimate is the number obtained from the observed data.

Take the supplied rule T(x,y)=x+yT(x,y)=x+y. Possible data (1,2)(1,2) give 33; data (2,4)(2,4) give 66. The rule stays the same.

T(1,2)=3T(2,4)=6\begin{aligned}T(1,2)&=3\\T(2,4)&=6\end{aligned}

For a rule that averages two observations, the sample (2,6)(2,6) gives estimate 4 while (3,9)(3,9) gives 6. These are two outputs of the same estimator. Changing from a mean to a maximum would instead change the estimation rule and generally the population quantity it is suited to estimate.

For the supplied rule T(x,y)=(x+y)/2T(x,y)=(x+y)/2, add the two inputs and divide by 22. With observed inputs 2,62,6, the estimate is 44. It is fixed for those data.

Check your reasoning

Rule: T(x,y)=(x+y)/2. Observed (x,y)=(6,12). Estimator / estimate?

  1. ARule T; 9 fixed.
  2. BRule T; 18 fixed.
  3. CRule T; 9 varies.
Show answer and explanation
Rule T; 9 fixed.

Fixed data give 9.

02A fresh random sample can produce a new estimate#

A fresh random sample can produce a new estimate. Re-running a deterministic rule on the same saved data produces the same value. The unknown population target does not become equal to the estimate by definition.

Check your reasoning

Add the two readings. Saved: 2, 8. New random readings. What may change?

  1. ASaved 10 changes.
  2. BNew may differ; saved 10 fixed.
  3. CTarget must be 10.
Show answer and explanation
New may differ; saved 10 fixed.

Fresh data may differ.

03For T(x,y)=max(x,y), choose the larger input#

For T(x,y)=max(x,y)T(x,y)=\max(x,y), choose the larger input. For T(x,y)=xT(x,y)=x, choose the first. Any supplied deterministic rule has the same distinction: rule before evaluation, fixed number afterward.

Check your reasoning

Rule: T(x,y)=x. Observed (x,y)=(7,3). “7 remains random.” Repair.

  1. ARule T; 3 fixed.
  2. BRule T; 7 varies.
  3. CRule T; 7 fixed.
Show answer and explanation
Rule T; 7 fixed.

Fixed data give 7.

04A closer look#

When comparing ways to estimate a model’s average error, ask both what population quantity is targeted and how the rule varies across samples. A single close estimate does not establish that the method is unbiased or reliably accurate.

Key takeaway

Keep the reusable rule, the random sample and its fixed observed output distinct. Fresh data can yield another estimate.

  • Distinguish a rule from its realized estimate.

Sources & further reading

  1. [1]
    Pishro-Nik, Introduction to Probability, 8.1.1 Random SamplingPishro-Nik, Introduction to Probability · Book

Reference this concept

Link to this page, a section, or an individual figure.

Glacius. “Estimators.” Math behind ML. /learn/s-estimator