Skip to content Confidence Intervals for Means - Interactive Lesson | Study MondoConfidence Intervals for Means - Complete Interactive Lesson
Part 1: Inference for Means Basics
📊 Inference for Means
Part 1 of 7 — The t-Distribution
Why Not Z?
For means, we rarely know the population standard deviation sigma. We estimate it with the sample standard deviation s, introducing extra uncertainty.
The t-Distribution
t=fracbarx−mus/sqrtn
Properties:
- Bell-shaped and symmetric around 0
- Wider tails than Normal (more spread)
- Depends on degrees of freedom df=n−1
- As dftoinfty,
Conditions for t-Procedures
- Random: Data from random sample or experiment
- Normal/Large Sample: Population is Normal OR ngeq30 (CLT)
- Independent: n<10 of population
t-Distribution Basics 🧮
n=25, barx=82, s=10.
1) Degrees of freedom?
2) Standard error
Part 2: T-Distribution
📏 Confidence Intervals for Means
Part 2 of 7 — One-Sample t Interval
Formula
barxpmt∗fracssqrt
Part 3: Confidence Intervals for Means
⚖️ Hypothesis Tests for Means
Part 3 of 7 — One-Sample t Test
Test Statistic
t=fracbarx−mu0
Part 4: Hypothesis Tests for Means
📊 Two-Sample t-Procedures
Part 4 of 7 — Comparing Two Means
Two-Sample t-Interval
(barx1
Part 5: Matched Pairs
🤝 Matched Pairs
Part 5 of 7 — Paired t-Procedures
When to Use Paired t
- Same subjects measured twice (before/after)
- Subjects matched in pairs
- Two measurements on the same item
Procedure
- Compute differences d=x1−x2 for each pair
Part 6: Problem-Solving Workshop
🏆 Problem-Solving Workshop
Part 6 of 7 — AP-Style Practice
Choosing the Right Procedure
| Scenario | Procedure |
|---|
| One mean, sigma unknown | One-sample t |
| Two independent means | Two-sample t |
| Paired data | Matched pairs t |
| One proportion | One-sample z |
| Two proportions | Two-sample z |
AP Scoring Tips
- Name the procedure explicitly (“one-sample t-test”, not just “t-test”)
- Always identify the parameter in context
- State ALL conditions, not just assume them
- Use proper notation (, , , etc.)
Part 7: Mixed Review
📝 Mixed Review
Part 7 of 7 — Comprehensive Review
Summary Table
| Procedure | Statistic | SE | df |
|---|
| One-sample t | barx | s/sqrtn | |
ttoN(0,1)
=s/sqrtn=?
3) t-statistic for testing mu=80: t=(82−80)/SE=?
n
where t∗ comes from the t-table with df=n−1.
Interpretation
“We are [C]% confident that the true mean [context] is between [lower] and [upper].”
Example
n=20, barx=45.2, s=6.8, 95% CI.
df=19, t∗=2.093 (from table)
45.2pm2.093timesfrac6.8sqrt20=45.2pm3.18
CI: (42.02,48.38)
t-Interval 🧮
n=36, barx=110, s=12, 95% CI (t∗approx2.030 for df=35).
1) SE=s/sqrtn=?
2) Margin of error =t∗timesSE=? (round to 1 place)
3) Lower bound of CI?
s/sqrtn
Steps (4-Step Process)
- State: H0:mu=mu0 vs. Ha:muneqmu0 (or < or >)
- Plan: Check Random, Normal, Independent conditions
- Do: Calculate t and find p-value using t-table with df=n−1
- Conclude: Compare p-value to alpha, interpret in context
Example
H0:mu=100, Ha:mu>100. n=16, barx=106, s=12.
t=frac106−10012/sqrt16=frac63=2.0
df=15. From the t-table, P(t>2.0)approx0.032.
Since 0.032<0.05, reject H0.
t-Test 🧮
H0:mu=50, Ha:muneq50. n=25, barx=53, s=5.
1) SE=?
2) t=?
3) df=?
−
barx2)
pmt∗
sqrtfracs12n1+fracs22n2
Two-Sample t-Test
t=frac(barx1−barx2)−0sqrtfracs12n1+fracs2
Degrees of Freedom
Use the calculator’s Welch’s approximation (complex formula), or the conservative approach:
df=min(n1−1,n2−1)
Key Point
Do NOT pool variances unless told the populations have equal variance (which is rare on the AP exam).
Two-Sample Comparison 🧮
Group A: barx1=78,s1=10,n1=30. Group B: barx2=72,s2=12,n.
1) Point estimate for mu1−mu2?
2) Conservative df=?
3) SE=sqrt102/30+122/25 = ? (round to 2 places)
Perform a one-sample t-test on the differencest=fracbard−0sd/sqrtn
where n = number of pairs, bard = mean of differences, sd = SD of differences.
Example
10 patients’ blood pressure before and after a drug:
bard=−8.5 (mean decrease), sd=6.2
t=frac−8.5−06.2/sqrt10=frac−8.51.96=−4.34
df=9. Strong evidence that the drug reduces blood pressure.
Matched Pairs 🧮
12 students take a test before and after tutoring. Mean difference bard=5.0 (improvement), sd=3.6.
1) SE=sd/sqrtn=? (round to 2 places)
2) t=bard/SE=? (round to 2 places)
3) df=?
barx
Procedure Selection 🧮
Name the correct procedure for each:
1) Estimating the mean GPA of all students at a school based on a random sample of 50.
2) Comparing mean test scores between students who used a study app vs. those who didn’t.
3) Testing whether a training program improved employees’ productivity (measured before and after).
n−1
| Two-sample t | barx1−barx2 | sqrts12/n1+s22/n | min(n1−1,n2−1) |
| Matched pairs | bard | sd/sqrtn | n−1 |
Key Reminders
- t-procedures are robust against non-Normality for large n
- Check for outliers with small samples
- Use a Normal probability plot to assess Normality for small n
- Degrees of freedom determine the shape of the t-distribution
Final Challenge 🧮
n=50, barx=25.3, s=4.0. Test H0:mu=24 vs. Ha:muneq24 at alpha=0.05.
1) t=? (round to 2 places)
2) df=?
3) With ∣t∣=2.30 and df=49, is the result significant at alpha=0.05? (yes/no)
2
n2
2
=
25
2