Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Sampling Distributions and the Central Limit Theorem

Chapter 6 — Foundations of Inference (Part III)

1Why one sample is never the whole story

Here is a question that sounds simple and isn’t. In 2023, air-quality monitors across Kern County recorded 1,554 days of fine-particle pollution (PM2.5). The average daily PM2.5 across all of those monitor-days was 9.30 micrograms per cubic meter (µg/m³), with a standard deviation of 7.63 µg/m³ — a right-skewed record with calm clear days and a handful of nasty winter-inversion spikes (data/processed/kern_airquality.csv; see the codebook at data/codebooks/kern_airquality.md).

air <- read.csv("data/processed/kern_airquality.csv")
pm  <- subset(air, pollutant == "PM2.5")

c(n        = nrow(pm),
  mean_pm  = round(mean(pm$daily_mean), 4),
  sd_pm    = round(sd(pm$daily_mean),   4))
#>        n  mean_pm    sd_pm
#> 1554.0000   9.2956   7.6298

Now imagine you are a public-health analyst who can only afford to sample 10 days this year. You compute the average PM2.5 of your 10 days and report it. A second analyst samples a different 10 days and reports a different average. Neither of you is wrong, and neither of you got 9.30 exactly. So how far off is a 10-day average likely to be? Could one analyst report 6 and another report 13 from the same air?

That spread — how much a statistic like the sample mean bounces around from sample to sample — is the single most important idea in this whole book. Every confidence interval and every hypothesis test in the chapters ahead is built on it. This chapter teaches you to see that bounce by simulation first, then to predict it with a formula: the Central Limit Theorem (CLT).

2Learning objectives

By the end of this chapter you will be able to:

  1. Distinguish a population distribution, a sample distribution, and a sampling distribution of a statistic — three different things students constantly confuse.

  2. Build a sampling distribution by simulation in R and describe its center, spread, and shape.

  3. State the Central Limit Theorem and the standard-error formula for a mean and for a proportion, defining every symbol.

  4. Explain how sample size changes the spread of a sampling distribution (the n\sqrt{n} relationship).

  5. Judge whether the CLT conditions are met for a given statistic and sample size.

31. Three distributions, not one

3.1Intuition

The word “distribution” gets overloaded. Pull these three apart and most of the confusion in inference disappears.

The first two describe data values. The third describes a statistic. That is the whole trick.

3.2Formula (notation we’ll use all chapter)

Let the population have mean μ\mu (the Greek letter “mu,” the population average) and standard deviation σ\sigma (“sigma,” the population spread). We draw a sample of size nn (the number of observations in one sample) and compute the sample mean

xˉ  =  1ni=1nxi,\bar{x} \;=\; \frac{1}{n}\sum_{i=1}^{n} x_i ,

where xix_i is the ii-th observation in the sample and \sum means “add up.” A statistic is any number computed from a sample (here xˉ\bar{x}); a parameter is the corresponding number for the whole population (here μ\mu). The sampling distribution is the probability distribution of the statistic across all possible samples of size nn.

3.3R

We never observe the full sampling distribution in real life — we get one sample. But we can simulate it with mosaic: repeatedly draw a sample, compute the statistic, and watch it bounce. Two mosaic verbs do the whole job — resample() and do().

air <- read.csv("data/processed/kern_airquality.csv")
pm  <- subset(air, pollutant == "PM2.5")

# Treat the 1,554 PM2.5 days as the population; draw 5,000 samples of n = 10.
set.seed(2200)                                     # so your draws match the book
sd10 <- do(5000) * mean(~ daily_mean, data = resample(pm, 10))

Read that last line from the inside out: resample(pm, 10) draws 10 rows at random from the 1,554-day population, mean(~ daily_mean, data = ...) averages their PM2.5, and do(5000) * repeats the whole thing 5,000 times, stacking the results into a data frame with one column named mean. So sd10$mean is just “the mean column” — the same $-means-a-column idea from earlier chapters — holding the 5,000 simulated averages. set.seed(2200) fixes the random draws so your numbers match the book’s. We plot and summarize sd10 in the next section; for now, note that those 5,000 means center near the population mean 9.30, and their spread — the standard error — is the subject of Section 3.

