Educerie

Educerie · AP · Statistics

AP Statistics 4.1

Sampling Distributions for Sample Means

How can a sample of numerical measurements tell us about the mean of a whole population, and how sure can we be?

What you will learn

  • Know that the sampling distribution of the sample mean has mean mu and standard deviation sigma over the square root of n.
  • Understand when the sampling distribution of x-bar can be modeled as normal: a normal population, or n at least 30.
  • Know the randomization and 10% conditions and how to check them with numbers.
  • Understand how to interpret the mean, standard deviation and probabilities of x-bar in context.

You must be able to

  1. Calculate the mean and standard deviation of the sampling distribution of x-bar.
  2. Find a probability about a sample mean using a normal model with z.
  3. Justify the conditions for a normal model, using the numbers in the question.
  4. Interpret a probability about x-bar as a statement about all random samples of that size.
  5. Explain how sample size changes the spread of x-bar.
  6. State why a small sample from a skewed population gives no normal model.

In the exam. Section I multiple choice: find the standard deviation of a sample mean, a probability that a sample mean passes a value, or which condition lets you use a normal model. In Section II it sits inside inference questions (Q3 and Q4): you name the sampling distribution, check randomization, the 10% condition and the sample data condition, and use the standard error. Common slips are using σ\sigma instead of σ/n\sigma/\sqrt n, calling a sample under 30 too small for any normal model, and writing "the data are normal" when only the sample mean can be.

1One sample, many possible sample means

Suppose a clinic wants the mean waiting time of all its patients. It cannot time every visit, so it times a random sample. One sample gives xˉ=7.4\bar x=7.4 minutes. Another gives 8.98.9. Neither is wrong. Each is one draw from the sampling distribution.

Three distributions are easy to mix up:

  • The population distribution = every individual value, with mean μ\mu and standard deviation σ\sigma.
  • The sample data distribution = the nn values you actually collected, with mean xˉ\bar x and standard deviation ss.
  • The sampling distribution of xˉ\bar x = all the values xˉ\bar x could take over every possible sample of size nn.

The third one is never observed. You describe it with a rule, and the rule is the next section.

2Its mean and standard deviation

For a population with mean μ\mu and standard deviation σ\sigma, and sampled values that are independent, the formula sheet gives

