When one or the other of the sample sizes is small, as is often the case in practice, the Central Limit Theorem does not apply. We must then impose conditions on the population to give statistical validity to the test procedure. We will assume that both populations from which the samples are taken have a normal probability distribution and that their standard deviations are equal.
When the two populations are normally distributed and have equal standard deviations, the following formula for a confidence interval for μ1−μ2 is valid.
The number of degrees of freedom is df=n1+n2−2.
The samples must be independent, the populations must be normal, and the population standard deviations must be equal. “Small” samples means that either n1<30 or n2<30.
The quantity s2p is called the pooled sample variance. It is a weighted average of the two estimates s21 and s22 of the common variance σ21=σ22 of the two populations.
A software company markets a new computer game with two experimental packaging designs. Design 1 is sent to 11 stores; their average sales the first month is 52 units with sample standard deviation 12 units. Design 2 is sent to 6 stores; their average sales the first month is 46 units with sample standard deviation 10 units. Construct a point estimate and a 95% confidence interval for the difference in average monthly sales between the two package designs.
Solution:
The point estimate of μ1−μ2 is
ˉx1−ˉx2=52−46=6In words, we estimate that the average monthly sales for Design 1 is 6 units more per month than the average monthly sales for Design 2.
To apply the formula for the confidence interval, we must find tα∕2. The 95% confidence level means that α = 1 − 0.95 = 0.05 so that tα∕2=t0.025. From Figure 12.3 "Critical Values of ", in the row with the heading df = 11 + 6 − 2 = 15 we read that t0.025=2.131. From the formula for the pooled sample variance we compute
s2p=(n1−1)s21+(n2−1)s22n1+n2−2=(10)(12)2+(5)(10)215=129.ˉ3Thus
(ˉx1−ˉx2)±tα∕2√s2p(1n1+1n2)=6±(2.131)√129.ˉ3(111+16)≈6±12.3We are 95% confident that the difference in the population means lies in the interval [−6.3,18.3], in the sense that in repeated sampling 95% of all intervals constructed from the sample data in this manner will contain μ1−μ2. Because the interval contains both positive and negative values the statement in the context of the problem is that we are 95% confident that the average monthly sales for Design 1 is between 18.3 units higher and 6.3 units lower than the average monthly sales for Design 2.
Testing hypotheses concerning the difference of two population means using small samples is done precisely as it is done for large samples, using the following standardized test statistic. The same conditions on the populations that were required for constructing a confidence interval for the difference of the means must also be met when hypotheses are tested.
The test statistic has Student’s t-distribution with df=n1+n2−2 degrees of freedom.
The samples must be independent, the populations must be normal, and the population standard deviations must be equal. “Small” samples means that either n1<30 or n2<30.
Refer to Note 9.11 "Example 4" concerning the mean sales per month for the same computer game but sold with two package designs. Test at the 1% level of significance whether the data provide sufficient evidence to conclude that the mean sales per month of the two designs are different. Use the critical value approach.
Solution:
Step 1. The relevant test is
H0:μ1−μ2=0 vs. Ha:μ1−μ2≠0@ α=0.01Step 2. Since the samples are independent and at least one is less than 30 the test statistic is
T=(ˉx1−ˉx2)−D0√s2p(1n1+1n2)which has Student’s t-distribution with df=11+6−2=15 degrees of freedom.
Step 3. Inserting the data and the value D0=0 into the formula for the test statistic gives
T=(ˉx1−ˉx2)−D0√s2p(1n1+1n2)=(52−46)−0√129.ˉ3(111+16)=1.040Step 4. Since the symbol in Ha is “≠” this is a two-tailed test, so there are two critical values, ±tα∕2=±t0.005. From the row in Figure 12.3 "Critical Values of " with the heading df=15 we read off t0.005=2.947. The rejection region is (−∞,−2.947]∪[2.947,∞).
Figure 9.4 Rejection Region and Test Statistic for Note 9.13 "Example 5"
Step 5. As shown in Figure 9.4 "Rejection Region and Test Statistic for " the test statistic does not fall in the rejection region. The decision is not to reject H0. In the context of the problem our conclusion is:
The data do not provide sufficient evidence, at the 1% level of significance, to conclude that the mean sales per month of the two designs are different.
Perform the test of Note 9.13 "Example 5" using the p-value approach.
Solution:
The first three steps are identical to those in Note 9.13 "Example 5".
Step 4. Because the test is two-tailed the observed significance or p-value of the test is the double of the area of the right tail of Student’s t-distribution, with 15 degrees of freedom, that is cut off by the test statistic T = 1.040. We can only approximate this number. Looking in the row of Figure 12.3 "Critical Values of " headed df=15, the number 1.040 is between the numbers 0.866 and 1.341, corresponding to t0.200 and t0.100.
The area cut off by t = 0.866 is 0.200 and the area cut off by t = 1.341 is 0.100. Since 1.040 is between 0.866 and 1.341 the area it cuts off is between 0.200 and 0.100. Thus the p-value (since the area must be doubled) is between 0.400 and 0.200.
Step 5. Since p>0.200>0.01, p>α, so the decision is not to reject the null hypothesis:
The data do not provide sufficient evidence, at the 1% level of significance, to conclude that the mean sales per month of the two designs are different.
In all exercises for this section assume that the populations are normal and have equal standard deviations.
Construct the confidence interval for μ1−μ2 for the level of confidence and the data from independent samples given.
95% confidence,
n1=10, ˉx1=120, s1=2
n2=15, ˉx2=101, s2=4
99% confidence,
n1=6, ˉx1=25, s1=1
n2=12, ˉx2=17, s2=3
Construct the confidence interval for μ1−μ2 for the level of confidence and the data from independent samples given.
90% confidence,
n1=28, ˉx1=212, s1=6
n2=23, ˉx2=198, s2=5
99% confidence,
n1=14, ˉx1=68, s1=8
n2=20, ˉx2=43, s2=3
Construct the confidence interval for μ1−μ2 for the level of confidence and the data from independent samples given.
99.9% confidence,
n1=35, ˉx1=6.5, s1=0.2
n2=20, ˉx2=6.2, s2=0.1
99% confidence,
n1=18, ˉx1=77.3, s1=1.2
n2=32, ˉx2=75.0, s2=1.6
Construct the confidence interval for μ1−μ2 for the level of confidence and the data from independent samples given.
99.5% confidence,
n1=40, ˉx1=85.6, s1=2.8
n2=20, ˉx2=73.1, s2=2.1
99.9% confidence,
n1=25, ˉx1=215, s1=7
n2=35, ˉx2=185, s2=12
Perform the test of hypotheses indicated, using the data from independent samples given. Use the critical value approach.
Test H0:μ1−μ2=11 vs. Ha:μ1−μ2>11 @ α=0.025,
n1=6, ˉx1=32, s1=2
n2=11, ˉx2=19, s2=1
Test H0:μ1−μ2=26 vs. Ha:μ1−μ2≠26 @ α=0.05,
n1=17, ˉx1=166, s1=4
n2=24, ˉx2=138, s2=3
Perform the test of hypotheses indicated, using the data from independent samples given. Use the critical value approach.
Test H0:μ1−μ2=40 vs. Ha:μ1−μ2<40 @ α=0.10,
n1=14, ˉx1=289, s1=11
n2=12, ˉx2=254, s2=9
Test H0:μ1−μ2=21 vs. Ha:μ1−μ2≠21 @ α=0.05,
n1=23, ˉx1=130, s1=6
n2=27, ˉx2=113, s2=8
Perform the test of hypotheses indicated, using the data from independent samples given. Use the critical value approach.
Test H0:μ1−μ2=−15 vs. Ha:μ1−μ2<−15 @ α=0.10,
n1=30, ˉx1=42, s1=7
n2=12, ˉx2=60, s2=5
Test H0:μ1−μ2=103 vs. Ha:μ1−μ2≠103 @ α=0.10,
n1=17, ˉx1=711, s1=28
n2=32, ˉx2=598, s2=21
Perform the test of hypotheses indicated, using the data from independent samples given. Use the critical value approach.
Test H0:μ1−μ2=75 vs. Ha:μ1−μ2>75 @ α=0.025,
n1=45, ˉx1=674, s1=18
n2=29, ˉx2=591, s2=13
Test H0:μ1−μ2=−20 vs. Ha:μ1−μ2≠−20 @ α=0.005,
n1=30, ˉx1=137, s1=8
n2=19, ˉx2=166, s2=11
Perform the test of hypotheses indicated, using the data from independent samples given. Use the p-value approach. (The p-value can be only approximated.)
Test H0:μ1−μ2=12 vs. Ha:μ1−μ2>12 @ α=0.01,
n1=20, ˉx1=133, s1=7
n2=10, ˉx2=115, s2=5
Test H0:μ1−μ2=46 vs. Ha:μ1−μ2≠46 @ α=0.10,
n1=24, ˉx1=586, s1=11
n2=27, ˉx2=535, s2=13
Perform the test of hypotheses indicated, using the data from independent samples given. Use the p-value approach. (The p-value can be only approximated.)
Test H0:μ1−μ2=38 vs. Ha:μ1−μ2<38 @ α=0.01,
n1=12, ˉx1=464, s1=5
n2=10, ˉx2=432, s2=6
Test H0:μ1−μ2=4 vs. Ha:μ1−μ2≠4 @ α=0.005,
n1=14, ˉx1=68, s1=2
n2=17, ˉx2=67, s2=3
Perform the test of hypotheses indicated, using the data from independent samples given. Use the p-value approach. (The p-value can be only approximated.)
Test H0:μ1−μ2=50 vs. Ha:μ1−μ2>50 @ α=0.01,
n1=30, ˉx1=681, s1=8
n2=27, ˉx2=625, s2=8
Test H0:μ1−μ2=35 vs. Ha:μ1−μ2≠35 @ α=0.10,
n1=36, ˉx1=325, s1=11
n2=29, ˉx2=286, s2=7
Perform the test of hypotheses indicated, using the data from independent samples given. Use the p-value approach. (The p-value can be only approximated.)
Test H0:μ1−μ2=−4 vs. Ha:μ1−μ2<−4 @ α=0.05,
n1=40, ˉx1=80, s1=5
n2=25, ˉx2=87, s2=5
Test H0:μ1−μ2=21 vs. Ha:μ1−μ2≠21 @ α=0.01,
n1=15, ˉx1=192, s1=12
n2=34, ˉx2=180, s2=8
A county environmental agency suspects that the fish in a particular polluted lake have elevated mercury level. To confirm that suspicion, five striped bass in that lake were caught and their tissues were tested for mercury. For the purpose of comparison, four striped bass in an unpolluted lake were also caught and tested. The fish tissue mercury levels in mg/kg are given below.
Sample 1 Sample 2(from polluted lake)(from unpolluted lake)0.5800.3820.7110.2760.5710.5700.6660.3660.598A genetic engineering company claims that it has developed a genetically modified tomato plant that yields on average more tomatoes than other varieties. A farmer wants to test the claim on a small scale before committing to a full-scale planting. Ten genetically modified tomato plants are grown from seeds along with ten other tomato plants. At the season’s end, the resulting yields in pound are recorded as below.
Sample 1Sample 2(genetically modified)(regular)2021232127222518252025202718232524232220The coaching staff of a professional football team believes that the rushing offense has become increasingly potent in recent years. To investigate this belief, 20 randomly selected games from one year’s schedule were compared to 11 randomly selected games from the schedule five years later. The sample information on rushing yards per game (rypg) is summarized below.
n | ˉx | s | |
---|---|---|---|
rypg previously | 20 | 112 | 24 |
rypg recently | 11 | 114 | 21 |
The coaching staff of professional football team believes that the rushing offense has become increasingly potent in recent years. To investigate this belief, 20 randomly selected games from one year’s schedule were compared to 11 randomly selected games from the schedule five years later. The sample information on passing yards per game (pypg) is summarized below.
n | ˉx | s | |
---|---|---|---|
pypg previously | 20 | 203 | 38 |
pypg recently | 11 | 232 | 33 |
A university administrator wishes to know if there is a difference in average starting salary for graduates with master’s degrees in engineering and those with master’s degrees in business. Fifteen recent graduates with master’s degree in engineering and 11 with master’s degrees in business are surveyed and the results are summarized below.
n | ˉx | s | |
---|---|---|---|
Engineering | 15 | 68,535 | 1627 |
Business | 11 | 63,230 | 2033 |
A gardener sets up a flower stand in a busy business district and sells bouquets of assorted fresh flowers on weekdays. To find a more profitable pricing, she sells bouquets for 15 dollars each for ten days, then for 10 dollars each for five days. Her average daily profit for the two different prices are given below.
n | ˉx | s | |
---|---|---|---|
$15 | 10 | 171 | 26 |
$10 | 5 | 198 | 29 |