42. Building a sampling distribution by simulation

4.1Intuition

A sampling distribution is a thought experiment — “what if I could sample over and over?” — that a computer can carry out for real. The recipe is always the same:

  1. Draw a sample of size nn from the population.

  2. Compute the statistic (here, the mean).

  3. Write it down.

  4. Repeat thousands of times.

  5. Make a histogram of all the written-down statistics.

That histogram is the (simulated) sampling distribution. The more repetitions, the smoother and more trustworthy the picture.

4.2Formula

If we run RR repetitions (we’ll use R=5000R = 5000) and the mean from repetition jj is xˉ(j)\bar{x}^{(j)}, the simulated standard error is just the standard deviation of those simulated means:

SE^  =  1R1j=1R(xˉ(j)xˉˉ)2,xˉˉ  =  1Rj=1Rxˉ(j),\widehat{SE} \;=\; \sqrt{\frac{1}{R-1}\sum_{j=1}^{R}\bigl(\bar{x}^{(j)} - \bar{\bar{x}}\bigr)^2}, \qquad \bar{\bar{x}} \;=\; \frac{1}{R}\sum_{j=1}^{R}\bar{x}^{(j)} ,

where xˉˉ\bar{\bar{x}} (“x double-bar”) is the average of all the simulated means and RR is the number of repetitions. In words: the standard error is the standard deviation of the statistic across samples.

4.3R

Let’s build and plot the sampling distribution of the mean for n=10n = 10 and read its shape.

set.seed(2200)
sd10 <- do(5000) * mean(~ daily_mean, data = resample(pm, 10))

# sd10$mean is the length-5000 vector of simulated means.
ggplot(data.frame(xbar = sd10$mean), aes(x = xbar)) +
  geom_histogram(bins = 40, fill = ok[1], colour = "white") +
  geom_vline(xintercept = mean(pm$daily_mean),
             colour = ok[4], linewidth = 1) +
  labs(x = "Sample mean PM2.5 (µg/m³), n = 10",
       y = "Number of simulated samples",
       title = "Sampling distribution of the mean (simulated, n = 10)") +
  theme_minimal(base_size = 12)
Histogram of 5,000 simulated sample means of daily PM2.5 for samples of size ten. The bars form a roughly symmetric mound centered just above nine micrograms per cubic meter, ranging from about four to sixteen, with a faint right tail. A vertical line marks the population mean at 9.30.

Simulated sampling distribution of the mean daily PM2.5 (µg/m³) for samples of n = 10 Kern County monitor-days, 5,000 repetitions. The distribution of the sample mean is roughly bell-shaped and centered near the population mean of 9.30 µg/m³, even though the underlying daily values are right-skewed.

Notice three things you should always check on a sampling distribution:

53. The Central Limit Theorem and the standard error

5.1Intuition

You don’t actually need a computer every time. There’s a remarkable fact: the spread of the sampling distribution of the mean is predictable from just the population spread and the sample size. Bigger samples give tighter sampling distributions, and they tighten in a specific way — proportional to 1/n1/\sqrt{n}, not 1/n1/n. Quadruple the sample size and you only halve the spread. That “diminishing returns” pattern is worth internalizing: precision is expensive.

The Central Limit Theorem adds a second gift: for a large enough nn, the sampling distribution of the mean is approximately normal, whatever the shape of the population. Skewed air data, lumpy survey data — average enough of it and the average behaves normally.

5.2Formula

The standard error of the mean (the standard deviation of the sampling distribution of xˉ\bar{x}) is

SE(xˉ)  =  σn,SE(\bar{x}) \;=\; \frac{\sigma}{\sqrt{n}},

where σ\sigma is the population standard deviation and nn is the sample size.

Why the square root, and not just nn? Because variances add, not standard deviations. When you average nn independent observations, the mean’s variance is the population variance divided by nn:

Var(xˉ)=σ2n.\operatorname{Var}(\bar{x}) = \frac{\sigma^2}{n}.

The standard error is the standard deviation of xˉ\bar{x}, which is the square root of that variance:

SE(xˉ)=Var(xˉ)=σ2n=σn.SE(\bar{x}) = \sqrt{\operatorname{Var}(\bar{x})} = \sqrt{\frac{\sigma^2}{n}} = \frac{\sigma}{\sqrt{n}}.

That lone \sqrt{\,} is the whole reason precision improves slowly: to halve the spread you must quadruple nn. The Central Limit Theorem states that as nn grows,

xˉ  approx  Normal ⁣(μ,  σn),\bar{x} \;\overset{\text{approx}}{\sim}\; \text{Normal}\!\left(\mu,\; \frac{\sigma}{\sqrt{n}}\right),

read “xˉ\bar{x} is approximately normally distributed with mean μ\mu and standard deviation σ/n\sigma/\sqrt{n}.” The symbol \sim means “is distributed as.” Three claims are bundled here: the sampling distribution is centered at μ\mu, has spread σ/n\sigma/\sqrt{n}, and is approximately normal for large nn.

For a proportion (a yes/no variable, like “did this day exceed a pollution threshold?”), the same logic gives

SE(p^)  =  p(1p)n,SE(\hat{p}) \;=\; \sqrt{\frac{p(1-p)}{n}},

where pp is the population proportion of “successes” and p^\hat{p} (“p-hat”) is the sample proportion. In plain words: this is the same idea as the mean’s standard error — it measures how much the sample proportion p^\hat{p} would bounce around from one sample of size nn to the next. Larger nn makes it smaller, just as before.

5.3R

The simulated standard error from Section 2 should match the CLT formula. Treat the 1,554 PM2.5 days as the population, so σ\sigma = sd(pm$daily_mean) = 7.63 µg/m³. For n=10n = 10:

SE(xˉ)=7.629810=2.4127 μg/m3.SE(\bar{x}) = \frac{7.6298}{\sqrt{10}} = 2.4127\ \mu\text{g/m}^3 .
sigma <- sd(pm$daily_mean)        # 7.6298 (dataset-derived)
n     <- 10

se_theory <- sigma / sqrt(n)
round(se_theory, 4)
#> [1] 2.4127

# The simulated SE is just the SD of the 5,000 simulated means in sd10$mean:
se_sim <- sd(~ mean, data = sd10)
round(c(simulated = se_sim, theoretical = se_theory), 4)
#>   simulated theoretical
#>      2.3862      2.4127   (agree within Monte Carlo noise)

The simulated standard error and the formula value agree to within simulation noise — the formula is just a shortcut for the picture.

64. How sample size sharpens the picture

6.1Intuition

Because SE=σ/nSE = \sigma/\sqrt{n}, the sampling distribution narrows as nn grows — but slowly. We can watch it happen: simulate sample means at several sample sizes from the same population and see the spread shrink. Here we deliberately pick a badly non-normal population — a right-skewed Exponential — to show that the CLT still pulls the mean toward a bell.

6.2R

# Draw from a right-skewed Exponential(1) population (sigma = 1) at four sample
# sizes, 2,000 sample means each. do() * mean(rexp(n)) is the same recipe as before.
set.seed(2200)
sim_at_n <- function(nn) data.frame(n = nn, xbar = (do(2000) * mean(rexp(nn)))$mean)
demo_draws <- rbind(sim_at_n(2), sim_at_n(5), sim_at_n(10), sim_at_n(50))

ggplot(demo_draws, aes(x = xbar)) +
  geom_histogram(bins = 35, fill = ok[1], colour = "white") +
  facet_wrap(~ n, labeller = label_both, scales = "free_y") +
  labs(x = "Sample mean (x-bar)", y = "Count of simulated samples",
       title = "CLT: the sampling distribution narrows and normalizes as n grows") +
  theme_minimal(base_size = 12)

# Per-n center (mean, near 1) and simulated standard error (the sd column):
favstats(xbar ~ n, data = demo_draws)
Four stacked histograms of simulated sample means from a right-skewed population, for sample sizes 2, 5, 10, and 50. At n equals 2 the histogram is wide and right-skewed; as the sample size increases the histograms become progressively narrower, taller, and more symmetric and bell-shaped, all centered near one.