μxˉ=μσxˉ=σnmean of the sample mean; standard deviation of the sample mean\mu_{\bar x}=\mu \qquad\qquad \sigma_{\bar x}=\frac{\sigma}{\sqrt n} \qquad \textcolor{#838c91}{\text{mean of the sample mean; standard deviation of the sample mean}}
  • Center. The sample mean is right on average. It does not lean high or low.
  • Spread. Larger samples vary less. The factor is n\sqrt n, not nn.

Look at the effect of the sample size when σ=6\sigma=6:

Sample size nn4936144
σxˉ=6/n\sigma_{\bar x}=6/\sqrt n3210.5

To halve the spread you need four times as many values. Going from 36 to 144 cuts σxˉ\sigma_{\bar x} from 1 to 0.5.

Notice the difference between two names. σxˉ\sigma_{\bar x} is the true standard deviation of the sampling distribution, and it needs σ\sigma. In practice σ\sigma is unknown, so from Topic 4.2 on you use the standard error SExˉ=s/nSE_{\bar x}=s/\sqrt n as the estimate. In 4.1 the question gives σ\sigma.

3When is the sampling distribution normal?

The shape depends on the population. There are two ways to justify a normal model.

  • A normal population. If the population distribution can be modeled by a normal distribution, then the sampling distribution of xˉ\bar x is normal for any sample size, even n=2n=2.
  • A large sample. If the population is not normal, the sampling distribution of xˉ\bar x is approximately normal when n≥30n\ge 30. This is the central limit theorem. If the population is extremely skewed, you may need a sample much larger than 30.

Figure 1 shows the second case. The gray curve is a right-skewed population of waiting times, with μ=8\mu=8 and σ=6\sigma=6. The teal curve is the sampling distribution of the mean of 36 times. It is nearly normal, centered at the same 8, and far narrower.

Figure 1. A right-skewed population with mean 8 and standard deviation 6, and, on the same axes, the much narrower, nearly normal curve for the sample mean of 36 values, centered at the same mean 8 4 8 12 16 20 24 0 density time (minutes) μ = 8 population of single times skewed right, σ = 6 sample means, n = 36 mean 8, SD 1
Figure 1 · A right-skewed population with mean 8 and standard deviation 6, and, on the same axes, the much narrower, nearly normal curve for the sample mean of 36 values, centered at the same mean 8

Read the figure in this order:

  • The two curves have the same center, μ=8\mu=8.
  • The population is spread over a wide range of single times. The sample means bunch near 8.
  • The skew of the population is gone from the teal curve. That is what a large nn does.

A small sample from a non-normal population gives you no justification. With n=12n=12 and a strongly skewed population, you cannot say xˉ\bar x is approximately normal. Say so, and do not use a normal model.

4The conditions

A normal model for xˉ\bar x needs three things. Check each one against the numbers in the question, and write the check.

  1. Randomization. The data come from a random sample. Without it, xˉ\bar x is not centered at μ\mu and the whole result fails.
  2. The 10% condition. When you sample without replacement, n≤0.10Nn\le 0.10N, where NN is the population size. That keeps the sampled values close to independent.
  3. Normality. The population is normal, or n≥30n\ge 30 (more for an extremely skewed population).

Example: a school with N=200N=200 students takes a random sample of 36 and wants to model the mean of the sample. Ten percent of 200 is 20, and 36>2036>20. The 10% condition fails, so the formula σ/n\sigma/\sqrt n overstates the spread. Had the school had 500 students, 36≤5036\le 50 and the condition would hold.

Example: the population is "all patients of a clinic that sees 4,000 patients a year", a random sample of 36 is taken, and the times are known to be right-skewed. Randomization holds. 36≤40036\le 400, so the 10% condition holds. 36≥3036\ge 30, so the normality condition holds. Each statement carries a number from the question; "it is random and big enough" earns nothing.

A common slip: the 10% condition is not the randomization condition. One is about how the sample was chosen, the other about how big it is next to the population.

5Worked example: a normal population

A machine fills cereal boxes. The contents are normally distributed with μ=502\mu=502 g and σ=6\sigma=6 g. A shopper buys 4 boxes, which you may treat as a random sample from a very large run.

Question. Compare the chance that one box holds under 500 g with the chance that the mean of 4 boxes is under 500 g.

For one box, z=500−5026=−0.33z=\dfrac{500-502}{6}=-0.33.

P(X<500)=P(Z<−0.33)=0.3694a single boxP(X<500)=P(Z<-0.33)=0.3694 \qquad \textcolor{#838c91}{\text{a single box}}

For the mean of 4 boxes, the population is normal, so xˉ\bar x is normal for any nn with

μxˉ=502σxˉ=64=3the spread of the mean is half that of one box\mu_{\bar x}=502 \qquad \sigma_{\bar x}=\frac{6}{\sqrt 4}=3 \qquad \textcolor{#838c91}{\text{the spread of the mean is half that of one box}}
z=500−5023=−0.67P(xˉ<500)=0.2525z=\frac{500-502}{3}=-0.67 \qquad P(\bar x<500)=0.2525

A single light box is common (about 37% of boxes). A mean of 4 below 500 g is less likely (about 25%), because averaging pulls values toward 502. The mean and the sample size gave the whole answer: no other data were needed.

6Worked example: a skewed population and a large sample

The clinic's waiting times are right-skewed, with μ=8\mu=8 minutes and σ=6\sigma=6 minutes. A random sample of 36 patients is timed. The clinic serves far more than 360 patients.

Question. Find the probability that the sample mean is more than 9 minutes.

  • Randomization. The 36 patients are a random sample.
  • 10% condition. The population is far more than 10 times 36, which is 360.
  • Normality. The population is skewed, but n=36≥30n=36\ge 30, so xˉ\bar x is approximately normal.
μxˉ=8σxˉ=636=1\mu_{\bar x}=8 \qquad \sigma_{\bar x}=\frac{6}{\sqrt{36}}=1
z=9−81=1.00P(xˉ>9)=1−0.8413=0.1587z=\frac{9-8}{1}=1.00 \qquad P(\bar x>9)=1-0.8413=0.1587

The probability is about 0.159. You must not answer with the population: individual waits above 9 minutes are far more common than this, because single values vary much more than means.

7Interpreting in context

The exam wants every number tied to the population and the sample size. Use this wording.

  • Mean. "The mean of the sampling distribution is 8 minutes. The sample mean waiting time, over all random samples of 36 patients from this clinic, averages 8 minutes."
  • Standard deviation. "The sample mean waiting time of 36 patients typically varies from the population mean of 8 minutes by about 1 minute."
  • Probability. "About 15.9% of all random samples of 36 patients from this clinic would have a mean waiting time over 9 minutes."

Each sentence names the context (waiting time, patients), the sample size, and the population. The word "all" matters: the probability is about all possible samples, not about the one you took.

Practice questions

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