Tests for Means
Perform one-sample and two-sample t-tests for means.
Try the Interactive Version!
Learn step-by-step with practice exercises built right in.
📈 Tests of Significance for Means
One-Sample t-Test
When to use: One sample, testing whether
Test statistic:
Where:
- = sample mean
- = hypothesized population mean
- = sample standard deviation
- = sample size
- Degrees of freedom:
Conditions:
- Random sample from population
- Independent observations (or )
- Approximately normal: Data roughly normal OR (CLT)
Worked Example: A coffee shop claims their average cup is 16 oz. A random sample of 25 cups has mean oz, SD oz. Test at .
- ; two-tailed critical value
- Since , reject
- Conclusion: Average cup is significantly below 16 oz
Two-Sample t-Test (Welch's Test)
When to use: Comparing two populations; testing
Test statistic:
Degrees of freedom (Welch): Complex formula (calculators handle this)
Conditions: Both samples random, independent, approximately normal
Use: When sample sizes unequal or variances appear different
Common Mistakes
❌ Using z-test instead of t-test for means (unknown ) ❌ Using pooled t-test when variances unequal (use Welch) ❌ Confusing with (the standard deviation) ❌ Assuming normality without checking
Decision Rule
- If , reject
- If p-value , reject
AP Exam Tip
Always specify degrees of freedom. Name the test clearly: "one-sample t-test" or "two-sample t-test." Mention whether conditions are met.
📚 Practice Problems
1Problem 1easy
❓ Question:
State the hypotheses for testing whether a population mean differs from 100, and identify whether this is one-tailed or two-tailed.
💡 Show Solution
Null hypothesis: (the population mean is 100). Alternative hypothesis: (the population mean differs from 100). This is a two-tailed test because the alternative specifies a difference in either direction ('not equal to'). Both tails of the t-distribution contribute to the p-value.
2Problem 2medium
❓ Question:
A sample of 36 high school athletes has seconds and seconds on a fitness test. Test whether the mean differs from 70 seconds at . Calculate the test statistic and provide the p-value range.
💡 Show Solution
State: vs , . Check: Random sample (assumed), population approximately Normal or ✓. with . From t-table with : For , the two-tailed p-value is between 0.30 and 0.40 (approximately 0.32). Since p-value > 0.05, we fail to reject .
3Problem 3hard
❓ Question:
A farmer claims the mean weight of his apples is at least 200 grams. A sample of 25 apples yields grams, grams. Conduct a complete hypothesis test at and conclude in context.
💡 Show Solution
State: vs (one-tailed, claim is directional), . Plan/Check: Random sample, population approximately Normal or close to 30 (assume normality if reasonable). Do: with . From t-table: corresponds to one-tailed p-value between 0.05 and 0.10 (approximately 0.055). Conclude: Since p-value ≈ 0.055 > 0.05, we fail to reject . There is insufficient evidence to conclude the mean weight is less than 200 grams. The farmer's claim is supported by the data.
⚠️ Common Mistakes: Tests for Means
Avoid these 3 frequent errors
Practice with Flashcards
Rate this topic's cards with spaced repetition. Cards join your deck when you finish a topic's lesson and take its exit quiz.
Browse All Topics
Explore more AP Statistics topics