Educerie

Educerie · AP · Statistics

AP Statistics 3.1

Estimators

How can a sample of a few hundred people tell us something reliable about thousands, and how sure can we be?

What you will learn

  • Understand the difference between a parameter and a statistic, and the symbols for each
  • Know that a sample statistic is a point estimator of the matching parameter
  • Understand that an estimator is unbiased when the center of its sampling distribution is the parameter
  • Know that a larger sample narrows the spread of an estimator but does not remove bias from the way the sample was chosen

You must be able to

  1. Justify that an estimator is or is not unbiased from the center of its sampling distribution
  2. State whether a biased estimator overestimates or underestimates
  3. Calculate a point estimate such as p-hat from a sample count
  4. Identify the parameter and the statistic in a described study
  5. Explain why a larger sample does not fix a biased sampling method
  6. Describe which distribution is meant: a population, one sample or a sampling distribution

In the exam. Section I multiple choice: a sentence or a dotplot of simulated statistics, and you decide whether the estimator is centered on the parameter. Section II: an inference question starts by naming the parameter and the statistic, and a design-critique part can ask why a sampling method makes the estimate too high or too low. The skills are justifying a claim from calculations (4.B) and calculating an estimate (3.D).

1Parameters and statistics

Inference starts with a population you cannot measure in full. So you measure a sample and use it to say something about the population.

Two pairs of symbols cover this unit.

DescribesParameter (population)Statistic (sample)
A proportion of "successes"ppp^\hat{p}, read "p-hat"
A mean of a quantitative variableμ\muxˉ\bar{x}, read "x-bar"

Unit 3 is about proportions, so pp and p^\hat{p} are the pair you will use all unit.

Success = whichever outcome the question is about. It need not be good news.

Example (invented): a town has 18,000 residents. The parameter is the proportion of all 18,000 who hold a library card. Call it pp. Nobody has counted them, so pp is unknown.

A statistic is computed from the sample alone:

