Biased and unbiased estimators
When using a sample statistic to estimate a population parameter, it matters whether that statistic tends to hit the target on average. An estimator that consistently overshoots or undershoots is called biased, while one that averages out to the true parameter is called unbiased.
Sample mean as an estimator of the population mean
Let be a random sample from a population with mean . The sample mean is defined as:
To check whether is unbiased for , we compute its expected value:
Solution:
Since , the sample mean is an unbiased estimator of the population mean.
Practice problems
Example 1:
Suppose we have a deck of cards with values and that random samples of size are taken with replacement. Find the population mean and the expected value of the sample mean in order to determine if the sample mean is a biased or an unbiased estimator of the population mean.
First, find the population mean:
Next, list all equally likely samples of size (with replacement) and compute each sample mean:
There are equally likely cases, so each has probability :
Solution:
Since , the sample mean is an unbiased estimator of the population mean.
Example 2:
The mayor of a city wants to estimate the average standardized test scores of high school students in the city. The city has three high schools: one public school, one private school, and one charter school. He randomly selects students from the private school and uses that sample mean to estimate the citywide average. Is this sample mean likely to be an unbiased or biased estimator of the population mean, and why? If biased, suggest at least one way the mayor could improve his approach.
The sample is drawn only from the private school, while the population includes students from all three schools. Students at the public and charter schools had no chance of being selected — a violation of the random sampling requirement needed for an unbiased estimator.
If private school students tend to score higher than students at other schools (due to differences in resources, tutoring access, or socioeconomic factors), then this sample will systematically overestimate the citywide mean.
To reduce bias, the mayor could:
- Take a simple random sample from the entire population of high school students, so every student has a chance of being selected.
- Use a stratified sample by drawing from each school in proportion to its enrollment, so the sample structure mirrors the population.
If the mayor has the resources, he could conduct a census of all students. In that case, the calculated mean is the true population parameter rather than an estimate, so the concept of bias does not apply.
Solution:
This sample mean is likely to be a biased estimator because only private school students were sampled, excluding the public and charter school populations entirely and creating a systematic tendency to overestimate the citywide mean.