Skip to content Tests for Means - Interactive Lesson | Study MondoTests 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โ
sqrtfracs12โn1โ+fracs22โn2โ
Two-Sample t-Test
t=frac(barx1โโbarx2โ)โ0sqrtfracs12โn1โ+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
โ