p^=number of successes in the samplenthe sample proportion; n is the sample size\hat{p} = \frac{\text{number of successes in the sample}}{n} \qquad \textcolor{#838c91}{\text{the sample proportion; n is the sample size}}

Example (invented): the library surveys a random sample of 120 residents, and 78 hold a card.

p^=78120=0.65about 65% of the sample hold a card\hat{p} = \frac{78}{120} = 0.65 \qquad \textcolor{#838c91}{\text{about 65\% of the sample hold a card}}

The number 0.65 is the point estimate of pp. It is one number, a single best guess.

A sample statistic is a point estimator of the matching population parameter. The sample proportion p^\hat{p} is a point estimator of the population proportion pp.

2The same statistic, a different sample

Suppose the library repeats the survey with a new random sample of 120. The count will probably not be 78 again. It might be 71, or 84.

  • The parameter pp did not change. It is one fixed number.
  • The statistic p^\hat{p} changed, because a different set of people was chosen.

This is sampling variability. It is why one estimate cannot be trusted to equal the parameter.

If you could take every possible sample of size 120 and record each p^\hat{p}, you would get the sampling distribution of p^\hat{p}. It shows how the statistic behaves across samples. The rest of the unit works with that distribution.

Be exact about what each word means. The course description warns that students mix these up.

  • Population distribution: the values of the variable for everyone in the population.
  • Distribution of a sample: the values you collected.
  • Sampling distribution: the values of a statistic, one per possible sample.

"Larger samples have less variability" is a vague sentence. It is false for the values inside a sample. It is true for the sampling distribution of a statistic. Always say which one you mean.

3What "unbiased" means

An estimator is unbiased if, on average, it neither overestimates nor underestimates the parameter. Put another way, the center (mean) of its sampling distribution is the parameter.

An estimator that is biased has a sampling distribution centered somewhere other than the parameter. It misses in one direction, again and again.

Unbiased does not mean that every estimate is correct. Individual estimates miss both ways. It means the misses balance out.

Think of a scale that reads 2 kg too high every time you weigh something. The readings are steady, but they are all wrong in the same direction. That scale is biased. A scale that reads 1 kg high on some days and 1 kg low on others, balanced, is unbiased even though no single reading is exact.

4Seeing it in a sampling distribution

Figure 1 shows two simulations. Each one drew 4,000 random samples and recorded an estimate from every sample.

Figure 1. Two simulated sampling distributions. Left: 4,000 sample proportions from samples of 50 from a population with p = 0.40; the bars are centred on 0.40, so the sample proportion is unbiased. Right: 4,000 sample maximums from samples of 10 tickets numbered 1 to 200; every bar sits at or below 200 and the average is about 183, so the sample maximum is biased low Sample proportion, samples of 50 0.2 0.3 0.4 0.5 0.6 sample proportion p = 0.40 Figure 1. Two simulated sampling distributions. Left: 4,000 sample proportions from samples of 50 from a population with p = 0.40; the bars are centred on 0.40, so the sample proportion is unbiased. Right: 4,000 sample maximums from samples of 10 tickets numbered 1 to 200; every bar sits at or below 200 and the average is about 183, so the sample maximum is biased low Sample maximum, samples of 10 tickets 100 120 140 160 180 200 sample maximum N = 200 average 183
Figure 1 · Two simulated sampling distributions: the sample proportion is centered on the parameter, the sample maximum sits below it

Left. Samples of 50 from a population with p=0.40p = 0.40. The 4,000 values of p^\hat{p} average 0.399. The bars are centered on the dashed line at 0.40.

  • The estimates vary, from about 0.2 to 0.6.
  • They are balanced on both sides of pp.
  • So p^\hat{p} is an unbiased estimator of pp.

Right. A box holds tickets numbered 1 to 200. A sample of 10 tickets is drawn, and the largest number is used to estimate the largest ticket in the box, N=200N = 200. The 4,000 sample maximums average about 183.

  • No sample maximum can ever be above 200. Most are below.
  • The bars lean left of the dashed line at 200.
  • So the sample maximum is a biased estimator, and it underestimates.

Reading a dotplot or histogram like this is the exam skill.

  1. Find where the true value of the parameter is marked.
  2. Find the center of the distribution of estimates.
  3. If the center is at the parameter, the estimator is unbiased.
  4. If the center is above it, the estimator overestimates. If below, it underestimates.

5Why p^\hat{p} is unbiased

The mean of the sampling distribution of p^\hat{p} equals pp. Topic 3.2 states this as

μp^=pthe mean of all possible sample proportions is the population proportion\mu_{\hat{p}} = p \qquad \textcolor{#838c91}{\text{the mean of all possible sample proportions is the population proportion}}

The sample proportion is the right tool for the job. It has no built-in lean.

The sample maximum fails for a reason you can see. The largest value in the box can only be found in a sample if it was drawn, and often it was not. So the sample's biggest value usually falls short of the population's biggest.

6Bias, variability and sample size

Two different things can be wrong with an estimator.

  • Bias is about the center of the sampling distribution. The estimates are off in one direction.
  • Variability is about the spread. The estimates scatter widely.

A larger sample reduces variability. The sampling distribution of p^\hat{p} gets narrower as nn grows (3.2). A larger sample does not cure bias.

Example (invented): a radio station asks listeners to phone in and say whether they like a new song. Those who phone in are mostly people with strong feelings. The proportion of "yes" calls is too high as an estimate for all listeners. Collecting 10,000 calls instead of 100 makes the estimate steadier. It stays too high.

The cause of that bias is the way the sample was chosen, not the formula. Here p^\hat{p} from a voluntary-response sample is a biased estimator of the population proportion. p^\hat{p} from a random sample is unbiased. Random selection (Unit 1) is what the whole unit rests on.

7Writing a justification

Skill 4.B asks you to justify a claim from the numbers. A justification has three parts.

  1. Name the parameter and where the sampling distribution is centered.
  2. Compare the two numbers.
  3. State the conclusion: unbiased, or biased with its direction.

Worked example (invented). A school wants to estimate pp, the proportion of its students who walk to school. Its true value is p=0.30p = 0.30. A statistician tries an estimator and simulates 1,000 estimates. They average 0.35.

  • The sampling distribution is centered at 0.35.
  • The parameter is 0.30.
  • So on average the estimator is 0.05 too high. It is biased, and it overestimates the proportion of students who walk.

Now a different simulated estimator averages 0.301 for the same school.

  • The center, 0.301, is almost exactly the parameter, 0.30.
  • The tiny difference is simulation noise.
  • So this estimator is unbiased, or very nearly so.

Do not say "it is unbiased because the estimates were close to 0.30". Close is not the test. The test is whether the average of the estimates equals the parameter. An unbiased estimator can still produce estimates that are far from the parameter if it is very variable.

Practice questions

30 questions on this note, from easy to hard. Each one you get right lights a star of this topic's constellation.