Central Limit Theorem in action: the simulated sampling distribution of the mean for a right-skewed (exponential) population at four sample sizes. As n increases from 2 to 50, the distribution of the mean narrows and becomes more symmetric and bell-shaped.

The four panels above are fixed snapshots. Below is the same idea you can drive yourself: an interactive simulator with a sample-size slider. Drag it and watch the standard error σ/n\sigma/\sqrt{n} shrink the distribution in real time.

Loading...

Figure 1:Interactive Central Limit Theorem simulator — drag the sample size slider from n=2n=2 to n=100n=100. The histogram of 5,000 simulated sample means narrows toward the population mean (orange dashed line) as the standard error σ/n\sigma/\sqrt{n} (shown in the title) shrinks. The data are simulated with a fixed seed; the full kernel-free Plotly source lives on the CLT simulator page.

In the favstats() output the mean column stays near 1 (the exponential’s true mean) while the sd column — the simulated standard error — shrinks toward the theoretical σ/n\sigma/\sqrt{n} (here σ=1\sigma = 1, so 1/n1/\sqrt{n}): about 0.71,0.45,0.32,0.140.71, 0.45, 0.32, 0.14 as nn runs 2,5,10,502, 5, 10, 50. The same n\sqrt{n} law holds for any population. Concretely, for our PM2.5 population (σ=7.63\sigma = 7.63):

nnSE(xˉ)=σ/nSE(\bar{x}) = \sigma/\sqrt{n}
53.41 µg/m³
102.41 µg/m³
301.39 µg/m³
501.08 µg/m³
1000.76 µg/m³

(All values computed from kern_airquality.csv.) Going from n=10n=10 to n=40n=40 cuts the standard error exactly in half (2.411.212.41 \to 1.21), because 40/10=2\sqrt{40/10} = 2.

75. When does the CLT apply? Conditions

7.1Intuition

The CLT is an approximation, and approximations have fine print. Two conditions matter:

7.2Formula

For a proportion with population (or planning) proportion pp and sample size nn, require

np10andn(1p)10.np \ge 10 \quad\text{and}\quad n(1-p) \ge 10 .

These ensure the count of successes and the count of failures are both large enough for the normal approximation of p^\hat{p} to hold.

7.3R

Suppose “success” means a day’s PM2.5 exceeds 12 µg/m³ (the EPA Good/Moderate AQI boundary for daily PM2.5). In our population that happens on 23.81% of days (370 of 1,554 days, from kern_airquality.csv).

p <- mean(pm$daily_mean > 12)     # 0.2381 (dataset-derived)
round(p, 4)
#> [1] 0.2381

check_sf <- function(n, p) c(n = n, np = n * p, n1mp = n * (1 - p),
                             ok = (n * p >= 10) & (n * (1 - p) >= 10))
round(rbind(check_sf(30, p), check_sf(50, p)), 2)
#>  n   np  n1mp ok
#> 30 7.14 22.86  0   <- fails: np = 7.1 < 10
#> 50 11.9 38.10  1   <- passes

At n=30n = 30 the success–failure check fails (np=7.1<10np = 7.1 < 10): with a fairly rare event you need a bigger sample before p^\hat{p} is trustworthy as normal. At n=50n = 50 it passes.

8Worked examples

8.1Example 1 — Reading a sampling distribution (Kern PM2.5)

Intuition. A colleague will sample 10 Kern monitor-days and average their PM2.5. Before they do, predict how far that average is likely to land from the true mean of 9.30 µg/m³.

Formula. With population σ=7.63\sigma = 7.63 and n=10n = 10, SE(xˉ)=σ/nSE(\bar{x}) = \sigma/\sqrt{n}.

Computation.

sigma <- sd(pm$daily_mean)   # 7.6298
se10  <- sigma / sqrt(10)
round(se10, 4)
#> [1] 2.4127

Interpretation. The standard error is 2.41 µg/m³. By the CLT, a 10-day average is approximately Normal(9.30, 2.41). So a typical 10-day average lands within about ±2.41\pm 2.41 of 9.30 (roughly 6.9 to 11.7), and it is genuinely plausible for one analyst to report 7 and another 12 from the same air — that is sampling variability, not a mistake.

8.2Example 2 — The n\sqrt{n} law (Kern PM2.5)

Intuition. Your colleague wants the standard error half as big. How many days must they sample?

Formula. Halving SE=σ/nSE = \sigma/\sqrt{n} requires quadrupling nn, because SE1/nSE \propto 1/\sqrt{n}.

Computation.

se10 <- sigma / sqrt(10)
se40 <- sigma / sqrt(40)
round(c(n10 = se10, n40 = se40, ratio = se10 / se40), 4)
#> n10 = 2.4127 ; n40 = 1.2063 ; ratio = 2

Interpretation. Going from 10 to 40 days (4×) cuts the standard error from 2.41 to 1.21 µg/m³ — exactly half. Precision is expensive: each additional digit of accuracy costs a 100-fold increase in sample size.

8.3Example 3 — A proportion and the success–failure check (Kern PM2.5)

Intuition. Define a “high-particle day” as PM2.5 > 12 µg/m³. In the population, 23.81% of days qualify. If we sample n=50n = 50 days, how much will the sample proportion p^\hat{p} bounce, and is the normal approximation safe?

Formula. SE(p^)=p(1p)/nSE(\hat{p}) = \sqrt{p(1-p)/n}; check np10np \ge 10 and n(1p)10n(1-p) \ge 10.

Computation.

p  <- mean(pm$daily_mean > 12)   # 0.2381
n  <- 50
se <- sqrt(p * (1 - p) / n)
round(c(p = p, np = n * p, n1mp = n * (1 - p), SE = se), 4)
#> p = 0.2381 ; np = 11.905 ; n1mp = 38.095 ; SE = 0.0602

Interpretation. Both np=11.9np = 11.9 and n(1p)=38.1n(1-p) = 38.1 exceed 10, so the normal approximation is reasonable. The standard error of p^\hat{p} is 0.0602, about 6 percentage points: a 50-day sample’s “share of high-particle days” typically lands within about ±6\pm 6 points of the true 23.8%.

8.4Example 4 — Simulating a proportion’s sampling distribution (Kern PM2.5)

Intuition. Don’t trust the formula on faith — simulate it and compare.

Formula. Simulated SESE = SD of the simulated p^\hat{p} values; compare to p(1p)/n\sqrt{p(1-p)/n}.

Computation.

high_day <- factor(ifelse(pm$daily_mean > 12, "high", "ok"))
p <- mean(pm$daily_mean > 12)          # 0.2381 (dataset-derived)

set.seed(2200)
# Each rep: resample 50 days, then take the proportion that are "high".
sp <- do(5000) * mean(resample(high_day, 50) == "high")

se_sim    <- sd(~ mean, data = sp)
se_theory <- sqrt(p * (1 - p) / 50)
round(c(simulated = se_sim, theoretical = se_theory), 4)
#>  simulated theoretical
#>     0.0605      0.0602   (within Monte Carlo noise)

Interpretation. The theoretical SE(p^)=0.0602SE(\hat{p}) = 0.0602 matches the simulated spread closely, confirming the formula. The two methods are two views of the same truth: the formula is fast; the simulation is convincing.

8.5Example 5 — The CLT rescues a skewed population (NHANES)

Intuition. Adult-and-child height data are not bell-shaped — the nhanes_subset heights are left-skewed, because the sample includes young children whose heights pull a long lower tail. Does the sample mean of height still go normal anyway? Use the nhanes_subset teaching sample (a CDC NHANES teaching set — not survey-weighted, so it teaches the mechanics, not a population claim; see data/codebooks/nhanes_subset.md).

Formula. CLT: xˉNormal(μ,σ/n)\bar{x} \approx \text{Normal}(\mu, \sigma/\sqrt{n}) for large nn, regardless of population shape.

Computation.

nh <- read.csv("data/processed/nhanes_subset.csv")
height <- nh$height_cm[!is.na(nh$height_cm)]

set.seed(2200)
sd25 <- do(5000) * mean(resample(height, 25))

