Chapter 7: Introduction to Sampling Distributions

STAT101 - Introduction to Probability Theory and Statistics

A slide-deck replacement: sampling error, the Central Limit Theorem, and the sampling distributions of the mean and of a proportion — with full worked examples and exam drills.

Learning Outcomes

Outcome 1

Understand the concept of a sampling distribution and why sampling error occurs.

Outcome 2

Determine the mean and standard deviation for the sampling distribution of the sample mean x̄, and apply the Central Limit Theorem.

7.1 Sampling Error: What It Is and Why It Happens

Sampling Error

Sampling error is the difference between a measure computed from a sample (a statistic) and the corresponding measure computed from the population (a parameter). It happens purely because of which particular sample was randomly selected — it is not a mistake, and it is not the same thing as a non-sampling error (like a data-entry mistake, a biased survey question, or a broken measuring instrument, which ARE avoidable mistakes).

Sampling error for means: x̄ − μ
Sampling error for proportions: p̄ − p

Sampling error vs. non-sampling error

Sampling error is unavoidable and random — it exists purely because a sample is not the whole population. Non-sampling error comes from mistakes in the data collection process itself (bad wording, non-response bias, data entry errors, a broken scale) and CAN be avoided with better survey/experiment design. If an exam question asks "why did the sample mean differ from the population mean, assuming the survey was conducted correctly," the answer is sampling error.

Worked Example: Student Midterm Exam Scores

62 students took a midterm exam (this is the entire population of interest, N = 62). The population parameters are:

μ = ΣXᵢ / N = 4,429 / 62 = 71.43
σ = √( Σ(xᵢ − μ)² / N ) = √(17,498.88/62) = 16.80

A random sample of n = 5 scores is drawn: 100, 44, 55, 90, 75. The sample mean is x̄ = 72.80.

Sampling error = x̄ − μ = 72.80 − 71.43 = 1.37

A second random sample of n = 5 gives x̄ = 54.80.

Sampling error = 54.80 − 71.43 = −16.63

Answer / key insight: Just by chance, the two samples produced very different sampling errors (+1.37 vs. −16.63) even though both were drawn from the exact same population using the exact same procedure. The sampling error depends entirely on which specific sample happens to get selected — it can be small or large, positive or negative.

What happens with many, many samples? (the big picture)

If you take 200 different random samples of n = 5 from this population and plot a histogram of the 200 sample means, you get a sampling distribution that is:

  • centered very close to the population mean (μ_x̄ ≈ 71.25, versus the true μ = 71.43),
  • less spread out than the population itself (σ_x̄ ≈ 7.91, versus the population σ = 16.80),
  • approximately bell-shaped / normal, even though the raw exam-score population distribution was NOT perfectly normal.

Increasing the sample size to n = 10 tightens the sampling distribution further: μ_x̄ ≈ 71.32 and σ_x̄ ≈ 5.12 — smaller spread than with n = 5. Larger samples produce sampling distributions with less variability.

7.2 Sampling Distribution of the Mean

Theorem 1

For any population, the average value of all possible sample means computed from all possible random samples of a given size equals the population mean:

μ_x̄ = μ

Theorem 2

For any population, the standard deviation of all possible sample means computed from all possible random samples of size n equals the population standard deviation divided by the square root of the sample size:

σ_x̄ = σ / √n

This quantity, σ/√n, is called the standard error of the mean — it is the standard deviation of the sampling distribution, NOT the standard deviation of the raw population.

Theorem 3

If a population is normally distributed with mean μ and standard deviation σ, the sampling distribution of x̄ is also exactly normally distributed, with mean μ_x̄ = μ and standard deviation σ_x̄ = σ/√n — for ANY sample size n, even small ones.

Theorem 4: The Central Limit Theorem (CLT) — the most important idea in this chapter

For simple random samples of n observations taken from a population with mean μ and standard deviation σ, regardless of the shape of the population's distribution, provided the sample size is sufficiently large, the distribution of the sample means x̄ is approximately normal with:

μ_x̄ = μ
σ_x̄ = σ / √n

