Wize University Statistics Textbook > Inference for Two Population Means
Confidence Interval 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
ECON 221
Concordia University
STAT 251
University of British Columbia
MGCR 271
McGill University
STATS 2B03
McMaster University
STAT 217
University of Calgary

0:00 / 0:00
Confidence Interval for Differences in Population Means
To make inferences about the difference in the population means (parameter), we use the difference in the sample means .
Wize Tip
Review Confidence Intervals if you need a refresher. (See: Estimating with Confidence Intervals)
We do not know the actual value of the difference in population means but we can provide a reasonable range to estimate it, by constructing confidence intervals given a certain confidence level (e.g. 90%, 95%, 99%). Like all confidence interval, it is constructed using a point estimate plus or minus a margin of error.
- When comparing two means, the point estimate (or statistic) is .
Example
We wish to estimate the difference in house prices between houses with fireplaces (Population 1) and houses without fireplaces (Population 2).
- The parameter that we are trying to estimate is .
- is unkown
- is unkown
- Therefore, the difference is unkown.
Suppose we draw samples from each population. Results:
- The average price of homes (in thousands) with fireplaces in Sample 1 is
- The average price of homes (in thousands) without fireplaces in Sample 2 is
- The point estimate or statistic is
- We estimate that the true difference in prices is $150,000.
The above is just a point estimate. Suppose we construct a 95% confidence interval. Results:
- 50 is the lower confidence level (LCL)
- 200 is the upper confidence level (UCL)
- We are 95% confident that the true difference in prices is between $50,000 and $200,000.
- We do not know the value of the true difference in prices but we are very confident that it is somewhere within that confidence interval.

0:00 / 0:00
Confidence Interval for Two Means Containing Zero
Comparing two means using confidence intervals for the difference is similar to a hypothesis test of no difference:
(no difference)
(difference)
Wize Concept
If the confidence interval does not contain "0", then there is evidence that the two population means differ.
If the interval contains "0", then there is no evidence that the two population means differ.
Example #1
95% confidence interval to estimate is
- The confidence interval does not contain zero.
- The LCL and UCL have the same sign (both positive).
- There is evidence of a difference.
- Specifically, is greater than .
Example #2
95% confidence interval to estimate is
- The confidence interval does not contain zero.
- The LCL and UCL have the same sign (both negative).
- There is evidence of a difference.
- Specifically, is less than than .
Example #3
95% confidence interval to estimate is
- The confidence interval contains zero.
- The LCL is negative and UCL is positive.
- There is no evidence of a difference.
- It's possible that is greater than .
- It's also possible that is less than .

0:00 / 0:00
Confidence Interval for Two Means (Independent Populations)
We make inferences with confidence intervals.
Wize Concept
If the confidence interval does not contain "0", then there is evidence that the two population means differ.
If the interval contains "0", then there is no evidence that the two population means differ.
Example
Ben, the owner of Fitness Planet wonders, if the amount of time spent at the gym differs by gender. His results:
Ben assumes that the two populations have unequal variances. He generates this output:
What is the -value? What do you conclude if you were to do a hypothesis test?
(two-tail test)
The -value is 0.00263. We have very strong evidence that the amount time spent at the gym differs by gender.
Construct a 95% confidence interval. What does it tell you (in plain English)?
We use:
We are 95% confident that the difference of time spent at the gym is between 2.45 minutes and 11.55 minutes.
Does the interval contain "0"? Interpret that that means.
The interval does not contain "0". This means that one group (specifically the men) is consistently different (specifically greater) than the other group (specifically the women) in terms of time spent at the gym.
Thus, we can conclude that the amount time spent at the gym differs by gender.
This is the same conclusion as the hypothesis test.