library(ggplot2)
p_pop <- ggplot(data.frame(h = height), aes(h)) +
  geom_histogram(bins = 40, fill = ok[2], colour = "white") +
  labs(x = "Individual height (cm)", y = "People",
       title = "Population: individual heights") +
  theme_minimal(base_size = 11)

p_samp <- ggplot(data.frame(xbar = sd25$mean), aes(xbar)) +
  geom_histogram(bins = 40, fill = ok[1], colour = "white") +
  labs(x = "Sample mean height (cm), n = 25", y = "Samples",
       title = "Sampling distribution of the mean") +
  theme_minimal(base_size = 11)

if (requireNamespace("patchwork", quietly = TRUE)) {
  patchwork::wrap_plots(p_pop, p_samp, ncol = 2)
} else {
  print(p_pop); print(p_samp)
}
Two panels. The left histogram of individual heights is broad and left-skewed, spanning roughly 80 to 200 centimeters with a long lower tail. The right histogram, of 5,000 sample means for samples of size twenty-five, is a narrow symmetric bell centered near 162 centimeters, illustrating that the mean is approximately normal even though the raw data are not.

Left: the left-skewed population of NHANES heights (cm), pooled across all ages. Right: the simulated sampling distribution of the mean height for n = 25, which is symmetric and bell-shaped — the Central Limit Theorem at work on a non-normal population.

Interpretation. The individual heights are not normal, but the sampling distribution of the mean at n=25n = 25 is a clean bell — exactly what the CLT promises. (Reference values from nhanes_subset.csv: mean height 161.88\approx 161.88 cm, SD 20.19\approx 20.19 cm, so the theoretical SESE at n=25n=25 is 20.19/25=4.0420.19/\sqrt{25} = 4.04 cm.)

9Try it

10Chapter summary

11FAQ

Q1. Is the standard error the same as the standard deviation? No, but they’re related. The standard deviation σ\sigma describes spread of the raw data. The standard error σ/n\sigma/\sqrt{n} describes spread of a statistic (the mean) across samples. The SE is always smaller than σ\sigma (for n>1n>1), because averaging reduces variability.

Q2. Does the Central Limit Theorem make my data normal? No. Your data keep whatever shape they have. The CLT is about the sample mean, which becomes approximately normal as nn grows even when the data are skewed.

Q3. What sample size is “large enough”? It depends on how skewed the population is. The familiar n30n \ge 30 rule works for mildly skewed data; heavily skewed data may need much more. For proportions, use the success–failure check (np10np \ge 10 and n(1p)10n(1-p)\ge 10) instead of a flat number.

Q4. Why n\sqrt{n} and not nn in the denominator? Because variances add and standard deviation is the square root of variance. The variance of xˉ\bar{x} is σ2/n\sigma^2/n, so its standard deviation — the standard error — is σ/n\sigma/\sqrt{n}. That square root is why precision improves only slowly with sample size.

Q5. In real life I have σ\sigma from where? Usually you don’t know σ\sigma exactly; you estimate it with the sample standard deviation ss. That substitution is precisely what leads to the tt-distribution in Chapter 10. In this chapter we treat the curated data as a known population so you can see the sampling distribution clearly.

Q6. Why simulate if there’s a formula? Two reasons. First, simulation builds intuition — you literally watch the bounce. Second, for statistics with no tidy formula (medians, trimmed means, correlations), simulation/bootstrapping is the only route, which you’ll use for confidence intervals in Chapter 7.

Q7. Does a bigger population mean a bigger standard error? No — the standard error depends on the sample size nn and the population spread σ\sigma, not the population size NN (as long as you sample a small fraction of it). A well-designed sample of 1,000 is about as precise for the U.S. as for a single city.

12Practice problems