The larger the sample size, the better the normal approximation. Even if the population is uniform, skewed, or otherwise strangely shaped, the sample means will pile up into a bell curve once n is big enough. This is why the CLT is so powerful: it lets us use the normal distribution's math (z-scores, standard normal table) for the sample mean even when we know nothing about the shape of the population it came from.

How large is "large enough"? (n ≥ 30 rule of thumb)

  • If the population is already quite symmetric, sample sizes as small as 2 or 3 can give an approximately normal sampling distribution.
  • If the population is highly skewed or irregularly shaped, a larger sample is needed before the CLT kicks in.
  • A safe, conservative rule used throughout this course: if n ≥ 30, treat the sampling distribution of x̄ as approximately normal — no matter what the population looks like.
  • If the population itself is already stated to be normal, you can use the normal-based z formula for ANY sample size, even n < 30 (that's Theorem 3, not the CLT).

z-score for a Sample Mean

z = (x̄ − μ) / (σ / √n)

Worked Example 1: French Fry Length — P(x̄ Exceeds a Value)

French fry length is normally distributed with mean μ = 4.0 inches and standard deviation σ = 1.0 inch. What is the probability that a random sample of n = 100 fries has a sample mean exceeding 4.10 inches?

Step 1 — compute the standard error: σ_x̄ = σ/√n = 1.0/√100 = 1.0/10 = 0.10

z = (x̄ − μ)/(σ/√n) = (4.10 − 4.0)/0.10 = 1.00

From the standard normal table: P(0 ≤ z ≤ 1.00) = 0.3413, so P(z > 1.00) = 0.5000 − 0.3413 = 0.1587.

Answer: P(x̄ > 4.10) = 0.1587, about 15.9%.

Worked Example 2: French Fry Length — P(x̄ Below a Value)

Same French fry population (μ = 4.0, σ = 1.0). What is the probability that the mean of a sample of n = 100 fries is less than 3.85 inches?

Standard error: σ_x̄ = σ/√n = 1.0/√100 = 1.0/10 = 0.10

z = (x̄ − μ)/(σ/√n) = (3.85 − 4.0)/0.10 = −1.50

From the standard normal table: P(0 ≥ z ≥ −1.50) = 0.4332, so P(z < −1.50) = 0.5000 − 0.4332 = 0.0668.

Answer: P(x̄ < 3.85) = 0.0668, about 6.68%.

THE most common CLT mistake: forgetting to divide by √n

When standardizing a sample mean, you must use the standard error σ/√n in the denominator of the z formula — NOT the raw population standard deviation σ by itself. Using z = (x̄ − μ)/σ instead of z = (x̄ − μ)/(σ/√n) is the single most common error on Chapter 7 exams. Always ask yourself: "am I working with one single observation x, or an average of a sample x̄?" If it's a sample mean, you divide σ by √n first.

How to tell a "sample mean" problem from a "single value" problem

Look at the wording: "the mean of a sample of n observations," "a random sample of size n," "the average of n items" → use σ/√n. If the question is about a single individual measurement ("one fry," "one student's score") with no sample/averaging language, you use the raw σ with no division by √n (that's an ordinary normal-distribution problem from an earlier chapter, not a sampling-distribution problem).

7.3 Sampling Distribution of a Proportion

Population Proportion vs. Sample Proportion

Population proportion (p): the fraction of values in a population that have a specific attribute of interest, p = X/N, where X = number in the population with the attribute, N = population size.

Sample proportion (p̄): the fraction of items in a sample that have the attribute of interest, p̄ = x/n, where x = number in the sample with the attribute, n = sample size.

The best estimate of the true population proportion p is p̄, the sample proportion. Any inference about how close p̄ is likely to be to the true p requires knowledge of the sampling distribution of p̄.

Sampling Distribution of p̄ (Normal Approximation)

For a sufficiently large sample size, the sampling distribution of the sample proportion p̄ is approximately normal, with:

μ_p̄ = p
σ_p̄ = √( p(1 − p) / n )

The rule of thumb for "sufficiently large" here is different from the CLT's n ≥ 30: for proportions, we require np ≥ 5 AND nq ≥ 5 (where q = 1 − p) before treating the sampling distribution of p̄ as approximately normal.

z-score for a Sample Proportion

z = (p̄ − p) / √( p(1 − p) / n )

Worked Example 1: Retail Debit Card Usage

Past records for a national retail chain show that the true proportion of customers who pay with a debit card is p = 0.60. A particular store samples n = 100 purchases and observes 48 debit-card users (p̄ = 0.48). What is the probability of a sample proportion of 0.48 or less, if the true population proportion really is 0.60?

Standard error: σ_p̄ = √( (0.60)(0.40)/100 ) = √0.0024 ≈ 0.049

z = (p̄ − p)/σ_p̄ = (0.48 − 0.60) / 0.049 = −0.77

From the standard normal table: P(0 ≥ z ≥ −0.77) = 0.2794, so P(z < −0.77) = 0.5000 − 0.2794 = 0.2206.

Answer: P(p̄ ≤ 0.48) = 0.2206, about 22.1%. So it's not extremely unusual (about a 1-in-4.5 chance) to see a sample proportion this low even when the true proportion is 0.60 — sampling error again at work.

Worked Example 2: Fraudulent Tax Returns

The IRS believes p = 0.15 (15%) of all taxpayers will have a fraudulent return filed in their name. In a random sample of n = 200 taxpayers, what is the probability that more than 40 of them will have had this experience?

First convert the count to a sample proportion: p̄ = x/n = 40/200 = 0.20. We want P(p̄ > 0.20).

μ_p̄ = p = 0.15
σ_p̄ = √( (0.15)(0.85)/200 ) = √(0.1275/200) = 0.025
z = (0.20 − 0.15) / 0.025 = 1.98

From the standard normal table: P(0 ≤ z ≤ 1.98) = 0.4761, so P(z > 1.98) = 0.5000 − 0.4761 = 0.0239.

Answer: P(p̄ > 0.20) = 0.0239, about 2.4%. It would be fairly unusual — only about a 2.4% chance — to see more than 40 out of 200 taxpayers affected if the true rate really is 15%.

How to tell "sample mean" problems apart from "sample proportion" problems

Clue in the wording Use...
"average length/weight/score/time," a continuous measurement, given μ and σ Sampling distribution of the mean (x̄, σ/√n)
"proportion/percentage/fraction who...", "x out of n have an attribute," given p (or p̄ = x/n) Sampling distribution of a proportion (p̄, √(p(1−p)/n))
Yes/no, success/failure, categorical attribute being counted Proportion
A numeric quantity that's averaged across the sample Mean

Common Mistakes with Proportions

  • Using σ/√n instead of √(p(1−p)/n). The two sampling distributions (mean vs. proportion) have different standard-error formulas — don't mix them up.
  • Using the population σ formula when the problem is really about a sample mean. Remember: whenever you standardize x̄, you divide the population σ by √n first — never plug the raw σ directly into z = (x̄−μ)/σ for a sample mean problem.
  • Forgetting to convert a raw count to a proportion. If given "x successes out of n," compute p̄ = x/n before doing anything else.
  • Skipping the np ≥ 5 and nq ≥ 5 check. If either condition fails, the normal approximation for p̄ is not reliable, and this should be flagged.

Pop Quiz: Chapter 7

1. Sampling error is best described as:

  • A mistake made while entering data
  • The natural difference between a sample statistic and the true population parameter, caused by which sample happened to be selected
  • An error caused by a poorly worded survey question
  • An error that only occurs with small sample sizes

2. According to the Central Limit Theorem, as the sample size n increases, the sampling distribution of x̄:

  • Becomes more skewed
  • Stays exactly the same shape as the population
  • Becomes approximately normal, regardless of the population's shape
  • Becomes impossible to analyze

3. What is the standard error of the sample mean, σ_x̄?

  • σ
  • σ × √n
  • σ / √n
  • σ / n

4. A population has σ = 20 and a sample of n = 25 is taken. What is the standard error of the mean?

  • 20
  • 4
  • 0.8
  • 500

5. The conservative rule-of-thumb sample size needed for the Central Limit Theorem to guarantee an approximately normal sampling distribution, regardless of population shape, is:

  • n ≥ 5
  • n ≥ 10
  • n ≥ 30
  • n ≥ 100

6. A student computes z = (x̄ − μ)/σ (without dividing by √n) for a sample-mean problem. What is wrong with this calculation?

  • Nothing — this is correct
  • The denominator should be the standard error σ/√n, not the raw population standard deviation σ
  • The numerator should be μ − x̄ instead
  • z-scores cannot be used for sample means

7. Which conditions must hold for the sampling distribution of a sample proportion p̄ to be approximately normal?

  • n ≥ 30 only
  • np ≥ 5 and nq ≥ 5
  • p = 0.5 exactly
  • The population must already be normal

8. What is the standard error of a sample proportion, σ_p̄?

  • p(1 − p)
  • √p / n
  • √( p(1 − p) / n )
  • p / √n

9. A problem states "60 out of 150 sampled customers preferred Brand A." Which sampling distribution applies, and what is p̄?

  • Sampling distribution of the mean; x̄ = 60
  • Sampling distribution of a proportion; p̄ = 60/150 = 0.40
  • Sampling distribution of the mean; x̄ = 0.40
  • Cannot be determined

Short Answer / Calculation Questions

10. A population of delivery times is normally distributed with μ = 30 minutes and σ = 8 minutes. Find the probability that the mean delivery time of a random sample of n = 16 deliveries is greater than 33 minutes.

Answer:

σ_x̄ = σ/√n = 8/√16 = 8/4 = 2

z = (33 − 30)/2 = 1.50

P(0 ≤ z ≤ 1.50) = 0.4332 (from standard normal table)

P(z > 1.50) = 0.5000 − 0.4332 = 0.0668

There is about a 6.68% chance the sample mean delivery time exceeds 33 minutes.

11. A machine fills bottles with a mean of μ = 500 mL and σ = 12 mL (population approximately normal). Find P(x̄ < 495) for a sample of n = 36 bottles.

Answer:

σ_x̄ = 12/√36 = 12/6 = 2

z = (495 − 500)/2 = −2.50

P(0 ≥ z ≥ −2.50) = 0.4938

P(z < −2.50) = 0.5000 − 0.4938 = 0.0062

Only about a 0.62% chance the sample mean fill is below 495 mL — this would be a red flag for the filling process.

12. A polling firm believes 45% of voters (p = 0.45) support a proposition. In a random sample of n = 120 voters, what is the probability that the sample proportion p̄ is between 0.40 and 0.50?

Answer:

Check conditions: np = 120(0.45) = 54 ≥ 5 and nq = 120(0.55) = 66 ≥ 5. OK to use normal approximation.

σ_p̄ = √( (0.45)(0.55)/120 ) = √(0.2475/120) = √0.0020625 ≈ 0.0454

z for p̄ = 0.40: (0.40 − 0.45)/0.0454 = −1.10

z for p̄ = 0.50: (0.50 − 0.45)/0.0454 = 1.10

P(−1.10 ≤ z ≤ 1.10) = 2 × P(0 ≤ z ≤ 1.10) = 2 × 0.3643 = 0.7286

There is about a 72.9% chance the sample proportion falls between 0.40 and 0.50.

Chapter 7 Formula Summary

Sampling error (mean): x̄ − μ
Sampling error (proportion): p̄ − p
μ_x̄ = μ
σ_x̄ = σ / √n (standard error of the mean)
z = (x̄ − μ) / (σ / √n)
μ_p̄ = p
σ_p̄ = √( p(1 − p) / n ) (standard error of the proportion)
z = (p̄ − p) / √( p(1 − p) / n )

Key Terms Glossary

Term Definition
Sampling error The difference between a sample statistic (x̄ or p̄) and the true population parameter (μ or p), occurring purely because of which sample was randomly selected.
Non-sampling error Error introduced by mistakes in data collection (bad wording, non-response, data entry errors), which is avoidable — unlike sampling error.
Sampling distribution The probability distribution of a sample statistic (like x̄ or p̄) across all possible random samples of a given size from the population.
Central Limit Theorem (CLT) For sufficiently large n, the sampling distribution of x̄ is approximately normal with mean μ and standard deviation σ/√n, regardless of the population's shape.
Standard error The standard deviation of a sampling distribution — σ/√n for the mean, or √(p(1−p)/n) for a proportion.