Two-Sample Tests Math Example 3
Follow the full solution, then compare it with the other examples linked below.
Example 3
easyWhen should a two-sample t-test be used instead of a z-test, and what is the key assumption about the two groups?
Solution
- 1 Use t-test when: population standard deviation is unknown (use sample SD instead); typically when or when normality is assumed
- 2 Use z-test when: is known; or is large enough for CLT (nโฅ30 per group)
- 3 Key assumption: the two groups must be INDEPENDENT โ no pairing or matching; units in one group are unrelated to units in the other group
Answer
Use t-test when ฯ is unknown (small n). Key assumption: the two groups are independent.
The t-distribution accounts for uncertainty in estimating ฯ from sample data. As n increases, the t-distribution approaches the z-distribution. The independence assumption distinguishes two-sample tests from paired tests.
About Two-Sample Tests
Hypothesis tests and confidence intervals for comparing parameters (means or proportions) of two independent populations. The two-sample t-test compares means; the two-proportion z-test compares proportions.
Learn more about Two-Sample Tests โMore Two-Sample Tests Examples
Example 1 medium
Test whether two teaching methods differ in effectiveness. Method A ([formula], [formula], [formula]
Example 2 hardConstruct a 95% confidence interval for [formula] given: [formula], [formula], [formula], [formula],
Example 4 hardTwo independent samples: Group 1 ([formula]), Group 2 ([formula]). Calculate the t-statistic and df