Skip to content
🎯⭐ INTERACTIVE LESSON

Inference for Two Sample Means (CI and Test)

Learn step-by-step with interactive practice!

Inference for Two Sample Means (CI and Test) - Complete Interactive Lesson

Part 1: Two-Sample Z-Test for Proportions

⚖️ Comparing Two Populations

Part 1 of 7 — Two-Sample Z-Test for Proportions


When to Compare Two Proportions

Use when you have two independent groups and want to test whether their population proportions differ.

Example: Is the proportion of smartphone users higher among teens than adults?


Hypotheses

H0:p1−p2=0(no difference)H_0: p_1 - p_2 = 0 \quad (\text{no difference}) Ha:p1−p2≠0(or >0 or <0)H_a: p_1 - p_2 \neq 0 \quad (\text{or } > 0 \text{ or } < 0)


Test Statistic

z=(p^1−p^2)−0p^(1−p^)(1n1+1n2)z = \frac{(\hat{p}_1 - \hat{p}_2) - 0}{\sqrt{\hat{p}(1-\hat{p})\left(\frac{1}{n_1} + \frac{1}{n_2}\right)}}

where p^=x1+x2n1+n2\hat{p} = \frac{x_1 + x_2}{n_1 + n_2} is the pooled proportion.


Conditions

  1. Random samples from both populations
  2. Independent groups (and n<10%n < 10\% of population for each)
  3. Large counts: n1p^,n1(1−p^),n2p^,n2(1−p^)≥10n_1\hat{p}, n_1(1-\hat{p}), n_2\hat{p}, n_2(1-\hat{p}) \geq 10

🔑 Under H0H_0, we assume p1=p2p_1 = p_2, so we use the pooled proportion p^\hat{p} for the standard error.

Two-Proportion Test 🎯

Two-Proportion Calculations 🧮

Treatment group: 45 successes out of 150. Control group: 30 successes out of 150.

1) p^1=45/150=\hat{p}_1 = 45/150 = ? (Express as a decimal)

2) p^2=30/150=\hat{p}_2 = 30/150 = ?

3) Pooled p^=(45+30)/(150+150)=\hat{p} = (45+30)/(150+150) = ?

Part 2: Two-Sample T-Test for Means

📊 Two-Sample T-Test for Means

Part 2 of 7 — Comparing Two Independent Groups


Topics in This Part

Section
🎯 Hypotheses for μ1−μ2\mu_1 - \mu_2
📐 The Two-Sample tt-Statistic
✅ Conditions
📝 Worked Example

🔑 Key Concept: The two-sample tt-test compares means from two independent groups. The key question: "Is the difference in sample means large enough to conclude the population means differ?"


The Setup

Two independent random samples:

  • Group 1: n1n_1 observations, sample mean xˉ1\bar{x}_1, sample SD s1s_1
  • Group 2: n2n_2 observations, sample mean xˉ2\bar{x}_2, sample SD s2s_2

Hypotheses

H0:μ1−μ2=0(or equivalently, μ1=μ2)H_0: \mu_1 - \mu_2 = 0 \quad (\text{or equivalently, } \mu_1 = \mu_2) Ha:μ1−μ2≠0(or >0 or <0)H_a: \mu_1 - \mu_2 \neq 0 \quad (\text{or } > 0 \text{ or } < 0)


Test Statistic

t=(xˉ1−xˉ2)−0s12n1+s22n2\boxed{t = \frac{(\bar{x}_1 - \bar{x}_2) - 0}{\sqrt{\frac{s_1^2}{n_1} + \frac{s_2^2}{n_2}}}}

Degrees of freedom: Use the technology value (it lies between the smaller of n1−1n_1 - 1 and n2−1n_2 - 1 and n1+n2−2n_1 + n_2 - 2) or the conservative value df=min⁡(n1−1,n2−1)\text{df} = \min(n_1 - 1, n_2 - 1). The SE is never pooled: each sample keeps its own ss.

⚠️ AP Tip: The AP formula sheet provides this formula. On the AP exam, use the conservative df or the calculator df — both are acceptable.


