The Simple AP® Statistics Unit 4 Cheat Sheet: Inference for Quantitative Data: Means
www.albert.io
Sampling Distribution of x̄ & Why t
Sampling Distribution of x̄
Center: μx̄ = μ → on average, sample means land right on the true mean (unbiased).
Spread: σx̄ = σ/√n → bigger samples give sample means that vary less around μ.
Shape: normal if the population is normal; approx. normal if n ≥ 30 (Central Limit Theorem).
Unbiased ≠ precise: n controls spread, not center.
PopulationSmall nn ≥ 30
Normalnormalnormal
Skewedskewed≈ normal
Strong skewskewedneed n ≫ 30
Unknowncheck data≈ normal
Example
Setup: weights w/ μ = 170 lb, σ = 30 lb; random n = 36 → σx̄ = 30/√36 = 5 lb (n ≥ 30 → CLT).
P(x̄ > 180): z = (180 − 170)/5 = 2 → P ≈ 0.0228, so a sample mean that high is rare.
Why t Instead of z?
σ is unknown in real studies, so we use s instead. That gives a t statistic, not z, so we use t.
t-distributions: bell-shaped like z but w/ fatter tails; shape depends on df = n − 1.
As df ↑ (bigger samples), t gets closer and closer to the standard normal model (z).
One-Sample t Interval for μ
Formula
Interval: x̄ ± t* · s/√n w/ df = n − 1. ME (margin of error) = t* · s/√n = half the width.
df90% t*95% t*99% t*
111.7962.2013.106
191.7292.0932.861
241.7112.0642.797
291.6992.0452.756
∞ (= z*)1.6451.9602.576
Conditions (check all 3)
Random: data come from a random sample or a randomized experiment (state which).
10%: n ≤ 10% of the population when sampling w/o replacement, so values are independent.
Normal/Large Sample: n ≥ 30, OR a graph of the data shows no strong skew or outliers.
Example
Data: 25 randomly chosen students, mean sleep x̄ = 6.8 h, s = 1.2 h → SE = 1.2/√25 = 0.24.
Conditions: random ✓; 25 < 10% of students ✓; dotplot shows no strong skew ✓.
Do: t* = 2.064 (df 24) → 6.8 ± 2.064(0.24) = 6.8 ± 0.50 = (6.30, 7.30) hours of sleep.
Conclude: "We are 95% confident the interval from 6.30 to 7.30 h captures the true mean sleep of all students at the school this year."
Interpreting & Using a CI for μ
What It Means
Template: "We are __% confident the interval from __ to __ captures the true mean [variable] of [all ___]." Fill in every blank in context.
Confidence level: if we took many random samples, about 95% of the intervals would capture μ; about 5% would miss the true mean.
Not: "95% of students sleep 6.30–7.30 h." The interval is about the mean, not individuals.
What Changes the Width
ChangeEffect
↑ confidence levelwider
↑ sample size nnarrower
4× n≈ half the ME
↑ s (more spread)wider
Same data: 90% → 6.8 ± 0.41; 95% → 6.8 ± 0.50; 99% → 6.8 ± 0.67 (higher → wider).
Margin of error only covers random sampling error, not bias from a bad sample.
Use It to Judge a Claim
Inside the CI → a plausible value for μ. Outside → evidence μ is different from that value.
Example: (6.30, 7.30) is all below 8 → evidence the true mean is less than 8 h a night.
But 7 h is inside the interval, so μ = 7 is still a plausible value for the true mean.
One-Sample t Test for μ
Hypotheses
H0: μ = μ0. Ha: μ < μ0, μ > μ0 or μ ≠ μ0, picked from the question's wording before seeing data.
Define μ: "the true mean nightly sleep of all students at this school, in hours."
Test Statistic
t = (x̄ − μ0)/(s/√n), df = n − 1 → how many SEs x̄ is from μ0 if H0 is true; bigger |t| = stronger.
p-value: chance of a result this extreme if H0 is true. Small p → evidence for Ha.
Example
Claim: mean sleep is 7 h. Is it less? H0: μ = 7, Ha: μ < 7, α = 0.05, w/ the same 25 students.
Do: t = (6.8 − 7)/0.24 ≈ −0.83, df = 24 → p-value ≈ 0.206 (use TTest on a calculator).
Conclude: 0.206 > 0.05 → fail to reject H0; not convincing evidence the mean is less than 7 h.
Rule: small p-value → reject H0.
p-value meaning: if μ = 7, a sample mean of 6.8 or less happens about 20.6% of the time.
p-valueDecision
p ≤ αreject H0
p > αfail to reject H0
Matched Pairs (Paired t)
When Data Are Paired
Paired: 2 measurements on the same subject (before/after) or on matched subjects (twins).
Method: subtract in each pair → one list of differences d → one-sample t on μd, df = pairs − 1.
Parameter: μd = true mean difference (post − pre) for all students like these at this school.
H0: μd = 0 (no change on average). Ha: μd > 0, < 0 or ≠ 0, chosen from the question's wording.
Example
Study: 12 random students take a pre-test & post-test; x̄d = 4.5 pts, sd = 6.0 points.
Conditions: random ✓; dotplot of the 12 differences shows no strong skew ✓.
Do: SE = 6.0/√12 ≈ 1.73; t ≈ 2.60, df = 11 → one-sided p-value ≈ 0.012 (Ha: μd > 0).
Conclude: 0.012 < 0.05 → reject H0; convincing evidence scores improved on average.
Paired or Two-Sample?
ClueUse
same people twicepaired t
matched pairspaired t
2 separate groups2-sample t
random assignment to 2 groups2-sample t
Two-Sample t Interval for μ₁ − μ₂
Formula & Conditions
Interval: (x̄1 − x̄2) ± t* √(s1²/n1 + s2²/n2); get df from your calculator (2-SampTInt).
Variances add: the SE of a difference is bigger than each group's own SE alone.
Random: 2 independent random samples, or random assignment to 2 groups.
10%: each sample ≤ 10% of its population (not needed for randomized experiments).
Normal/Large Sample: both n ≥ 30, or graphs of both groups show no strong skew.
Conditions here: random assignment ✓; both n ≥ 30 (40 & 38) ✓ → t procedures are OK.
Example
Experiment: drop in cholesterol (mg/dL), drug (n = 40): x̄ = 22, s = 10; placebo (n = 38): x̄ = 15, s = 12.
df: from technology, or use the smaller n − 1.
Do: SE = √(100/40 + 144/38) ≈ 2.51; t* ≈ 1.99 → 7 ± 5.0 = (2.0, 12.0) mg/dL (2-SampTInt).
Interpret: 95% confident the drug's true mean drop is 2.0 to 12.0 mg/dL more than the placebo's.
CI for μ1 − μ2Means
all > 0μ1 bigger
all < 0μ2 bigger
contains 0no clear difference
Two-Sample t Test for μ₁ − μ₂
Setup
H0: μ1 − μ2 = 0. Ha: μ1 − μ2 > 0, < 0 or ≠ 0. Define each μ in context, w/ the population.
t = (x̄1 − x̄2)/√(s1²/n1 + s2²/n2); use 2-SampTTest to get the df & p-value (Pooled: No).
Conditions: same 3 as the interval: Random, 10% (samples only), Normal/Large Sample.
Example (same drug study)
Ha: μD − μP > 0 (drug lowers more). t = 7/2.51 ≈ 2.79 → p-value ≈ 0.0034, very small.
Conclude: 0.0034 < 0.05 → reject H0; convincing evidence the drug lowers cholesterol more.
p-value meaning: if the treatments worked equally, a gap of 7 or more would happen only ≈ 0.34% of the time by chance alone.
What Can We Conclude?
DesignConclusion
random samplinggeneralize
random assignmentcause & effect
bothboth
neitherthese subjects only
Scope here: random assignment → cause ✓; volunteers → only adults like these.
Choosing & Writing It Up
Which Procedure?
SituationProcedure
1 mean1-sample t
before/after, matchedpaired t
2 independent groups2-sample t
proportionsz (Unit 3)
Clue words: "estimate" → interval; "convincing evidence" → a significance test.
Means or proportions? Numbers (hours, scores) → t; yes/no answers → z (Unit 3).
4 Steps (FRQ 3 is Inference)
State: parameter & hypotheses. Plan: name the procedure and check all 3 conditions.
Do: formula w/ numbers, t, df, p-value. Conclude: compare p to α, answer in context.
Errors & Power
Type I: reject a true H0 (P = α). Type II: fail to reject a false H0 (miss a real effect).
Power ↑ w/ a bigger n, a bigger α, or a bigger true difference between the true means.
Avoid These
Vague conditions: say "n = 40 ≥ 30," not just "the sample is big," and show a graph if n < 30.
Wrong symbols: hypotheses use μ, never x̄. No cause & effect w/o random assignment.