Wize University Statistics Textbook > Inference for Two Population Means
Hypothesis Testing for Two Independent Means
Popular Courses
STAT 151
University of Alberta
AP Statistics Exam Prep Course
AP Exam Prep
Statistics
General Course
Intro to Statistics
University Study Guides
COMM 191
University of British Columbia
STA 100
University of California - Davis
STATS 2244
Western University
STAT 200
University of British Columbia
Intro to Statistics
University Study Guides
STATS 2035
Western University
STAT 161
University of Alberta
QMS 210
Toronto Metropolitan University
STAT 263
Queen's University
STAT 2040
University of Guelph
ENDG 319
University of Calgary
STAT 251
University of British Columbia
MGCR 271
McGill University
STATS 2B03
McMaster University
STAT 217
University of Calgary
COMM 162
Queen's University

0:00 / 0:00
Comparing Two Independent Means

The inference two independent means entails comparing the characteristics of two populations. We can also compare the responses of two treatments groups.
Examples
- We compare the Olympic sponsorship (response) between USA and Tonga (two populations).
- We compare the effectiveness (response) between Drug A and Drug B (two treatments).
How to identify this type of situation
- There are two samples: {Sample 1, Sample 2}
- Each sample is randomly drawn from different, non-overlapping populations.
- Sample 1 is drawn from Population 1 with and
- Sample 2 is drawn from Population 2 with and
- The two populations are independent (there is no matching of individuals or observations in the two samples)
Wize Concept
When there is matching of individuals or observations in the two samples, then the two means are dependent, which means you should perform a Matched Pairs test. (See: Matched Pairs for Dependent Means)
- Let . Each of the two samples will consist of:
- Sample mean
- Sample standard deviation
- and (population standard deviations) are unknown and, instead, and (sample standard deviations) are used.
- Sample size
- It's okay if sample sizes differ as they do not need to be equal.
- Central Limit Theorem applies:
- If both population distributions are normal, then the sample sizes do not need to be large.
- If both population distributions are not normal, then the sample sizes need to be large.
- When in doubt, you should have sufficiently large sample sizes.
Summary

To make inferences about the difference in the population means (parameter), we use the difference in the sample means (statistic).
Wize Concept
Inferences includes hypothesis tests and confidence intervals.

0:00 / 0:00
Hypothesis Test Steps: Comparing Two Independent Means
We can compare the two population means by running a hypothesis test.
Wize Tip
Review Hypothesis Testing if you need a refresher of the five steps. (See: Hypothesis Testing with One Sample)
- Step 1: State the hypotheses
- Is this a one-sided or two-sided test?
- To make inferences about the difference in the population means (two-sided test), the hypotheses are:
- You can also test if one population mean is greater/less than the other population mean at either direction (one-sided test), depending on the question:
OR
- Step 2: Note the significance level
- You may find the critical value, depending on and # of sides
- Step 3: Locate the relevant variables and run the appropriate test
- Find
- To Pool or Not to Pool?
- If we can assume pooled variance t-test
- Otherwise, we assume unequal variance t-test
- Step 4: Find the p-value
- The p-value is based on your test statistic and # of sides
- If p-value Reject
- If p-value Fail to reject
- You can also compare the critical value with the test statistic
- If Reject
- If Fail to reject
- Step 5: Draw your conclusion
- If you reject , you conclude that there is evidence for . Example: "There is evidence that the means differ."
- If you fail to reject , you conclude that there is no evidence for . Example: "There is no evidence that the means differ."