Understand the sampling distribution of differences between means—what it is, why it matters, and how to apply it in hypothesis testing (with examples). Perfect for students, data scientists, and analysts! Ever wondered how statisticians compare two groups (e.g., test scores, sales performance, or medical treatments)? The key lies in the sampling distribution of differences between means—a fundamental concept for hypothesis testing, confidence intervals, and A/B testing.
Table of Contents
Sampling Distribution of Differences Between Means
The Sampling Distribution of Differences Between Means is the probability distribution of differences between two sample means (e.g.,
Let there are two populations of size
Let
We call the frequency distribution differences as frequency distribution, while the probability distribution of the differences is the sampling distribution of differences between means.
Notations for Sampling Distribution of Differences between Means
Notation | Short Description |
---|---|
Mean of the first population | |
Mean of the second population | |
Variance of the first population | |
Variance of the second population | |
Standard deviation of the first population | |
Standard deviation of the second population | |
Mean of the sampling distribution of difference between means | |
Variance of the sampling distribution of difference between means | |
Standard deviation of the sampling distribution of difference between means |
Some Formulas for Sampling with/without Replacement
Sr. No. | Sampling with Replacement | Sampling without Replacement |
---|---|---|
1. | ||
2. | ||
3. |
Example
Let
- $\sigma^2_{\overline{x}_1 – \overline{x}_2} = \frac{\sigma_1^2}{n_1}+\frac{\sigma_2^2}{n_2}
Solution
Population I | Population II |
---|---|
5, 7, 9 | 4, 6, 8 |
Possible samples with Replacement are | Possible samples with Replacement are |
All Possible Samples
All possible differences between samples means from both of the population is (
4 | 5 | 5 | 6 | 6 | 6 | 7 | 7 | 8 | |
5 | 5-4= 1 | 0 | 0 | -1 | -1 | -1 | -2 | -2 | -3 |
6 | 2 | 1 | 1 | 0 | 0 | 0 | -1 | -1 | -2 |
6 | 2 | 1 | 1 | 0 | 0 | 0 | -1 | -1 | -2 |
7 | 3 | 2 | 2 | 1 | 1 | 1 | 0 | 0 | -1 |
7 | 3 | 2 | 2 | 1 | 1 | 1 | 0 | 0 | -1 |
7 | 3 | 2 | 2 | 1 | 1 | 1 | 0 | 0 | -1 |
8 | 4 | 3 | 3 | 2 | 2 | 2 | 1 | 1 | 0 |
8 | 4 | 3 | 3 | 2 | 2 | 2 | 1 | 1 | 0 |
9 | 5 | 4 | 4 | 3 | 3 | 3 | 2 | 2 | 1 |
The Sampling Distribution of Differences Between Means
-3 | 1 | 1/81 | 9 | 9/81 | |
-2 | 4 | 4/81 | -8/81 | 4 | 16/81 |
-1 | 10 | 10/81 | -10/81 | 1 | 10/81 |
0 | 16 | 16/81 | 0/81 | 0 | 0/81 |
1 | 19 | 19/81 | 19/81 | 1 | 19/81 |
2 | 16 | 16/81 | 31/81 | 4 | 64/81 |
3 | 10 | 10/81 | 30/81 | 9 | 90/81 |
4 | 4 | 4/81 | 16/81 | 16 | 64/81 |
5 | 1 | 1/81 | 5/81 | 25 | 125/81 |
Total | 81 | 81/81=1 | 297/81=3.67 |