Section7.5The sampling distribution in other scenarios
In SectionΒ 7.1, SectionΒ 7.3, and SectionΒ 7.4, we studied the expected value, standard error, and shape for sample proportions and sample means. The same principles apply to other sample statistics as well. In this section, we consider the sampling distribution of statistics based on two independent samples.
Subsection7.5.1Sampling distribution for two samples
Many studies compare parameters across two populations. For example, we might ask whether the average weight of almonds from one supplier differs from that of another, or whether one treatment produces better outcomes than another. In such cases, we take independent random samples from each population and compare sample statistics.
Suppose we compare the average weight of chocolate-covered almonds (population 1) against the average weight of coffee beans (population 2). The sample statistic of interest is the difference in sample means: \(\overline{X}_1 - \overline{X}_2\text{.}\)
Let population 1 have mean \(\mu_1\) and standard deviation \(\sigma_1\text{,}\) and let population 2 have mean \(\mu_2\) and standard deviation \(\sigma_2\text{.}\) We draw independent random samples of sizes \(n_1\) and \(n_2\text{.}\) Then by the CLT:
Notice that when computing the standard error of the difference, we add the variances rather than subtract them. This is because both samples contribute uncertainty independently: adding or subtracting two random quantities always increases the total uncertainty.
Subsubsection7.5.1.2Difference in sample proportions
We can also compare two sample proportions. Suppose we want to compare the proportion of red balls in the bowl (population 1) with the proportion of almonds heavier than 3.8 grams in the almond bowl (population 2). We take a sample of \(n_1 = 50\) balls and a sample of \(n_2 = 60\) almonds.
The histogram is also bell-shaped, centered around a negative value of approximately \(-0.05\text{,}\) reflecting the fact that the proportion of almonds heavier than 3.8 grams is somewhat higher than the proportion of red balls.
For \(\overline{X}_1\) (proportion of red balls, \(n_1 = 50\)) and \(\overline{X}_2\) (proportion of almonds \(> 3.8\) g, \(n_2 = 60\)), the CLT gives: