Sampling Distribution of x̄ & Why t
Sampling Distribution of x̄
Center: μx̄ = μ → x̄ is an unbiased estimator of μ: on average, sample means land right on the true mean.
Spread: σx̄ = σ/√n (if 10% condition holds). 4× the sample size → half the SD of x̄, so means vary less.
Shape: normal if the population is normal (any n); approx. normal if n ≥ 30 (CLT); strong skew may need n ≫ 30.
Unbiased ≠ precise: n controls the spread of x̄, not its center.
| Population | Small n | n ≥ 30 |
|---|---|---|
| Normal | normal | normal |
| Skewed | skewed | ≈ normal |
| Strong skew | skewed | need n ≫ 30 |
| Unknown | check data | ≈ normal |
Worked Example
Setup: weights μ = 170 lb, σ = 30 lb, random n = 36 → σx̄ = 30/√36 = 5 lb; CLT → x̄ approx. normal.
P(x̄ > 180): z = (180 − 170)/5 = 2 → P ≈ 0.0228. One person > 180 is far more likely than a sample mean > 180.
Why t Instead of z?
σ is unknown in real studies → use s, so SEx̄ = s/√n. Standardizing w/ s gives t, not z, so use t.
t-distributions: symmetric, bell-shaped, centered at 0, fatter tails than z. Shape set by df = n − 1 (one sample).
As df ↑, t → standard normal. Small df → larger t* → wider intervals & harder to reject H0 w/ small samples.
One-Sample t Interval for μ
Formula
Interval: statistic ± t* · SE = x̄ ± t* · s/√n, df = n − 1. Point estimate x̄; ME = t* · s/√n = half the width.
| df | 90% t* | 95% t* | 99% t* |
|---|---|---|---|
| 11 | 1.796 | 2.201 | 3.106 |
| 24 | 1.711 | 2.064 | 2.797 |
| 29 | 1.699 | 2.045 | 2.756 |
| ∞ (= z*) | 1.645 | 1.960 | 2.576 |
Conditions (all 3)
Random: random sample or randomized experiment. Name it from the stem; never just say "random."
10%: n ≤ 10% of the population when sampling w/o replacement → observations ≈ independent.
Normal/Large Sample: population normal, OR n ≥ 30, OR n < 30 and a graph of the data shows no strong skew or outliers.
Show the graph: for n < 30, sketch or describe a dotplot/boxplot ("roughly symmetric, no outliers").
Worked Example
State: 95% CI for μ = true mean nightly sleep (hours) of all students at a large high school this year.
Plan: one-sample t interval. Random sample ✓; 25 < 10% of students ✓; dotplot of the 25 values shows no strong skew or outliers ✓ → safe to use t procedures.
Do: x̄ = 6.8, s = 1.2, n = 25 → SE = 1.2/5 = 0.24; t* = 2.064 (df 24); 6.8 ± 0.495 = (6.30, 7.30) hours of sleep.
Conclude: "We are 95% confident the interval from 6.30 to 7.30 hours captures the true mean nightly sleep of all students at this large high school this year."
Interpreting & Using a CI for μ
Interpret the Interval
Template: "We are C% confident that the interval from a to b captures the true mean [variable] of [all ___]."
Confidence level: in repeated random samples of the same size, ≈ C% of intervals built this way capture μ.
Not: "95% of students sleep 6.30–7.30 h" (that's about individuals) or "95% chance μ is in it" (μ is fixed).
Width, ME & Sample Size
| Change | Effect |
|---|---|
| ↑ confidence level | ↑ t*, ↑ ME, wider |
| ↑ n | ↓ SE, ↓ t*, narrower |
| 4× n | ≈ half the ME |
| ↑ s (more variable) | ↑ SE, wider |
| outliers in data | shift x̄, inflate s |
Same data, different levels (df 24): 90% → 6.8 ± 0.41; 95% → ± 0.50; 99% → ± 0.67 → more confidence costs width.
ME covers sampling variability only, not bias from undercoverage, nonresponse or response bias.
Justify a Claim
Rule: a value inside the CI is plausible for μ; a value outside → convincing evidence μ differs from it.
Example: (6.30, 7.30) is entirely below 8 → convincing evidence the true mean is less than 8 h.
But: 7 h is inside the interval → 7 is a plausible value; we can't rule out μ = 7 at the 95% confidence level.
CI ↔ test: a 95% CI matches a two-sided test at α = 0.05. Value outside ↔ reject H0; inside ↔ fail to reject.
One-Sample t Test for μ
Hypotheses
H0: μ = μ0. Ha: μ < μ0, μ > μ0 or μ ≠ μ0, chosen from the question's wording before seeing the data.
Define μ in context: "μ = the true mean nightly sleep, in hours, of all students at this large high school."
Test Statistic & p-Value
t = (x̄ − μ0)/(s/√n), df = n − 1 → how many SEs x̄ lies from μ0 if H0 is true; bigger |t| → stronger evidence.
p-value: P(t this extreme or more, in the direction of Ha | H0 true); two-sided → add both tails (double one).
Table B: go to the df row, find where |t| falls between columns → p-value range (one tail; double it for ≠).
Worked Example
Claim: students average 7 h; is there evidence they get less? H0: μ = 7, Ha: μ < 7, α = 0.05, same sample as before.
Do: t = (6.8 − 7)/0.24 ≈ −0.83, df = 24 → p-value ≈ 0.206 (TTest, or Table B: between 0.20 & 0.25).
Conclude: 0.206 > 0.05 → fail to reject H0. Not convincing evidence the true mean sleep is less than 7 h.
p-value meaning: if μ = 7, a random sample of 25 would give x̄ ≤ 6.8 about 20.6% of the time, so 6.8 isn't unusual.
| p-value vs. α | Decision | Say |
|---|---|---|
| p ≤ α | Reject H0 | convincing evidence for Ha |
| p > α | Fail to reject | not convincing evidence |
Matched Pairs (Paired t)
When Data Are Paired
Paired: 2 measurements on the same subject (pre/post) or on matched subjects (twins, left/right hand).
Method: subtract within each pair → ONE sample of differences → one-sample t on μd, df = npairs − 1.
Parameter: μd = true mean difference (post − pre) in [variable] for all [population]. State the subtraction order.
H0: μd = 0. Ha: μd > 0, < 0 or ≠ 0. Conditions use the differences, not each set of raw scores.
Worked Example
Study: 12 randomly chosen students take a pre-test and post-test; d = post − pre: x̄d = 4.5 pts, sd = 6.0.
Conditions: random sample ✓; 12 < 10% of students ✓; dotplot of 12 differences: no strong skew or outliers ✓.
Do: SE = 6.0/√12 ≈ 1.732; t = 4.5/1.732 ≈ 2.60, df = 11 → one-sided p-value ≈ 0.012 (Ha: μd > 0, improvement).
Conclude: 0.012 < 0.05 → reject H0; convincing evidence of a positive mean improvement for all such students.
95% CI for μd: 4.5 ± 2.201(1.732) = (0.69, 8.31) pts; all > 0 → agrees w/ the test's decision to reject.
Paired or Two-Sample?
| Clue in stem | Procedure |
|---|---|
| same people, twice | paired t |
| matched pairs design | paired t |
| 2 separate groups | 2-sample t |
| random assignment to 2 groups | 2-sample t |
Two-Sample t Interval for μ₁ − μ₂
Sampling Distribution of x̄₁ − x̄₂
Center: μ1 − μ2. SD: √(σ1²/n1 + σ2²/n2) → variances add (never subtract), even though we subtract the means.
Shape: normal if both populations normal; approx. normal if n1 ≥ 30 and n2 ≥ 30 (CLT for each sample).
Formula & Conditions
Interval: (x̄1 − x̄2) ± t* √(s1²/n1 + s2²/n2). Use technology df (between smaller n − 1 and n1 + n2 − 2).
Random: 2 independent random samples OR random assignment to 2 treatments. 10%: check each sample; it isn't needed for a randomized experiment.
Normal/Large Sample: both n ≥ 30 or both populations normal; else graph both samples: no strong skew or outliers.
Worked Example
Experiment: 78 volunteer adults randomly assigned. Drop in cholesterol (mg/dL): drug n = 40, x̄1 = 22, s1 = 10; placebo n = 38, x̄2 = 15, s2 = 12 (both n ≥ 30 ✓ for CLT).
Do: SE = √(100/40 + 144/38) ≈ 2.508; df ≈ 72.1, t* ≈ 1.993; 7 ± 5.00 = (2.0, 12.0) mg/dL, using 2-SampTInt.
Interpret: "We are 95% confident the true mean reduction is 2.0 to 12.0 mg/dL greater for the drug than for the placebo."
| CI for μ1 − μ2 | Means |
|---|---|
| entirely > 0 | evidence μ1 > μ2 |
| entirely < 0 | evidence μ1 < μ2 |
| contains 0 | no convincing difference |
Two-Sample t Test for μ₁ − μ₂
Setup
H0: μ1 − μ2 = 0 (μ1 = μ2). Ha: μ1 − μ2 > 0, < 0 or ≠ 0. Define both μ's w/ the variable & population.
Test statistic: t = [(x̄1 − x̄2) − 0]/√(s1²/n1 + s2²/n2); df from technology (2-SampTTest, Pooled: No).
Conditions: same 3 as the interval → Random (2 samples or random assignment), 10% (samples only), Normal/Large Sample (each group; graph both if n < 30).
Worked Example (same drug study)
Hypotheses: H0: μD − μP = 0; Ha: μD − μP > 0, where μ = true mean cholesterol reduction (mg/dL) for each treatment.
Do: t = 7/2.508 ≈ 2.79, df ≈ 72.1 → p-value ≈ 0.0034.
Conclude: 0.0034 < 0.05 → reject H0. Convincing evidence the drug causes a greater mean reduction than the placebo for adults like those in this study (volunteers).
p-value meaning: if the drug & placebo had equal true mean reductions, a difference of 7 or more would occur by chance assignment ≈ 0.34% of the time, which is rare.
Scope of Inference
| Design | Can conclude |
|---|---|
| random sampling | generalize to population |
| random assignment | cause and effect |
| both | both |
| neither | only these subjects |
Here: random assignment (cause ✓) but volunteers, not a random sample → generalize only to adults like these.
Choosing & Writing It Up
Which Procedure?
| Situation | Procedure |
|---|---|
| 1 mean, σ unknown | 1-sample t |
| pre/post, matched | paired t (on d) |
| 2 independent groups | 2-sample t |
| 1 or 2 proportions | z (Unit 3) |
| counts in categories | χ² (Unit 3) |
Clues: "estimate," "how much" → interval. "Is there convincing evidence" → significance test.
Means vs. proportions: quantitative variable (hours, mg/dL, scores) → t; categorical (yes/no) → z.
4-Step Rubric (FRQ 3 = Inference)
State: parameter in context + hypotheses or confidence level. Plan: name the procedure + check all conditions.
Do: formula w/ numbers, t, df, p-value or interval. Conclude: compare p to α, decide, answer in context.
Errors & Power (for means)
Type I: reject a true H0 (say the drug works when it doesn't); P = α. Type II: miss a real effect (P = β).
Power ↑ w/ larger n, larger α, bigger true difference, or less variability (smaller σ) in the response variable.
Point-Losing Habits
Vague normality: "n is large" w/o the number, or "the data are normal" w/o a graph. Cite n ≥ 30 or describe the plot.
Mixing conditions: the 10% condition is about independence, not randomization; check each one separately.
Statistics in hypotheses: write μ, never x̄. And never conclude causation w/o random assignment.