Conditions

ConditionCheck
RandomBoth samples are random (or randomly assigned in an experiment)
IndependentThe two groups are independent of each other
Normal/Large SampleFor each group: the population is approximately Normal, OR n≥30n \geq 30, OR (if n<30n < 30) the sample data are free from strong skewness and outliers
10% Rulen1<10%n_1 < 10\% of population 1 AND n2<10%n_2 < 10\% of population 2

Worked Example

Study: Does a new teaching method improve test scores?

  • Method A (traditional): n1=35n_1 = 35, xˉ1=74.2\bar{x}_1 = 74.2, s1=8.5s_1 = 8.5
  • Method B (new): n2=38n_2 = 38, xˉ2=79.6\bar{x}_2 = 79.6, s2=7.9s_2 = 7.9

Step 1 — Hypotheses: H0:μB−μA=0H_0: \mu_B - \mu_A = 0 (no difference in mean scores) Ha:μB−μA>0H_a: \mu_B - \mu_A > 0 (new method produces higher mean scores)

Step 2 — Conditions:

  • Random: Students randomly assigned to methods ✓
  • Independent: Two separate groups ✓
  • Normal: n1=35≥30n_1 = 35 \geq 30 and n2=38≥30n_2 = 38 \geq 30 ✓
  • 10%: Each group is less than 10% of all students ✓

Step 3 — Test statistic: t=79.6−74.27.9238+8.5235=5.41.642+2.064=5.43.706=5.41.925=2.805t = \frac{79.6 - 74.2}{\sqrt{\frac{7.9^2}{38} + \frac{8.5^2}{35}}} = \frac{5.4}{\sqrt{1.642 + 2.064}} = \frac{5.4}{\sqrt{3.706}} = \frac{5.4}{1.925} = 2.805

df =min⁡(34,37)=34= \min(34, 37) = 34 (conservative) or use calculator df

Step 4 — Conclusion: P≈0.004P \approx 0.004 (one-sided). Since P=0.004<0.05=αP = 0.004 < 0.05 = \alpha, we reject H0H_0. There is convincing evidence that the new teaching method produces higher mean test scores than the traditional method.

Two-Sample tt-Test Concepts 🎯

Computing the tt-Statistic 🧮

Group 1: xˉ1=50\bar{x}_1 = 50, s1=10s_1 = 10, n1=25n_1 = 25 Group 2: xˉ2=44\bar{x}_2 = 44, s2=12s_2 = 12, n2=30n_2 = 30

1) xˉ1−xˉ2=\bar{x}_1 - \bar{x}_2 =

2) s12/n1+s22/n2=s_1^2/n_1 + s_2^2/n_2 = (compute to one decimal)

3) Conservative df =min⁡(n1−1,n2−1)== \min(n_1-1, n_2-1) =

Decisions and Interpretations 🔍

Exit Quiz — Two-Sample tt-Test ✅

Part 3: Paired T-Test

📊 Paired T-Test

Part 3 of 7 — When Data Come in Pairs


Topics in This Part

Section
🔗 Paired vs. Two-Sample Designs
📐 The Paired tt-Test Procedure
✅ Conditions for Paired Data
📝 Worked Example

🔑 Key Concept: A paired tt-test is a one-sample tt-test performed on the differences within each pair.


When to Use a Paired Test

Use a paired tt-test when:

  • The same subjects are measured twice (before/after)
  • Subjects are matched in pairs (e.g., twins, partners)
  • Each observation in one group has a natural partner in the other

Use a two-sample tt-test when:

  • The two groups are independent (different subjects, no pairing)

The Procedure

Step 1: Compute the differences: di=x1i−x2id_i = x_{1i} - x_{2i} for each pair

Step 2: Treat the differences as a single sample and perform a one-sample tt-test:

t=dˉ−0sd/n\boxed{t = \frac{\bar{d} - 0}{s_d / \sqrt{n}}}

where:

  • dˉ\bar{d} = mean of the differences
  • sds_d = standard deviation of the differences
  • nn = number of pairs
  • df =n−1= n - 1