For each problem, assume the curated datasets are loaded with read.csv(). Odd-numbered answers appear in the appendix; full worked solutions are in the instructor key.

  1. Define, in your own words, the difference between a sample distribution and a sampling distribution. Give an example of each using daily PM2.5.

  2. A population has σ=7.63\sigma = 7.63. Compute SE(xˉ)SE(\bar{x}) for n=20n = 20.

  3. True or false: the Central Limit Theorem says that data from any population become normally distributed as sample size grows. Explain.

  4. For the PM2.5 population (μ=9.30\mu = 9.30, σ=7.63\sigma = 7.63), give the approximate sampling distribution of xˉ\bar{x} for n=50n = 50 (name the model, its center, and its spread).

  5. You quadruple your sample size from 25 to 100. By what factor does the standard error of the mean change?

  6. A sample proportion has p=0.24p = 0.24 and n=100n = 100. Compute SE(p^)SE(\hat{p}).

  7. Check the success–failure condition for a proportion with p=0.05p = 0.05 and n=120n = 120. Is the normal approximation appropriate? Why or why not?

  8. Explain why the sampling distribution of xˉ\bar{x} is narrower than the population distribution of the raw data.

  9. Using the air-quality population, the standard error of a 10-day mean is 2.41. Roughly what range will contain most (95%\approx 95\%) of 10-day sample means? (Use the 68–95–99.7 rule from Chapter 5.)

  10. A friend says, “My sample of 8 days gave a mean of 9.1, so the true mean is 9.1.” What is wrong with this statement?

  11. The NHANES height population has σ20.19\sigma \approx 20.19 cm. Compute SE(xˉ)SE(\bar{x}) for n=36n = 36.

  12. For a proportion, which is larger when p=0.5p = 0.5 versus p=0.1p = 0.1 (same nn): the standard error? Explain why p=0.5p = 0.5 is the “worst case.”

  13. Write the R code (using do() * with resample()) to simulate the sampling distribution of the mean PM2.5 for samples of size 25 with 4,000 repetitions and seed 2200.

  14. The CLT requires independence. Name one way a sample of consecutive daily PM2.5 readings might violate independence.

  15. A sampling distribution of the mean is centered at 9.30 with SE 1.08. What sample size nn produced it, given σ=7.63\sigma = 7.63? (Solve for nn.)

  16. Interpret the standard error 0.06 for a sample proportion of high-particle days in plain language for a city council member.

  17. Sketch (describe in words) how the histogram of xˉ\bar{x} changes as nn goes from 2 to 50 for a right-skewed population.

  18. Compute the theoretical standard error of xˉ\bar{x} for the PM2.5 population at n=100n = 100, and state how it compares to the n=25n = 25 value.

  19. Explain the difference between a parameter and a statistic, using μ\mu and xˉ\bar{x}.

  20. A proportion’s success–failure check passes at n=50n = 50 when p=0.24p = 0.24 but fails at n=30n = 30. Show the arithmetic and explain the practical lesson.

  21. Why do we set a seed (set.seed / the seed = argument) when simulating a sampling distribution?

  22. The simulated standard error from 5,000 reps was 2.39; the formula gives 2.41. Why don’t they match exactly, and how would you make them closer?

  23. For n=64n = 64 and σ=7.63\sigma = 7.63, compute SE(xˉ)SE(\bar{x}) and then state how many times smaller it is than the SE at n=4n = 4.

  24. A pollster reports “37% support, sample of 1,000.” Compute the approximate standard error of that proportion and give a rough ± range for the true value (use 2×SE\approx 2 \times SE).

  25. Explain why averaging “tames variability” using the air-quality example (raw days range near 0 to 60; means of 10 days range only ~4 to 16).

  26. The success–failure rule uses 10. Conceptually, what goes wrong with the normal approximation of p^\hat{p} when npnp is very small (say 2)?

  27. Given SE(xˉ)=σ/nSE(\bar{x}) = \sigma/\sqrt{n}, derive the sample size nn needed to achieve a target standard error SESE^\star. Write the formula.

  28. Using the derivation in #27, find the nn needed for SE=1.0SE^\star = 1.0 µg/m³ with σ=7.63\sigma = 7.63.

  29. Distinguish the shape, center, and spread claims bundled inside the Central Limit Theorem.

  30. A classmate plots a histogram with “µg/m³” on the x-axis and calls it a sampling distribution. How can you tell from the axis label that they have likely mislabeled it?

13Resumen en español