STAT 200 · Statistics for Economics
Estimators: Bias and Precision
Judge the recipes that turn samples into guesses by their bias, their spread and their total error, with worked examples.
Key takeaways
- An estimator is a rule for computing a guess from data, and an estimate is the number it produces for one sample.
- Bias is the gap between an estimator's average result over many samples and the true value.
- Precision refers to how tightly the results cluster, and it is measured by the standard error.
- Mean squared error combines both problems: it equals variance plus bias squared.
- A large sample can shrink random error, but it cannot cure a bias built into the method.
Imagine two bathroom scales. You step on the first one five times and it reads 152, 148, 150, 153 and 147. The second reads 156.0, 156.1, 155.9, 156.0 and 156.0. Your true weight, confirmed at the doctor's office, is 150 pounds.
The first scale is jittery but centered on the truth. The second is beautifully consistent and consistently wrong. Which one would you rather own?
Statisticians face this choice all the time, except they usually do not get to visit the doctor. They have only the sample, and a recipe for turning it into a guess. This lesson is about judging the recipe.
Recipe and result
An estimator is a rule that tells you how to compute a guess about a population parameter from a sample. "Add up the values and divide by how many there are" is an estimator of the population mean. The estimate is the particular number you get when you apply the rule, such as 29 minutes.
Think of the estimator as a recipe and the estimate as tonight's soup. One bowl can turn out well by luck. A recipe is judged by what it does over many nights.
Because samples differ, an estimator is a random variable. It has its own distribution, which you met as the sampling distribution. Every quality we care about is a feature of that distribution.
Bias: is the aim off?
An estimator is unbiased if the center of its sampling distribution equals the true value. Its bias is the expected value of the estimator minus the truth:
Bias = E(estimator) − true value A positive bias means it tends to overshoot. A negative bias means it tends to undershoot. The second scale has a bias of about +6 pounds.
Unbiased does not mean right every time. It means that overshoots and undershoots balance in the long run. The first scale may read 153 on a given morning. It is still aimed correctly.
Under random sampling, the sample mean is an unbiased estimator of the population mean, and the sample proportion is an unbiased estimator of the population proportion. These facts depend on the method of collection. The same arithmetic applied to a self-selected crowd can be badly biased, as in sampling bias.
Precision: how much does it scatter?
Precision describes how close the results of an estimator tend to be to each other. You measure it with the standard error. Small standard error means high precision.
Precision and bias are separate. You can have any mixture:
A precise but biased result is the most dangerous kind, because it looks so trustworthy.
An estimator is more efficient than another unbiased one if it has a smaller variance for the same sample size. For data that really follow a normal distribution, the sample mean is more efficient than the sample median. For data with wild outliers, the median can be the steadier choice, as you saw with outliers.
Here is a silly but useful example. "Report only the first observation and ignore the rest" is an unbiased estimator of the mean. It also wastes nearly all your data. If individual values have a standard deviation of 20, this rule has a standard error of 20, while the mean of 25 observations has a standard error of 20 ÷ 5 = 4.
One score for total error
If one estimator is aimed well and another is steadier, how do you choose? A common score is the mean squared error, or MSE: the expected squared distance between the estimator and the truth. It splits neatly into two parts.
Because distances are squared, big misses count much more than small ones. The square root of MSE is in the original units and gives a feel for the typical miss.
Worked example: two ways to forecast demand
Picture Rosa, who owns a bakery and wants to estimate average daily demand for her sourdough. The true average, unknown to her, is 80 loaves. (We play the all-knowing narrator.)
Estimator A averages a few randomly chosen days. It is unbiased, with a standard error of 6 loaves.
Estimator B blends a larger set of records, but only from weekends. Its standard error is 3 loaves, and it runs 2 loaves high.
A: MSE = 6² + 0² = 36 typical miss = √36 = 6
B: MSE = 3² + 2² = 9 + 4 = 13 typical miss = √13 ≈ 3.6 By this score, B wins even though it is biased. A little bias bought a lot of steadiness.
Now suppose weekends really run 10 loaves high. Then B has MSE = 9 + 100 = 109, far worse than A.
Lower is better. A small bias can be worth it; a large one is ruinous. Hypothetical example: the numbers are made up to show the method, not a quote or an average.
The catch is that Rosa does not know the bias unless she checks against something trustworthy. A trial week of counting every day, weekdays included, would tell her a lot.
Gathering more data changes the two parts differently. Quadruple the sample and A's standard error falls from 6 to 3, so its MSE falls from 36 to 9. Quadruple B's weekend records and its standard error falls from 3 to 1.5, but with a bias of 2 its MSE only falls from 13 to 2.25 + 4 = 6.25. With enormous samples, B's MSE approaches 4 and stops there. A's keeps heading toward zero.
An estimator that closes in on the true value as the sample grows without limit is called consistent. A is consistent here. B, with its fixed bias, is not.
The curious case of n − 1
When you computed a sample variance, you divided by n − 1, not n. Now you can see why.
Take the sample 4, 6 and 8. The mean is 6. The squared distances are 4, 0 and 4, which add to 8. Dividing by n = 3 gives about 2.67. Dividing by n − 1 = 2 gives 4.
The sample mean is calculated from these same numbers, so it sits as close to them as any number can, in the squared-distance sense. Distances measured from it are therefore a bit too small compared with distances from the true population mean. Dividing by the smaller number n − 1 corrects that shortfall on average. With independent random observations, the n − 1 version is an unbiased estimator of the population variance. For large samples the two versions are nearly identical.
(A small footnote: taking the square root to get a standard deviation reintroduces a slight bias. It is usually minor, and almost everyone lives with it.)
Mean, median or trimmed mean?
Rosa also tracks the size of special catering orders. Last week there were five: $40, $45, $50, $55 and $810. The last one was a wedding.
| Estimator of a "typical" order | Calculation | Result |
|---|---|---|
| Mean | 1,000 ÷ 5 | $200 |
| Median | middle value | $50 |
| Trimmed mean | drop lowest and highest, average the rest | $50 |
A trimmed mean removes a set number of the most extreme values from each end before averaging. Here it gives (45 + 50 + 55) ÷ 3 = $50.
Which estimator is best? It depends on what Rosa wants to know. If she is forecasting total catering revenue, the mean matters, because weddings pay real money, and the median would badly understate the total. If she wants to describe the usual order, so she can design a menu around it, the median is far steadier. Replace the wedding with an $8,100 banquet and the median does not budge.
So decide on the target first, then choose the recipe. A very stable estimator of the wrong quantity is not a bargain. For a lopsided population, the sample median is generally a biased estimator of the population mean, however little it jumps around.
The same choice shows up in official statistics. Some measures of inflation trim away the largest price jumps and drops each month to reveal the steadier trend underneath. That can be useful for spotting direction, while the full index still describes what shoppers actually paid. See the consumer price index for how the full measure is built.
One warning: choose the rule before you see which answer it gives. If Rosa tries the mean, the median and three kinds of trimming, then reports whichever flatters her sales pitch, the properties you just studied no longer describe her procedure. The real recipe has become "pick the number I like," and that one is biased in a very predictable direction. Writing down the plan first, and showing the other results if they differ, keeps everyone honest, Rosa included.
The common mistake: confusing precision with truth
A report says average household spending on streaming is $47.32, with a tiny standard error. It sounds authoritative. But if the data came from users of a budgeting app, the true figure for all households could be quite different. The standard error measures only chance variation from sample to sample. It knows nothing about who was left out, how questions were worded or whether people told the truth.
Before trusting a precise number, ask:
- What exactly is it trying to estimate?
- Could the way the data were gathered push it up or down?
- How large is the standard error compared with the differences people care about?
- Has anyone checked it against an independent source?
Economists revise official estimates for related reasons. Early figures for things like gross domestic product rest on partial data, and later releases from the Bureau of Economic Analysis use more complete records. An early estimate trades some accuracy for speed.
Words to know
Estimator a rule for calculating a guess about a population value from sample data.
Estimate the number an estimator produces from one particular sample.
Bias the expected value of an estimator minus the true value it targets.
Precision how tightly an estimator's results cluster from sample to sample.
Mean squared error the expected squared miss, equal to variance plus bias squared.
Efficient estimator among unbiased estimators, one with smaller variance than the alternatives.
Consistent estimator one that closes in on the true value as the sample grows without limit.
Check yourself
- What is the difference between an estimator and an estimate?
- A scale reads on average 3 pounds high and has a standard error of 4 pounds. What is its mean squared error?
- For the sample 2, 4 and 9, compute the variance using n − 1.
- Individual values have a standard deviation of 20. What is the standard error of the mean of 100 observations?
- Explain why a very large sample cannot rescue a biased estimator.
Show the answers
- An estimator is the rule for computing a guess, and an estimate is the specific number the rule gives for one sample.
- MSE = 4² + 3² = 16 + 9 = 25, so the typical miss is 5 pounds.
- The mean is 5, the squared distances are 9, 1 and 16, which total 26, and 26 ÷ 2 = 13.
- SE = 20 ÷ √100 = 2.
- A larger sample reduces only the random scatter, so results cluster more tightly around a value that is still off by the bias.