Hypotheses

H0:μd=0(no difference, on average)H_0: \mu_d = 0 \quad (\text{no difference, on average}) Ha:μd≠0(or >0 or <0)H_a: \mu_d \neq 0 \quad (\text{or } > 0 \text{ or } < 0)

⚠️ AP Tip: Define dd clearly: "dd = After −- Before" or "dd = Treatment −- Control." The direction matters for one-sided tests.


Conditions

ConditionCheck
RandomPairs are randomly selected or treatments randomly assigned
IndependentIndividual pairs are independent of each other (10% condition on pairs)
NormalNumber of differences ≥30\geq 30, OR the sample of differences is free from strong skewness and outliers (check a dotplot or histogram of dd)

Worked Example

Study: Does a tutoring program improve SAT scores? 12 students take the SAT, receive tutoring, then retake it.

StudentBeforeAfterdd = After −- Before
15205604040
24805103030
3550540−10-10
............
Summarydˉ=28.5\bar{d} = 28.5, sd=22.3s_d = 22.3

Step 1 — Hypotheses: H0:μd=0H_0: \mu_d = 0 (tutoring has no effect on mean SAT scores) Ha:μd>0H_a: \mu_d > 0 (tutoring increases mean SAT scores) where dd = After −- Before

Step 2 — Conditions:

  • Random: Students randomly selected ✓
  • Independent: 12 students < 10% of all SAT takers ✓
  • Normal: Histogram of differences shows no strong skew ✓

Step 3 — Test statistic: t=28.5−022.3/12=28.56.436=4.43t = \frac{28.5 - 0}{22.3/\sqrt{12}} = \frac{28.5}{6.436} = 4.43 df =12−1=11= 12 - 1 = 11

Step 4 — Conclusion: P<0.001P < 0.001 (one-sided). Since P<0.001<0.05P < 0.001 < 0.05, we reject H0H_0. There is convincing evidence that the tutoring program increases mean SAT scores.


Paired vs. Two-Sample: Why It Matters

FeatureTwo-SamplePaired
Data structureTwo independent groupsPairs of related observations
Parameterμ1−μ2\mu_1 - \mu_2μd\mu_d
AdvantageSimpler designControls for variability between subjects
dfComplex (Welch)npairs−1n_{\text{pairs}} - 1

🔑 Key Insight: Pairing reduces variability by eliminating subject-to-subject differences, making it easier to detect a treatment effect.

Paired tt-Test Concepts 🎯

Computing the Paired tt 🧮

n=16n = 16 pairs, dˉ=5.0\bar{d} = 5.0, sd=8.0s_d = 8.0

1) SE of dˉ\bar{d} =sd/n== s_d / \sqrt{n} =

2) t=dˉ/SE=t = \bar{d} / \text{SE} =

3) df ==

Paired or Two-Sample? 🔍

Exit Quiz — Paired tt-Test ✅

Part 4: Confidence Intervals for Differences

📊 Confidence Intervals for Differences

Part 4 of 7 — Estimating How Much Two Groups Differ


Topics in This Part

Section
📐 Two-Sample CI for μ1−μ2\mu_1 - \mu_2
🔗 Paired CI for μd\mu_d
📝 Interpretation Templates
🧮 Connection to Hypothesis Tests

🔑 Key Concept: A CI for the difference gives a range of plausible values for how much two population means (or the mean difference) differ.


Two-Sample CI for μ1−μ2\mu_1 - \mu_2

(xˉ1−xˉ2)±t∗⋅s12n1+s22n2\boxed{(\bar{x}_1 - \bar{x}_2) \pm t^* \cdot \sqrt{\frac{s_1^2}{n_1} + \frac{s_2^2}{n_2}}}

  • Same conditions as the two-sample tt-test (Random, Independent, Normal/Large, 10%)
  • df: use calculator (Welch) or conservative min⁡(n1−1,n2−1)\min(n_1 - 1, n_2 - 1)

Paired CI for μd\mu_d

