Hypothesis Testing II: Comparing Two Groups (Video lecture)
Many engineering questions compare two conditions: two servers, two suppliers, before and after a change. The design — independent samples versus paired observations — decides the test.
Independent groups use Welch's two-sample \(t\) procedure as the default; a preliminary variance test is not used to choose automatically between pooled and Welch analyses. Paired observations use a paired \(t\)-test on the differences. For independent binary outcomes, we compare two proportions through a risk difference and its uncertainty. A confidence interval for the difference in engineering units keeps the result from collapsing to a single \(p\)-value. Statistical significance is not the same as practical importance.
Key Concepts¶
- Independent samples versus paired observations
- Two-sample \(t\)-test and Welch's \(t\)-test
- Paired \(t\)-test
- Comparison of two independent proportions
- Confidence interval for a difference
- Statistical significance versus practical importance
Learning Objectives
- Choose between independent and paired data.
- Perform Welch's two-sample \(t\)-test as the default for independent groups.
- Perform a paired \(t\)-test.
- Compare two independent proportions and report a risk difference with uncertainty.
- Report a confidence interval for the difference and an effect size.
- Distinguish statistical significance from practical importance.
Session Preparation:¶
Brooks: Chapter 8
Resources¶
Tutorial 8: A/B test of response times
Assignment 4 — One- and Two-Sample Tests — due 3 Nov. 2026, 12:45
Video Lecture: 08 Hypothesis Testing II: Comparing Two Groups¶
27 October 2026