Sometimes in statistical studies, it is important to compare two different populations to see if they are different. For instance, what if we want to compare the weights of two types of apples:
? Perhaps we believe that the weight of
is more than
or maybe we just think they are different. Either way, we have the statistical means to check if the weights are different or if one weighs more than the other. One option of comparing these two populations is to create a confidence interval for the difference of two population means.
Conditions
As with any act of statistical inference, we must check our conditions for inference prior to performing any calculations.
Random
It is absolutely essential that your samples come from a randomized process since we seek to infer things about a population. Since we are dealing with two populations, both samples must be random. If you are performing an experiment to check the difference in two populations, you must verify that both samples were
randomly assigned to treatments.
Independent
Since we are generally sampling without replacement, we must check to be sure that the samples are independent. We can use this by checking the
10% condition for both samples.
NOTE: If doing an experiment, it is not necessary to check the 10% condition. A randomized experiment is sufficient for independence.
Normal
To check normality of a sampling distribution for the difference in two population means, we have to ensure that both samples have approximately normal sampling distributions. This can be done using the
Central Limit Theorem (n ≥ 30), verifying that both populations are normally distributed, or by checking that box plots of both samples show no strong skewness or apparent outliers.
Calculations
To calculate a confidence interval for the difference in two population means, we must first calculate our
point estimate and
margin of error.
Point Estimate
Our point estimate is what we believe the difference between the two populations is, based on our sample means. To find this, we simply subtract our two sample means.

Margin of Error
Our margin of error is what we add/subtract to our point estimate to create our confidence interval. For a confidence interval for the difference of two population means, the formula for margin of error is below:

Calculator Commands
A much easier, more efficient way of calculating a confidence interval for the difference in two population means is to use technology such as a graphing calculator. On a TI-84, you would start by going into the stats menu, scrolling to test and selecting
2 Sample T Interval, where you would input the given statistics to calculate the confidence interval.
Example
Let's say that we have a bag of green apples and a bag of red apples and we want to estimate the difference in population means of the two types of apples. Our sample of 30

s weighs a mean of 5 oz with a standard deviation of 0.2 oz, and our sample of 30

s weighs a mean of 4.5 oz with a standard deviation of 0.15 oz. Create and interpret a confidence interval for the difference in the two population means of the weights of green apples and red apples.
The easiest way to construct your interval is to use technology such as a graphing calculator:

We always select
not pooled when doing two sample intervals and tests because we do not know if the populations have equal variances. After calculating, we get the following interval: (0.408, 0.592).
Question for Chapter Notes: Confidence Intervals for the Difference of Two Means
Try yourself:
What must be true for samples when comparing two populations?Explanation
When comparing two different populations, it is essential that both samples come from a randomized process. This ensures that the samples accurately represent the populations being studied.
- Random samples help in making valid inferences.
- Randomization is key to avoiding bias in the results.
In summary, ensuring that both samples are random is crucial for valid statistical comparisons.
Report a problem
Key Terms to Review
- 2 Sample T Interval: A statistical method used to estimate the confidence interval for the difference between the means of two independent groups.
- Central Limit Theorem: States that the sampling distribution of the sample mean approaches a normal distribution as the sample size increases.
- Confidence Interval: A range of values derived from sample statistics that is likely to contain the true value of an unknown population parameter.
- Independent Events: Two or more events that do not influence each other's occurrence.
- Margin of Error: Quantifies the uncertainty associated with a sample estimate.
- Not Pooled: Refers to a statistical approach where the variances of two populations are considered unequal.
- Point Estimate: A single value that serves as an approximation of a population parameter.
- Standard Deviation: A measure of the amount of variation or dispersion in a set of values.