dˉ±t∗⋅sdn\boxed{\bar{d} \pm t^* \cdot \frac{s_d}{\sqrt{n}}}

  • Same conditions as the paired tt-test (Random, Independent pairs, Normal differences)
  • df =n−1= n - 1 (where nn = number of pairs)

Interpretation Templates

Two-Sample: "We are [C]% confident that the true difference in mean [context] between [group 1] and [group 2] is between [lower] and [upper] [units]."

Paired: "We are [C]% confident that the true mean difference in [context] is between [lower] and [upper] [units]."


CI ↔ Test Connection

CI contains 0?Test conclusion at α=1−C\alpha = 1 - C
YesFail to reject H0:μ1=μ2H_0: \mu_1 = \mu_2 (or μd=0\mu_d = 0)
NoReject H0H_0

Worked Example — Two-Sample CI

Group A (old drug): n1=40n_1 = 40, xˉ1=82\bar{x}_1 = 82, s1=12s_1 = 12 Group B (new drug): n2=45n_2 = 45, xˉ2=88\bar{x}_2 = 88, s2=10s_2 = 10

95% CI for μB−μA\mu_B - \mu_A:

  • xˉB−xˉA=88−82=6\bar{x}_B - \bar{x}_A = 88 - 82 = 6
  • SE =102/45+122/40=2.222+3.6=5.822=2.413= \sqrt{10^2/45 + 12^2/40} = \sqrt{2.222 + 3.6} = \sqrt{5.822} = 2.413
  • Conservative df =min⁡(39,44)=39= \min(39, 44) = 39, t∗≈2.023t^* \approx 2.023
  • 6±2.023(2.413)=6±4.881=(1.119,10.881)6 \pm 2.023(2.413) = 6 \pm 4.881 = (1.119, 10.881)

Interpretation: "We are 95% confident that the true difference in mean recovery scores (new −- old) is between 1.1 and 10.9 points. Since 0 is not in the interval, there is evidence the new drug produces higher mean scores."


Worked Example — Paired CI

15 patients measured before and after treatment. dˉ=8.3\bar{d} = 8.3 (After −- Before), sd=6.2s_d = 6.2

95% CI for μd\mu_d: df =14= 14, t∗=2.145t^* = 2.145 8.3±2.145⋅6.215=8.3±2.145(1.601)=8.3±3.4348.3 \pm 2.145 \cdot \frac{6.2}{\sqrt{15}} = 8.3 \pm 2.145(1.601) = 8.3 \pm 3.434 (4.866,11.734)(4.866, 11.734)

Interpretation: "We are 95% confident that the true mean change in [outcome] after treatment is between 4.9 and 11.7 units."

⚠️ AP Tip: Always define dd (e.g., After −- Before) and include context and units.

CI for Differences Concepts 🎯

Building CIs 🧮

Two-Sample: xˉ1−xˉ2=10\bar{x}_1 - \bar{x}_2 = 10, SE =4= 4, t∗=2.0t^* = 2.0

1) Margin of error ==

2) Lower bound ==

Paired: dˉ=−3\bar{d} = -3, sd=6s_d = 6, n=36n = 36, t∗=2.030t^* = 2.030

3) SE of dˉ\bar{d} ==

Interpretation Decisions 🔍

Exit Quiz — CIs for Differences ✅

Part 5: Power and Sample Size

📊 Power and Sample Size

Part 5 of 7 — Detecting Real Differences


Topics in This Part

Section
⚡ What Is Power?
🎯 Type I and Type II Errors
📐 Factors Affecting Power
🧮 Sample Size Considerations

🔑 Key Concept: Power is the probability of correctly rejecting H0H_0 when H0H_0 is actually false. Higher power = better ability to detect a real effect.


Error Types

H0H_0 TrueH0H_0 False
Reject H0H_0Type I Error (α\alpha)Correct! (Power)
Fail to RejectCorrect!Type II Error (β\beta)

Power=1−β=P(reject H0∣H0 is false)\text{Power} = 1 - \beta = P(\text{reject } H_0 \mid H_0 \text{ is false})


