Hypothesis Testing: The t-Test for Comparing Two Population Means
IB DP Mathematics: Applications and InterpretationSL & HLStatistics and ProbabilityTopic 4.11
Free previewRead the preview below. The full note is free with an account.
Unlock the full notes01
Real-World Introduction
A pharmaceutical company develops a new sleep aid and wants to know whether patients taking it sleep significantly longer than those taking a placebo. They record sleep duration for 15 patients on the drug and 18 patients on the placebo. The sample means differ — but is that difference real, or just random variation between the two groups?
This is exactly the problem the two-sample t-test is designed to answer. It quantifies how likely the observed difference in means would be if there were actually no difference in the underlying populations. The test is used in medicine, psychology, education, and engineering whenever two independent groups are compared on a numerical measurement.
02
Core Concepts & Definitions
Before running any hypothesis test, it is essential to understand what question is being asked. The two-sample t-test compares the means of two independent populations. The word "independent" is critical: the two groups must have no relationship to each other — the same individual cannot appear in both groups.
The test uses sample data from each group to estimate the population means. Because the population standard deviations and are unknown, the test statistic follows a t-distribution rather than a normal distribution. The shape of the t-distribution depends on the degrees of freedom, which the GDC calculates automatically.
Conditions for Applying the Two-Sample t-Test
The two-sample t-test is valid only when specific
The preview ends here
Read the full note
- The complete note with worked examples
- Practice questions with mark schemes
- Help from an experienced tutor