Type I Error (α\alpha)

  • Rejecting H0H_0 when it is true (false positive)
  • Probability =α= \alpha (the significance level)
  • Example: Concluding a drug works when it actually does not

Type II Error (β\beta)

  • Failing to reject H0H_0 when it is false (false negative)
  • Probability = β\beta
  • Example: Concluding a drug does not work when it actually does

Factors That Increase Power

FactorDirectionEffect on Power
Sample size (nn)↑Power ↑
Significance level (α\alpha)↑Power ↑
True effect size (∣μ1−μ2∣\vert\mu_1 - \mu_2\vert)↑Power ↑
Population variability (σ\sigma)↓Power ↑

⚠️ AP Tip: You will NOT be asked to calculate power on the AP exam, but you MUST understand conceptually how each factor affects power.


Intuition for Each Factor

Larger nn: More data → smaller SE → easier to detect a difference SE=s12n1+s22n2→ larger n → smaller SE → larger ∣t∣\text{SE} = \sqrt{\frac{s_1^2}{n_1} + \frac{s_2^2}{n_2}} \quad \text{→ larger } n \text{ → smaller SE → larger } |t|

Larger α\alpha: Easier rejection threshold → more likely to reject (but more risk of Type I error)

Larger effect: A bigger real difference is easier to detect than a tiny one

Smaller σ\sigma: Less noise → the signal (difference) stands out more clearly


The Power-α\alpha Tradeoff

α↓⇒Power↓⇒β↑\alpha \downarrow \Rightarrow \text{Power} \downarrow \Rightarrow \beta \uparrow

Decreasing α\alpha (e.g., from 0.05 to 0.01) reduces Type I error but increases Type II error (reduces power). The only way to reduce BOTH errors simultaneously is to increase sample size.


Sample Size Planning

Before collecting data, researchers choose nn to achieve desired power (typically 80% or higher):

  1. Specify the smallest meaningful effect size
  2. Estimate population variability (σ\sigma)
  3. Choose α\alpha (usually 0.05)
  4. Use a power table or software to find the required nn

🔑 Key Insight: Larger samples are always better for power, but they cost more. Sample size planning balances statistical needs with practical constraints.

Power Concepts 🎯

Error and Power Calculations 🧮

1) If β=0.15\beta = 0.15, what is the power? (give as decimal)

2) If α=0.01\alpha = 0.01, what is the probability of a Type I error?

3) A test has power =0.80= 0.80. What is β\beta?

Power Factors 🔍

Exit Quiz — Power & Sample Size ✅

Part 6: Problem-Solving Workshop

📊 Problem-Solving Workshop

Part 6 of 7 — Complete Worked Examples


Worked Example 1: Two-Sample T-Test

Problem

A fitness company wants to compare two training programs. 45 volunteers are randomly assigned: 22 to Program A, 23 to Program B. After 8 weeks, weight loss (in pounds) is recorded:

Program AProgram B
nn2223
xˉ\bar{x}12.49.7
ss3.84.1

Test whether Program A produces greater average weight loss at α=0.05\alpha = 0.05.


Step 1: State Hypotheses

H0:μA−μB=0H_0: \mu_A - \mu_B = 0 Ha:μA−μB>0H_a: \mu_A - \mu_B > 0

Where μA\mu_A = true mean weight loss for Program A, μB\mu_B = true mean weight loss for Program B.

Step 2: Check Conditions

✅ Random: Volunteers randomly assigned to groups (experiment) ✅ Normal: Both samples are smaller than 30, so we need the sample data in each group to be free from strong skewness and outliers (dotplots of both groups show no strong skew or outliers) ✅ Independent: Groups are independent; each person in only one program. Both <10%< 10\% of all potential participants.

Step 3: Calculate

SE=sA2nA+sB2nB=3.8222+4.1223=14.4422+16.8123SE = \sqrt{\frac{s_A^2}{n_A} + \frac{s_B^2}{n_B}} = \sqrt{\frac{3.8^2}{22} + \frac{4.1^2}{23}} = \sqrt{\frac{14.44}{22} + \frac{16.81}{23}}

=0.6564+0.7309=1.3873≈1.178= \sqrt{0.6564 + 0.7309} = \sqrt{1.3873} \approx 1.178

t=(xˉA−xˉB)−0SE=12.4−9.71.178=2.71.178≈2.291t = \frac{(\bar{x}_A - \bar{x}_B) - 0}{SE} = \frac{12.4 - 9.7}{1.178} = \frac{2.7}{1.178} \approx 2.291

Using technology with df≈42df \approx 42: PP-value ≈0.0136\approx 0.0136

Step 4: Conclude

Since P=0.0136<0.05=αP = 0.0136 < 0.05 = \alpha, we reject H0H_0.

AP-Style Conclusion: There is convincing evidence that the true mean weight loss for Program A is greater than the true mean weight loss for Program B.


Worked Example 2: Paired T-Test

Problem

A researcher tests whether a meditation app reduces stress. 30 participants rate their stress (1–100) before and after 4 weeks of daily use:

BeforeAfterDifferences (Before − After)
nn303030
xˉ\bar{x}68.259.5xˉd=8.7\bar{x}_d = 8.7
ss——sd=11.3s_d = 11.3

Test whether the app reduces stress at α=0.05\alpha = 0.05.

Step 1: State Hypotheses

H0:μd=0H_0: \mu_d = 0 Ha:μd>0H_a: \mu_d > 0

Where μd\mu_d = true mean difference in stress scores (Before − After) for all users of this app.

Step 2: Check Conditions

✅ Random: 30 participants randomly selected (or assume representative) ✅ Normal: n=30≥30n = 30 \geq 30 (CLT applies for differences) ✅ Independent (10%): The 30 participants' differences are independent of each other; 30<10%30 < 10\% of all potential users

⚠️ Key: We check conditions on the DIFFERENCES, not the individual scores.

Step 3: Calculate

SE=sdn=11.330=11.35.477≈2.063SE = \frac{s_d}{\sqrt{n}} = \frac{11.3}{\sqrt{30}} = \frac{11.3}{5.477} \approx 2.063

t=xˉd−0SE=8.72.063≈4.217t = \frac{\bar{x}_d - 0}{SE} = \frac{8.7}{2.063} \approx 4.217

df=n−1=29df = n - 1 = 29, PP-value <0.001< 0.001

Step 4: Conclude

Since P<0.001<0.05=αP < 0.001 < 0.05 = \alpha, we reject H0H_0.

AP-Style Conclusion: There is convincing evidence that the meditation app reduces mean stress scores.


Common AP Mistakes

MistakeWhy It Costs Points
Using two-sample test when data is pairedWrong procedure → wrong test statistic → wrong conclusion
Not defining μd\mu_d clearly"Mean difference" must include direction (A − B) and context
Skipping conditionsAutomatic deduction on free-response
No context in conclusionMust reference the specific variables and setting
Saying "accept H0H_0"Always say "fail to reject H0H_0"
Not identifying data as pairedLook for: same subjects, before/after, matched pairs

Workshop Practice 🎯

Computation Practice 🧮

1) Two groups: xˉ1=45\bar{x}_1 = 45, s1=6s_1 = 6, n1=36n_1 = 36; xˉ2=41\bar{x}_2 = 41, s2=8s_2 = 8, n2=36n_2 = 36. Calculate SE (round to 2 decimal places).

2) Using the values above, calculate the t-statistic (round to 2 decimal places).

3) Paired data: xˉd=3.2\bar{x}_d = 3.2, sd=5.0s_d = 5.0, n=25n = 25. Calculate the t-statistic (round to 2 decimal places).

Procedure Selection 🔍

Exit Quiz — Problem-Solving Workshop ✅

Part 7: Review & Applications

📊 Review & Applications

Part 7 of 7 — Comprehensive Review


Complete Formula Reference

Two-Sample T-Test for Means

ComponentFormula
Standard ErrorSE=s12n1+s22n2SE = \sqrt{\frac{s_1^2}{n_1} + \frac{s_2^2}{n_2}}
Test Statistict=(xˉ1−xˉ2)−(μ1−μ2)0SEt = \frac{(\bar{x}_1 - \bar{x}_2) - (\mu_1 - \mu_2)_0}{SE}
Confidence Interval(xˉ1−xˉ2)±t∗⋅SE(\bar{x}_1 - \bar{x}_2) \pm t^* \cdot SE
Degrees of FreedomUse technology (or conservatively the smaller of n1−1n_1 - 1, n2−1n_2 - 1)

Paired T-Test

ComponentFormula
Mean Differencexˉd=∑din\bar{x}_d = \frac{\sum d_i}{n}
Standard ErrorSE=sdnSE = \frac{s_d}{\sqrt{n}}
Test Statistict=xˉd−μd0SEt = \frac{\bar{x}_d - \mu_{d_0}}{SE}
Confidence Intervalxˉd±t∗⋅sdn\bar{x}_d \pm t^* \cdot \frac{s_d}{\sqrt{n}}
Degrees of Freedomdf=n−1df = n - 1

Decision Guide: Paired vs. Two-Sample

QuestionPairedTwo-Sample
Same subjects measured twice?✅❌
Before/after design?✅❌
Matched pairs (twins, siblings)?✅❌
Two independent groups?❌✅
Two separate groups formed by random assignment?❌✅
Check conditions on...Differences did_iEach sample
df=df = n−1n - 1Technology

Conditions Summary

Two-Sample Tests/CIs

  1. Random: Both samples from random processes (or random assignment)
  2. Normal: n1≥30n_1 \geq 30 and n2≥30n_2 \geq 30, or no strong skewness/outliers
  3. Independent: Samples independent of each other; each <10%< 10\% of its population

Paired Tests/CIs

  1. Random: Random sample of pairs (or randomly determine order)
  2. Normal: n≥30n \geq 30 differences, or differences show no strong skewness/outliers
  3. Independent: Individual pairs are independent; n<10%n < 10\% of all pairs in population

Interpretation Templates

Hypothesis Test Conclusion

"Since PP-value = ___ is [less/greater] than α=\alpha = ___, we [reject/fail to reject] H0H_0. There [is/is not] convincing evidence that [context: what the alternative hypothesis claims]."

Confidence Interval Interpretation

"We are ___% confident that the true difference in means [context: μ1−μ2\mu_1 - \mu_2 in words] is between ___ and ___."

Confidence Interval and Significance

  • If 0 is NOT in the CI → Reject H0H_0 (at the corresponding α\alpha)
  • If 0 IS in the CI → Fail to reject H0H_0

Key Concepts from Every Part

PartTopicKey Idea
1Two-Proportion Z-TestPooled p^c\hat{p}_c under H0:p1=p2H_0: p_1 = p_2
2Two-Sample T-TestTests for differences between independent groups
3Paired T-TestTests for differences within matched pairs
4Confidence IntervalsEstimate the true difference with a range
5Power & Sample SizePower = 1−β1 - \beta; larger nn → more power
6Problem-SolvingComplete 4-step process with real data

Power Quick Review

Power=1−β=P(reject H0∣H0 is false)\text{Power} = 1 - \beta = P(\text{reject } H_0 \mid H_0 \text{ is false})

Power increases when: n↑n \uparrow, α↑\alpha \uparrow, effect size ↑\uparrow, σ↓\sigma \downarrow

🔑 Final Tip: The AP exam tests your ability to (1) choose the right test, (2) check conditions, (3) calculate correctly, and (4) interpret in context. Practice the full 4-step process until it becomes automatic.

Comprehensive Review 🎯

Formula Application 🧮

1) Two-sample data: xˉ1=78\bar{x}_1 = 78, xˉ2=72\bar{x}_2 = 72, SE=2.5SE = 2.5. Calculate tt (round to 1 decimal place).

2) Paired data: xˉd=−4.5\bar{x}_d = -4.5, sd=6s_d = 6, n=36n = 36. Calculate SESE (round to 1 decimal place).

3) Using the values from #2, what is dfdf?

Concept Connections 🔍

Final Exam — Comparing Populations ✅