Chapter 10
Chapter 10
CONTENTS
10.1 Comparing Two Population Means Using Independent Samples When Population
Variances Are Known
10.2 Comparing Two Population Means Using Independent Samples from Normal
Populations
10.3 Paired Data
10.4 Comparing Two Population Proportions Using Large Samples
10.5 Comparing Two Population Variances or Standard Deviations
Katja Kreder/AWL Images/Getty Images
461
462 CH A PT ER 1 0 Confidence Intervals and Hypothesis Tests Based on Two Samples or Treatments
Notation
To conduct a hypothesis test to compare two (similar) population parameters, we will sim-
ply modify the single-sample procedures presented in the previous chapter. Perhaps the
most tricky aspect of these procedures is the notation. The following table summarizes the
notation used to represent similar parameters associated with two different populations.
Population parameters
Standard
Mean Variance deviation Proportion
Population 1 m1 s21 s1 p1
Population 2 m2 s22 s2 p2
The following table summarizes the notation used to represent values of summary statis-
tics associated with samples from two different populations.
Note: We do not necessarily use Sample statistics
every summary statistic associated
Sample Standard
with a sample in every problem.
size Mean Variance deviation Proportion
For example, we may only need
the sample size and proportion in Sample from =
n1 x1 s21 s1 p1
one case, but use the sample size, population 1
mean, and standard deviation in Sample from =
another problem. population 2
n2 x2 s22 s2 p2
To compare two population parameters to see whether there is any evidence that they
are different, we often consider a difference. For example, to compare two population
means, m1 and m2, we consider the difference m1 2 m2. In searching for evidence that p1
is larger than p2, we look at the difference p1 2 p2.
There are two reasons to consider a difference.
1. A typical relationship between two population parameters can be written in terms of a
difference. For example, suppose we need to compare the means from two popula-
tions, m1 and m2.
Standard Difference
notation notation
m1 5 m2 is equivalent to m1 2 m2 5 0
m1 . m2 is equivalent to m1 2 m2 . 0
m1 , m2 is equivalent to m1 2 m2 , 0
Definition
1. Two samples are independent if the process of selecting individuals or objects in
sample 1 has no effect on, or no relation to, the selection of individuals or objects in
sample 2. If the samples are not independent, they are dependent.
Similar means the individuals or 2. A paired data set is the result of matching each individual or object in sample 1 with
objects share some common, a similar individual or object in sample 2. A common experiment in which paired data
fundamental characteristic. They are obtained involves a before and after measurement on each individual or object.
may even be the same individual Each before observation is matched, or paired, with an after observation.
or object!
The notation, the idea of using differences, and the extra assumptions are all used in
the following sections to construct hypothesis tests for comparing various characteristics
of two populations.
Properties of X 1 ! X 2
Suppose
1. X 1 is the mean of a random sample of size n1 from a population with mean m1 and
variance s21.
2. X2 is the mean of a random sample of size n2 from a population with mean m2 and
variance s22.
3. The samples are independent.
If the distributions of both populations are normal, then the random variable X 1 2 X 2 has
the following properties.
1. E (X1 2 X2 ) 5 mX12X 2 5 m1 2 m2 .
X 1 2 X 2 is an unbiased estimator of the parameter m1 2 m2. The distribution is cen-
tered at m1 2 m2.
s21 s22
2. Var ( X1 2 X2 ) 5 sX212X2 5 1 and the standard deviation is
n1 n2
s21 s22
sX12X 2 5 1 .
Å n1 n2
3. The distribution of X 1 2 X 2 is normal.
Can you see the standardization If the underlying distributions are not known, but both n1 and n2 are large, then X 1 2 X 2
coming? is approximately normal (by the central limit theorem).
A hypothesis test concerning two population means, in terms of the difference in means
m1 2 m2, with significance level a, has the form
This is the template for a H0: m1 2 m2 5 D0
hypothesis test concerning two Ha: m1 2 m2 . D0, m1 2 m2 , D0, or m1 2 m2 2 D0
population means when variances
( X1 2 X2 ) 2 D0
are known, sometimes called a TS: Z 5
two-sample Z test. s21 s22
1
Å n1 n2
RR: Z $ za, Z # 2za, or 0 Z 0 $ za / 2
A CLOSER L OK
D is the uppercase Greek letter 1. The value D0 is the fixed, hypothesized difference in means. Usually D0 5 0, that is,
delta. the means are assumed equal. The null hypothesis is then H0: m1 2 m2 5 0, which is
equivalent to H0: m1 5 m2. However, D0 may be some nonzero value. For example, two
population means may historically differ by 12 so that H0: m1 2 m2 5 12 ( 5 D0 ) . We
may want to conduct a test to see whether there is any change in this difference, with
Ha: m1 2 m2 2 12.
2. Just a reminder: Use only one (appropriate) alternative hypothesis and the correspond-
ing rejection region. The z critical values are from the standard normal distribution.
3. This hypothesis test procedure can be used only if both population variances are
known. If they are unknown but both sample sizes are large, some statisticians substi-
tute s21 for s21 and s22 for s22. This produces an approximate test statistic. Section 10.2
presents an exact test procedure for comparing population means (under certain
assumptions) when the population variances are unknown.
Is there any evidence to suggest that the mean weekly time spent watching TV for 18–24
year olds is less that the mean weekly time spent watching TV for 25–34 year olds? Use
10.1 Comparing Two Population Means Using Independent Samples When Population Variances Are Known 465
Solution Trail 10.1 a 5 0.01 and assume that each underlying distribution of weekly time spent watching TV
is normal.
K EY WO R D S
■ Is there any evidence? SOLUTION
■ Less than STEP 1 Arbitrarily, let the 18–24-year-old group be population 1, and the 25–34-year-
■ Known variances old group be population 2.
■ Independent random samples The current state, or assumption, is that the two population mean weekly times
■ Each underlying distribution is spent watching TV are equal:
normal
m1 5 m2 1 m1 2 m2 5 0 ( 5 D0 ) .
TR A NSL ATI O N
The sample sizes, sample means, and population variances are given.
■ Conduct a one-sided,
left-tailed test to compare m1 We are trying to find evidence that the 18–24-year-old group has smaller mean
and m2 . weekly time spent watching TV: m1 , m2, which is the same as m1 2 m2 , 0.
Therefore, the alternative hypothesis is one-sided, left-tailed.
CON C EPT S
STEP 2 The four parts of the hypothesis test are
■ Hypothesis test concerning
two population means when H0: m1 2 m2 5 0
variances are known Ha: m1 2 m2 , 0
V I SI O N ( X1 2 X2 ) 2 0
TS: Z 5
Use the template for this s21 s22
hypothesis test. The samples are 1
Å n1 n2
random and independent, the
underlying populations are RR: Z # 2za 5 2z0.01 5 22.3263
normal, and the population STEP 3 The value of the test statistic is
variances are known. Use a
one-sided alternative hypothesis ( x1 2 x2 ) 2 0 23.4 2 28.9
and the corresponding rejection z5 5 5 22.4055 ( #22.3263 )
s21 s22 44.89 65.61
region, find the value of the test 1 1
statistic, and draw a conclusion. Å n1 n2 Å 18 24
STEP 4 Because 22.4055 lies in the rejection region, we reject the null hypothesis at the
a 5 0.01 significance level. There is evidence to suggest that the mean weekly
time spent watching TV for 18–24-year-olds is less than the mean weekly time
spent watching TV for 25–34-year-olds.
The p value for this hypothesis test is
−2.4055 0
Figure 10.1 p-Value illustration:
p 5 P(Z # 22.4055)
5 0.0081 # 0.05 5 a
The following example involves a hypothesis test with a nonzero value for the hypoth-
esized difference in means, D0.
H0: m1 2 m2 5 16
Ha: m1 2 m2 2 16
( X1 2 X2 ) 2 16
TS: Z 5
s21 s22
1
Å n1 n2
0 0
RR: Z $ za/2 5 z0.005 5 2.5758
STEP 3 The sample means are
1
x1 5 ( 15.4 1 20.4 1 c1 18.3 ) 5 20.6579
38
1
x2 5 ( 3.7 1 3.9 1 c1 3.9 ) 5 3.8486
35
The value of the test statistic is
( x1 2 x2 ) 2 16 ( 20.6579 2 3.8486 ) 2 16
z5 5 5 1.6842
s21 s22 8.5 0.253
1 1
Å n1 n2 Å 38 35
STEP 4 The value of the test statistic, z 5 1.6842, does not lie in the rejection region.
We do not reject the null hypothesis. There is no evidence to suggest that the
difference in population mean carbohydrates is different from 16 grams at the
a 5 0.01 significance level.
This is a two-sided test and the value of the test statistic is positive, so p/2 is a
Z
right-tail probability.
p/2 5 P ( Z $ 1.6842 ) Definition of p value for a two-sided test.
−1.6842 0 1.6842
p 5 2 ( 0.0461 ) 5 0.0922 Solve for p.
Figure 10.5 p-Value illustration: Because p 5 0.0922 . 0.01 ( 5 a ) , we do not reject the null hypothesis. See
p 5 2P(Z $ 1.6842) Figure 10.5.
5 0.0922 . 0.01 5 a Figure 10.6 shows a technology solution.
Given the two-sample Z test assumptions and the properties of the random variable
X1 2 X2 , we can construct a confidence interval (CI) for the (difference) parameter
m1 2 m2.
468 CH AP T ER 1 0 Confidence Intervals and Hypothesis Tests Based on Two Samples or Treatments
As usual, to find a general CI, start with an appropriate symmetric interval about 0
▲
such that the probability Z lies in this interval is 1 2 a.
( X1 2 X2 ) 2 ( m1 2 m2 )
P £ 2za/2 , , za / 2 § 5 1 2 a (10.1)
s21 s22
1
Å n1 n2
Z
Manipulate the inequality in Equation 10.1 to sandwich the parameter m1 2 m2. We
obtain the following probability statement:
▲
How to Find a 100(1 ! !)% Confidence Interval
for "1 ! "2 When Variances Are Known
Given the two-sample Z test assumptions, a 100 ( 1 2 a ) % confidence interval for
m1 2 m2 has as endpoints the values
s21 s22
( x1 2 x2 ) 6 za/2 1 (10.2)
Å n1 n2
Find a 95% confidence interval for the difference in population mean pizza-stone weights.
SOLUTION
STEP 1 Sample sizes, sample means, and known variances are given.
The underlying weight distributions are unknown, but the sample sizes are both
large ( $ 30 ) .
1 2 a 5 0.95 1 a 5 0.05 1 a /2 5 0.025 Find a/2.
s21 s22
( x1 2 x2 ) 6 za/2 1 Equation 10.2.
Å n1 n2
10.1 Comparing Two Population Means Using Independent Samples When Population Variances Are Known 469
2.1 3.5
5 ( 6.21 2 7.08 ) 6 ( 1.96 ) 1 Use summary statistics and critical value.
Å 35 31
5 20.87 6 0.8150 Simplify.
Technology Corner
Procedure: Hypothesis tests and confidence intervals concerning two population means when the population variances
are known.
Reconsider: Example 10.2, solution, and interpretations.
Crunchlt!
Use the function z 2-Sample to conduct a hypothesis test concerning two population means.
1. Enter the store-brand data into column Var1 and the low-carb brand data into column Var2.
2. Select Statistics; z; 2-Sample. Under the Columns tab, select Var1 for Sample 1 and Var2 for Sample 2. Enter the
standard deviation for each group.
3. Under the Hypothesis Test tab, enter the Difference of means under null hypothesis, 16 ( 5 D0 ) . Choose the appropriate
Alternative (hypothesis).
4. Click Calculate. The results are shown in Figure 10.6.
TI-84 Plus C
Use the calculator functions 2-SampZTest and 2-SampZInt. Input is either summary statistics or data in lists.
1. Enter the store brand data into list L1 and the low-carb brand data into list L2.
2. Subtract D0 5 16 from each observation in list L1 and store the results in list L1.
3. Select STAT ; TESTS; 2-SampZTest. Highlight Data. Enter s1 , s2 , List1, and List2. Set each frequency to 1.
Highlight the alternative hypothesis. See Figure 10.9.
4. Highlight Calculate and press ENTER . The results are displayed on the Home screen. See Figure 10.10. The Draw
results are shown in Figure 10.11.
470 CH AP TE R 10 Confidence Intervals and Hypothesis Tests Based on Two Samples or Treatments
Minitab
There is no built-in function to conduct hypothesis tests and construct confidence intervals concerning two population
means when the population variances are known. Remember, this is an instructive situation, not very realistic. It is pretty
unlikely we would know the population variances, but not the population means.
Excel
Use the built-in function z-test: Two Sample for Means.
1. Enter the store brand data into column A and the low-carb brand data into column B.
2. Under the Data tab, select Data Analysis; z-test: Two Sample for Means.
3. Enter the Variable 1 Range and Variable 2 Range, the Hypothesized Mean Difference, and the known population
variances. Enter the value for Alpha and choose an Output option. See Figure 10.14. Click OK.
4. Summary statistics along with the value of the test statistic, critical values, and p values are displayed. See Figure 10.15.
Figure 10.14 z-Test: Two Sample for Means input Figure 10.15 Hypothesis test
screen. results.
10.1 Comparing Two Population Means Using Independent Samples When Population Variances Are Known 471
each toothbrush was measured, and the summary statistics are Sample Sample Population
given in the following table. State size mean variance
Is there any evidence to suggest that the mean amount of pro- a. Assume the underlying distributions are normal. Is there
tein is different in these two products? Use a 5 0.01 and any evidence to suggest that the population mean
assume normality. airspeeds are different? Use a 5 0.05.
b. Find the p value associated with this hypothesis test.
10.21 Manufacturing and Product Development Several
factors determine how well a ceiling fan cools a room, includ- 10.24 Medicine and Clinical Studies The time it takes for
ing blade pitch, height from the ceiling, and revolutions per general anesthesia to work (time to induction) is an important
minute. Independent random samples of two types of ceiling consideration during an emergency and for scheduled surgeries.
fans were obtained, and the revolutions per minute (on high) for Recently, a study was conducted to compare the mean induction
each was measured. The summary statistics and known vari- time of similar drugs administered via inhalation and intrave-
ances are given in the following table. nously. Independent random samples of patients requiring
general anesthesia were obtained, and the induction times (in
Sample Sample Population minutes) were measured. Assume the variance in induction time
Ceiling fan size mean variance for inhalation administration is 0.0625 and for intravenous
Hampton 34 295.05 11.55 administration is 0.1225. Is there any evidence to suggest that
Altura 35 300.38 6.25 the mean time to induction for intravenous administration is
less than the mean time to induction for inhalation administra-
a. Find a 99% confidence interval for the true mean tion? Use a 5 0.05. ANESTH
a. Is there any evidence to suggest that the population mean Florida still has the most flood insurance policies, followed by
output of elements from The Repair Clinic is different Texas, then Louisiana. A random sample of flood insurance
from 7.4? policies in these three states was obtained, and the premium in
b. Is there any evidence to suggest that the population dollars for each was recorded. The summary statistics are given
mean output of elements from The Parts Pros is different in the following table.4
from 7.4?
c. Is there any evidence to suggest that m1 is different from Sample Sample Population
m2? State size mean standard deviation
d. Using the results from parts (a), (b), and (c), which Louisiana 18 716.15 250
supplier should the manufacturer use? Florida 22 498.71 275
10.27 Marketing and Consumer Behavior The Press Texas 26 560.50 300
Association Mediapoint recently released a housing market
report for England that included how long it would take a Assume the underlying populations are normal. Is there any
typical first-time buyer to save for a deposit in their local area.3 evidence to suggest that any pairs of population mean flood
Independent random samples of first-time buyers were obtained insurance premiums are different? That is, conduct three sepa-
in two areas, and the time (in years) needed for a couple to save rate hypothesis tests to consider m1 2 m2, m1 2 m3, and
for the deposit was recorded for each. The summary statistics m2 2 m3. Use a 5 0.05 in each case.
are given in the following table.
Challenge
Sample Sample Population
Area size mean variance 10.29 Sample Size Calculation Suppose a 100 ( 1 2 a ) %
confidence interval is needed for the difference in two popula-
Yorkshire & The Humer 60 4.5 1.56
tion means, m1 2 m2. In addition, suppose the underlying popu-
East Midlands 75 4.8 3.24
lations are normal, the population variances, s21 and s22, are
known, and the samples sizes are equal, n1 5 n2 5 n.
a. Is there any evidence to suggest that the mean time
a. Find an expression for the sample size necessary (from
needed for a couple to save for a deposit is different in
each population) in order for the resulting confidence
these two areas? Use a 5 0.05.
interval to have a bound on the error of estimation B
b. Find the p value associated with this hypothesis test.
(half the width of the confidence interval).
c. The sample means, 4.5 and 4.8, seem close together. Can
b. How large a sample size is necessary if s1 5 12.7,
you find a value n 5 n1 5 n2 such that the hypothesis test
s2 5 9.5, B 5 5, and the confidence level is 95%?
is significant at the a 5 0.05 level?
c. Use the sample size in part (b) with x1 5 57.3 and
10.28 Flood Insurance According to the U.S. National x2 5 48.6 to construct a 95% confidence interval for
Flood Insurance Program, the cost of policies in New Orleans m1 2 m2. Compute the exact bound on the error of
continued to rise for several years after Hurricane Katrina. estimation. How does this compare with B 5 5?
For reference, these are the 1. X1 is the mean of a random sample of size n1 from a normal population with mean m1.
two-sample t test assumptions. 2. X2 is the mean of a random sample of size n2 from a normal population with mean m2.
The last assumption is new and implies we are comparing populations with the same
variability. If we do not assume equal variances, there is no nice test procedure. More on
this later.
Properties of X1 ! X2
If the two-sample t test assumptions are true, then the estimator X1 2 X2 has the following
properties.
1. E ( X1 2 X2 ) 5 m X1 2X2 5 m1 2 m2
X1 2 X2 is still an unbiased estimator of the parameter m1 2 m2.
s21 s22 s2 s2 1 1
2. Var ( X1 2 X2 ) 5 s2X1 2X 2 5 1 5 1 5 s2 a 1 b and the standard
n1 n2 n1 n2 n1 n2
1 1
deviation is sX 2X 5 s2 a 1 b.
1 2
Å n1 n2
3. Both underlying populations are normal, so the distribution of X1 2 X2 is also normal.
In the previous section, we used the known population variances, standardized, and
constructed a test based on the Z distribution. Here, an estimate of the common variance
s2 is necessary. The appropriate standardization results in a t distribution.
S 21 and S 22 are separate estimators for the common variance, but using only one of these
means ignoring additional, useful information. Because s2 is the variance for both under-
lying populations, an estimator for this common variance should depend on both samples.
However, it also seems reasonable for the estimator to rely more on the larger sample.
Therefore an estimate of the common variance uses both S12 and S22 in a weighted average.
Definition
The pooled estimator for the common variance s2, denoted Sp2, is
( n1 2 1 ) S 21 1 ( n2 2 1 ) S 22
S 2p 5 (10.3)
n1 1 n2 2 2
n1 2 1 n2 2 1
5a bS 21 1 a bS 22
n1 1 n2 2 2 n1 1 n2 2 2
A CLOSER L OK
l is the lowercase Greek letter 1. S 2p is indeed a weighted average. This estimator can be written in the form
lambda and represents a constant.
Sp2 5 lS 21 1 ( 1 2 l ) S 22 where 0#l#1
1 1 2 1 2
If n1 5 n2, then l 5 and 2 5 Sp2
1 If n1 2 n2, then more weight is given
2 S1 2S 2.
to the larger sample.
2. The constants in Equation 10.3 are related to the number of degrees of freedom. S 21
contributes n1 2 1 degrees of freedom and S 22 contributes n2 2 1 degrees of freedom.
Consequently, there are a total of ( n1 2 1 ) 1 ( n2 2 1 ) 5 n1 1 n2 2 2 degrees of
freedom associated with the estimator S 2p .
Theorem
If the two-sample t test assumptions are true, then the random variable
( X1 2 X2 ) 2 ( m1 2 m2 )
T5
1 1
S 2p a 1 b
Å n1 n2
has a t distribution with n1 1 n2 2 2 degrees of freedom.
As in a two-sample Z test, the null and alternative hypotheses are stated in terms of the
difference m1 2 m2. The critical values are from the appropriate t distribution.
a. Is there any evidence to suggest that there is a difference in the population mean wait-
ing time for a knee replacement between Abbotsford Regional Hospital and Earl Ridge
Hospital? Use a 5 0.05 and assume the underlying distributions are normal, with
equal variances.
b. Find bounds on the p value associated with this hypothesis test.
SOLUTION
STEP 1 Let Abbotsford Regional Hospital be population 1 and Earl Ridge Hospital be
population 2.
The null hypothesis is that the two population means are equal—with the same
waiting time for a knee replacement: m1 5 m2 1 m1 2 m2 5 0 ( 5 D0 ) .
10.2 Comparing Two Population Means Using Independent Samples from Normal Populations 477
Solution Trail 10.4 The summary statistics are given, and the samples were obtained independently.
The population variances are unknown but assumed equal. A two-sample t test is
K EY WO R D S appropriate.
■ Is there any evidence? We are looking for any difference in population means, so this is a two-sided test.
■ Difference in population mean
STEP 2 The four parts of the hypothesis test are
■ Underlying distributions are
normal, with equal variances H0: m1 2 m2 5 0
■ Independent random samples Ha: m1 2 m2 2 0
( X1 2 X2 ) 2 0
TR A NSL ATI O N TS: T 5
Conduct a two-sided test to 1 1
■
S 2p a 1 b
compare m2 and m2 Å n1 n 2
■ Variances are unknown but RR: 0 T 0 $ ta/2,n11 n222 5 t0.025,30 5 2.0423
assumed equal
STEP 3 The pooled estimate of the common population variance is
CON C EPT S ( n1 2 1 ) s21 1 ( n2 2 1 ) s22 ( 14 ) ( 34.81 ) 1 ( 16 ) ( 46.24 )
■ Hypothesis test concerning s2p 5 5 5 40.906
n1 1 n2 2 2 30
two population means when
variances are unknown but The value of the test statistic is
equal
( x1 2 x2 ) 2 0 17.4 2 12.1
V I SI O N
t5 5 5 2.3393 ( $ 2.0423 )
1 1 1 1
Use the template for this s2p a 1 b ( 40.906 ) a 1 b
hypothesis test. The samples are
Å n1 n2 Å 15 17
random and independent, the The value of the test statistic, t 5 2.3393, lies in the rejection region, hence we
underlying distributions are reject the null hypothesis at the a 5 0.05 significance level. There is evidence to
normal, and the population suggest the mean waiting time for a knee replacement is different at Abbotsford
variances are unknown but
Regional Hospital and Earl Ridge Hospital.
assumed equal. Use the
two-sided alternative hypothesis STEP 4 Recall, because of the nature of the table of critical values for t distributions, we
and the corresponding rejection can only bound the p value.
region.
0 t 0 5 0 2.3393 0 5 2.3393
In Table V in the Appendix, row n1 1 n2 2 2 5 15 1 17 2 2 5 30, place
t30 2.3393 in the ordered list of critical values.
2.0423 # 2.3393 # 2.4573
t0.025,30 # 2.3444 # t0.01,30
Therefore, 0.01 # p/2 # 0.025
And 0.02 # p # 0.05
−2.3393 0 2.3393
See Figure 10.16.
Figure 10.16 p Value illustration:
p 5 2P(T $ 2.3393) Figures 10.17 through 10.19 together show a technology solution.
5 0.0262 # 0.05 5 a
T RA NSL AT I O N Is there any evidence that the new-process aluminum cans have a smaller population
■ Conduct a one-sided test to mean weight? Assume the populations are normal, with equal variances, and use a 5 0.01.
compare m1 and m2
■ Variances are unknown SOLUTION
but equal STEP 1 The null hypothesis is that the two mean weights are the same: m1 2 m2 5 0. We
are looking for evidence that the new-process cans have a smaller mean weight.
CO NCE P TS
The alternative hypothesis is m1 2 m2 . 0.
■ Hypothesis test concerning
two population means when The underlying populations are assumed normal with equal variances, and the
variances are unknown but samples were obtained independently. A two-sample t test is relevant.
equal STEP 2 The four parts of the hypothesis test are
VIS I ON H0: m1 2 m2 5 0
Use the template for this Ha: m1 2 m2 . 0
hypothesis test. The samples are ( X1 2 X2 ) 2 0
random and independent, the TS: T 5
underlying distributions are 1 1
normal, and the population S 2p a 1 b
Å n1 n2
variances are unknown but RR: T $ ta,n11 n222 5 t0.01,40 5 2.4233
assumed equal. Use a one-sided
alternative hypothesis and the STEP 3 The summary statistics are
corresponding rejection region.
1
x1 5 ( 0.52 1 0.49 1 c1 0.51 ) 5 0.5048
21
1
x2 5 ( 0.51 1 0.51 1 c1 0.48 ) 5 0.4886
21
1 1
s21 5 c 5.3580 2 ( 10.6 ) 2 d 5 0.0003762
20 21
1 1
s22 5 c 5.0216 2 ( 10.26 ) 2 d 5 0.0004429
20 21
The pooled estimate of the common population variances is
( 20 ) ( 0.0003762 ) 1 ( 20 ) ( 0.0004429 )
s2p 5 5 0.0004095
40
The value of the test statistic is
( x1 2 x2 ) 2 0 0.5048 2 0.4886
t5 5 5 2.5941
1 1 1 1
s2p a 1 b ( 0.0004095 ) a 1 b
Å n1 n2 Å 21 21
10.2 Comparing Two Population Means Using Independent Samples from Normal Populations 479
STEP 4 The value of the test statistic lies in the rejection region (t 5 2.5941 $ 2.4233;
p 5 0.0066 # .01, see Figure 10.20). We reject the null hypothesis at the
a 5 0.01 significance level. There is evidence to suggest that new-process alu-
minum cans have a smaller mean weight.
t40
Figure 10.21 Minitab hypothesis test (and confidence Figure 10.22 JMP two-sample t test.
interval) results.
This methodology has been used Using the assumptions presented in this section and the technique presented in Section
several times, beginning in 10.1, a confidence interval for m1 2 m2 can be derived. Start with a symmetric interval
Chapter 8. about 0 such that the probability T lies in this interval is 1 2 a. Manipulate the inequal-
ity to sandwich the parameter m1 2 m2.
1 1
( x1 2 x2 ) 6 ta/2,n1 1 n222 s2p a 1 b (10.4)
Å n1 n2
Assume the populations are normal and the variances are equal. Find a 99% confidence
interval for the difference in population mean iron content.6
SOLUTION
STEP 1 The summary statistics are given, the underlying distributions are assumed normal,
and the population variances are assumed equal. Equation 10.4 can be used to
construct a confidence interval for the difference m1 2 m2.
1 2 a 5 0.99 1 a 5 0.01 1 a /2 5 0.005 Find a/2.
1 1
( x1 2 x2 ) 6 ta/2 # s2p a 1 b Equation 10.4.
Å n1 n2
1 1
5 ( 23.17 2 24.19 ) 6 ( 2.7874 ) ( 14.7257 ) a 1 b
Å 12 15
Use summary statistics and critical values.
( 25.1627, 3.1227 ) is a 99% confidence interval for the difference (in mg) in
population mean iron content, m1 2 m2. Note that because 0 is included in, or
captured by, this interval, there is no evidence to suggest the mean iron content
is different.
Figures 10.23 and 10.24 together show a technology solution.
different, as long as the underlying populations are normal and n1 5 n2, the results are
still very reliable.
If the underlying populations are normal, the population variances are unequal, and
Nice means a reasonable the sample sizes are different, there is no nice test procedure concerning m1 2 m2 (or
standardization to produce a confidence interval for m1 2 m2 ). It is reasonable to use each sample variance as an
common random variable. approximation for the corresponding population variance. However, the resulting log-
ical standardization produces only an approximate test statistic. If the sample sizes are
small and the underlying populations are not normal, then a nonparametric test must
be used.
s21 s22
( x1 2 x2 ) 6 ta/2,v 1 (10.5)
Å n1 n2
A CLOSER L OK
1. The random variable Tr has an approximate t distribution with v degrees of freedom.
2. It is likely that the value of v will not be an integer. To be conservative, always round
down (to the nearest integer).
3. A test for equality of population variances is presented in Section 10.5. This hypothe-
sis test is often used to determine whether equal population variances is a reasonable
assumption.
T RA NSL AT I O N Is there any evidence to suggest that the population mean weight of $100 chips is different
■ Conduct a two-sided test to from that of $500 chips? Assume both populations are normal, and use a 5 0.05.
compare m1 and m2
■ Variances are unknown and SOLUTION
assumed unequal STEP 1 The null hypothesis is that the two mean weights are the same, and the alterna-
tive is two-sided. The underlying populations are assumed normal and the sam-
CO NCE P TS
ples were obtained independently. However, there is no assumption of equal
■ Hypothesis test concerning variances. The approximate two-sample t test is appropriate.
two population means when
variances are unknown and STEP 2 The summary statistics are
unequal 1
x1 5 ( 9.17 1 9.21 1 c1 9.11 ) 5 9.2043
VIS I ON 14
1
Use the template for this x2 5 ( 9.37 1 9.98 1 c1 9.69 ) 5 9.4322
hypothesis test. The samples are 9
random and independent, the 1 1
underlying distributions are s21 5 c 1186.1804 2 ( 128.86 ) 2 d 5 0.008934
13 14
normal, and the population
1 1
variances are unknown and s22 5 c 802.1295 2 ( 84.89 ) 2 d 5 0.1785
unequal. Use the two-sided 8 9
alternative hypothesis and the The approximate number of degrees of freedom are
corresponding rejection region,
the test statistic, and draw a 0.008934 0.1785 2
conclusion. a 1 b
14 9
v< 5 8.5177
( 0.008934/14 ) 2 ( 0.1785/9 ) 2
1
13 8
We round v down to 8.
STEP 3 The four parts of the hypothesis test are
H0: m1 2 m2 5 0
Ha: m1 2 m2 2 0
( X1 2 X2 ) 2 0
TS: Tr 5
S 21 S 22
1
Å n1 n2
RR: 0 Tr 0 $ ta/2,v 5 t0.025,8 5 2.3060
STEP 4 The value of the test statistic is
( x1 2 x2 ) 2 0 9.2043 2 9.4322
tr 5 5 5 21.5928
s21 s22 0.008934 0.1785
1 1
Å n1 n2 Å 14 9
The value of the test statistic does not lie in the rejection region. Equivalently,
p 5 0.1475 . 0.05, illustrated in Figure 10.25. We do not reject the null hypoth-
esis at the a 5 0.05 significance level. There is no evidence to suggest that the
mean weight of $100 chips is different from the mean weight of $500 chips.
Figure 10.26 shows a technology solution.
10.2 Comparing Two Population Means Using Independent Samples from Normal Populations 483
t8
−1.5928 0 1.5928
Figure 10.25 p Value illustration: Figure 10.26 Excel hypothesis test results.
p 5 2P(T $ 1.5928)
5 0.1475 . 0.05 5 a
Technology Corner
Procedure: Hypothesis tests and confidence intervals concerning two population means when the population variances
are unknown.
Reconsider: Example 10.5, solution, and interpretations.
Crunchlt!
Use the built-in function t 2-Sample. Input is either summary statistics or data in columns.
1. Enter the old process data into column Var1 and the new process data into column Var2.
2. Select Statistics; t; 2-sample. Using the pull-down menus, select Var1 for Sample 1 and Var2 for Sample 2. Check the
Pooled Variance box.
3. Under the Hypothesis tab, enter the Difference of means under null hypothesis (0) and select the appropriate Alternative
(Greater than). See Figure 10.27.
4. Click Calculate. The results are displayed in a new window (Figure 10.28).
5. Use the Confidence Interval tab to construct a confidence interval for the difference of two population means.
TI-84 Plus C
Use the built-in functions 2-SampTTest and 2-SampTInt. Input is either summary statistics or data in lists.
1. Enter the old process data into list L1 and the new process data into list L2.
2. Select STAT ; TESTS; 2-SampTTest. Highlight Data. Enter List1, List2, and set each frequency to 1.
Highlight the alternative hypothesis and Yes for Pooled. See Figure 10.29.
3. Highlight Calculate and press ENTER . The results are displayed on the Home screen. See Figure 10.30.
4. The Draw results are shown in Figure 10.31.
5. Use the function STAT ; TESTS; 2-SampTInt to construct a confidence interval for the difference of two
population means.
Minitab
Use the built-in function 2-Sample t to conduct a hypothesis test and to construct a confidence interval. Input is
either data in one or two columns (data in one column requires a subscript, or group-identifying, column) or
summarized data.
1. Enter the old process data into column C1 and the new process data into column C2.
2. Select Stat; Basic Statistics; 2-Sample t.
3. Choose Each sample is in its own column and enter C1 in the Sample 1 input window and C2 in the Sample 2 input
window.
4. Choose the Options option button. Enter a Confidence level, the hypothesized Test difference, and choose the appropri-
ate Alternative, check the Assume equal variances box.
5. The hypothesis test results and confidence interval are displayed in a session window. Refer to Figure 10.21.
Excel
The Data Analysis toolkit contains two functions for comparing population means, assuming equal variances and
assuming unequal variances. Use the appropriate formula and ordinary spreadsheet calculations to find the endpoints
of a confidence interval.
1. Enter the old process data into column A and the new process data into column B.
2. Under the Data tab, select Data Analysis; t-Test: Two-Sample Assuming Equal Variances.
3. Enter the Variable 1 Range, Variable 2 Range, the Hypothesized Mean Difference, and the value for a. Choose
an Output option and click OK.
4. Summary statistics along with the value of the test statistic, critical values, and p values are displayed. See
Figure 10.32.
10.2 Comparing Two Population Means Using Independent Samples from Normal Populations 485
10.41 In each of the following problems, n1, n2, s1, and s2 are Suppose independent random samples of rotors from two
given. Assume normal underlying distributions, independent different manufacturers were obtained. The largest deviation
random samples, and unknown, unequal variances. Find the from perfect flatness of each rotor was measured, and the
approximate number of degrees of freedom, v, in the critical resulting summary statistics are given in the following table.
value of an approximate two-sample t test.
a. n1 5 12, n2 5 15, s1 5 11.7, s2 5 16.7 Sample Sample Sample
b. n1 5 8, n2 5 23, s1 5 5.46, s2 5 6.78 Manufacturer size mean standard deviation
c. n1 5 18, n2 5 26, s1 5 57.8, s2 5 49.9 Tire Rack 11 26.74 8.31
d. n1 5 32, n2 5 34, s1 5 5.51, s2 5 5.03 JC Whitney 14 29.53 6.85
10.42 Consider the following table of summary statistics.
Assume the underlying distributions are normal and the popula-
Sample Sample Sample tion variances are equal.
Group size mean variance a. Is there any evidence to suggest that there is a difference
One 8 173.9 320.41 in population mean deviations from perfect flatness for
these two rotor brands? Use a 5 0.05.
Two 9 150.3 655.36
b. Find bounds on the p value associated with this hypothesis
test.
Assume normal underlying distributions, independent random
samples, and unknown, unequal variances. 10.46 Manufacturing and Product Development The mean
a. Conduct a hypothesis test of H0: m1 2 m2 5 0 versus weight of an ordinary key is an important consideration, as most
Ha: m1 2 m2 . 0. Use a 5 0.05. Americans carry a pocketful of keys. A manufacturer claims that
b. Find bounds on the p value associated with this test. a new process produces a lighter and more durable key. Indepen-
dent random samples of both types of keys were obtained, and
10.43 Consider the following table of summary statistics.
each key was carefully weighed and its weight (in ounces) was
Sample Sample Sample recorded. The resulting summary statistics are given in the follow-
Group size mean standard deviation ing table, with the sample means and sample variances.
10.45 Fuel Consumption and Cars The durability and flat- 10.48 Manufacturing and Product Development Shelf
ness of the front rotors on an automobile are important for Safe Milk does not need to be refrigerated until it is opened.
braking and for a smooth ride. The flatness of a rotor can be Although it is convenient, there is some concern that this Grade
determined by a special optical measuring device that measures A milk contains less protein than regular milk. Independent
the largest deviation from perfect flatness in microinches. random samples of 8-ounce servings of Shelf Safe Milk and
10.2 Comparing Two Population Means Using Independent Samples from Normal Populations 487
regular milk were obtained, and the amount of protein (in the boarding time (in minutes) for each was recorded. The sum-
grams) in each was measured. The summary statistics are given mary statistics are given in the following table.
in the following table.
Sample Sample Sample
Sample Sample Sample Airline size mean standard deviation
Milk size mean standard deviation
American 21 44.5 12.3
Shelf Safe 25 13.95 3.93 US Airways 26 50.7 15.5
Regular 23 19.09 5.91
Is there any evidence to suggest that the new boarding proce-
Is there any evidence to suggest that the population mean dure has decreased the population mean boarding time? Use
amount of protein in Shelf Safe Milk is less than the population a 5 0.05, and assume the populations are normal with equal
mean amount of protein in regular milk? Use a 5 0.01, and variances.
assume the underlying distributions are normal, with equal
10.52 Manufacturing and Product Development A
variances.
recent study was conducted to determine the curing efficiency
10.49 Medicine and Clinical Studies A study was con- (time to harden) of dental composites (resins for the restoration
ducted to determine standard reference values for musculoskel- of damaged teeth) using two different types of lights. Indepen-
etal ultrasonography in healthy adults. Independent random dent random samples of lights were obtained and a certain
samples of men and women were obtained, and the sagittal composite was cured for 40 seconds. The depth of each cure
diameter (in mm) of the biceps tendon was measured in each (in mm) was measured using a penetrometer. The summary
subject. The resulting summary statistics are given in the fol- statistics for the Halogen light were n1 5 10, x1 5 5.35, and
lowing table. s1 5 0.7. The summary statistics for the LuxOMax light were
n2 5 10, x2 5 3.90, and s2 5 0.8. Assume the underlying
Sample Sample Sample populations are normal, with equal variances.
Group size mean standard deviation a. The maker of the Halogen light claims that they produce
Women 54 2.5 0.49 a larger cure depth after 40 seconds than LuxOMax
Men 48 2.8 0.49 lights. Is there any evidence to support this claim? Use
a 5 0.01.
Assume the underlying populations are normal, with equal b. Construct a 99% confidence interval for the difference in
variances. population mean cure depths.
a. Is there any evidence to suggest that the population mean 10.53 Manufacturing and Product Development
sagittal diameter of women’s biceps tendons is different Certain masonry ties used in residential construction
from that of men’s biceps tendons? Use a 5 0.01. receive a hot-dipped galvanized finish for strength and protec-
b. Construct a 95% confidence interval for the difference in tion against moisture. Independent random samples of masonry
population mean sagittal diameters, m1 2 m2. ties from two competing companies were obtained. The amount
10.50 Manufacturing and Product Development A com- of coating on one side of each tie was measured (in g/m2). The
pany that produces hospital furniture has two assembly lines resulting summary statistics are given in the following table.
dedicated to cutting and drilling wood for medical cabinets. Sample Sample Sample
Each computer-controlled process is designed to drill holes in Company size mean variance
a certain cabinet part with depth 12.7 mm. Independent ran-
dom samples of drilled holes were obtained from the two Fero 10 331.4 201.64
assembly lines, the resulting hole depths (in mm) were Cintex 18 298.7 1190.25
recorded. Assume the underlying populations are normal, with
equal variances. CABINET Assume the underlying populations are normal.
a. Is there any evidence to suggest that Line 2 is producing a. Managers at Fero claim that their product has a larger
holes with a greater population mean depth than Line 1? mean coating than Cintex. Is there any evidence to
Use a 5 0.05. support this claim? Use a 5 0.01. Write a Solution Trail
b. Find bounds on the p value associated with this hypothesis for this problem.
test. b. Find a 95% confidence interval for the difference in
population mean coatings.
10.51 Travel and Transportation During Summer 2013,
American Airlines introduced a new method for passengers to 10.54 Sports and Leisure The curve in a hockey stick is
board a narrowbody aircraft. The new procedure affected pas- measured by first placing the face of the blade against a flat sur-
sengers traveling light, those carrying one item that fits under face. The curvature of the stick is restricted so that the perpen-
the seat. The system was designed to decrease the total boarding dicular distance from any point at the heel to the end of the
time, and improve on-time performance.8 Independent random blade is at most 34 inch.9 Independent random samples of hockey
samples of American and US Airways flights were obtained and sticks used by players on the Toronto Maple Leafs and
488 CHAP TE R 10 Confidence Intervals and Hypothesis Tests Based on Two Samples or Treatments
Montreal Canadiens teams were obtained. The curve in each 10.58 Medicine and Clinical Studies An abdominal aortic
stick was measured (in inches), and the resulting data are sum- aneurysm (AAA) is often signaled by inflammation. A cardio-
marized in the following table. vascular magnetic resonance study was conducted to identify
wall edema as a marker for inflammation. Independent ran-
Sample Sample Sample dom samples of AAA and normal patients were obtained, and
Team size mean standard deviation the MR-STIR intensity values were recorded for each.12
Toronto 10 0.361 0.122 Assume the underlying populations are normal with unequal
Montreal 20 0.425 0.051 variances. EDEMA
a. Is there any evidence to suggest that the population mean
Assume the underlying distributions are normal, with unequal intensity values are different for the two patient groups?
variances. Is there any evidence to suggest that the mean curve Use a 5 0.05.
in Toronto sticks is different from the mean curve in Montreal b. Find bounds on the p value for this hypothesis test.
sticks? Use a 5 0.001.
10.55 Manufacturing and Product Development The Extended Applications
tear strength, tensile strength, backing, and thickness all con- 10.59 Physical Sciences Tinted residential windows have
tribute to the durability of vinyl wallpaper. A new company become popular because they help a home absorb solar energy,
(Aries Wallcoverings) claims to sell the thickest vinyl wallpaper keep out harmful ultraviolet rays, and add privacy. Two inde-
of any currently on the market. Independent random samples of pendent random samples of tinted windows were obtained, each
Aries wallpaper and all others were obtained. The thickness of produced by applying a thin film of a specified color and den-
each wallpaper (in inches) was measured. Assume the underly- sity. The shading coefficient of each tinted window (a unitless
ing distributions are normal, with unequal variances. Is there quantity) was measured, and the summary statistics are given in
any evidence to support the claim made by Aries Wallcover- the following table.
ings? Use a 5 0.01. WALLCVR
Tinted Sample Sample Sample
10.56 Manufacturing and Product Development Avid
window size mean standard deviation
video-game players are always searching for the best graphics
card. Overall performance is improved and everything just runs Silver 8 0.601 0.113
more smoothly with a better graphics card, creating a more Neutral 11 0.741 0.077
enjoyable game experience. Independent random samples of
two video cards were obtained and the frame rate (in fps) was
Assume the underlying populations are normal and the popula-
measured for each. The summary statistics are given in the
tion variances are equal.
following table.10
a. Is there any evidence to suggest the population mean
Sample shading coefficients are different? Use a 5 0.01.
Sample Sample standard b. Construct a 99% confidence interval for the difference in
Card size mean deviation population mean shading coefficients, m1 2 m2.
c. Use the confidence interval in part (b) to determine
GeForce GTX 680 SLI 15 54.7 10.75 whether there is any evidence to suggest the shading
Radeon HD 7970 CrossFire 18 58.8 12.00 coefficients are different. Does your answer agree with
part (a)? If so, why? If not, why not?
Assume the underlying populations are normal and the popula-
10.60 Economics and Finance The U.S. Bureau of
tion variances are equal. Is there any evidence to suggest that the
mean frame rate for the two cards is different? Use a 5 0.05. Engraving and Printing produces $1, $5, $10, $20, $50, and
$100 bills. The $2 banknote is still legal tender but is currently
10.57 Biology and Environmental Science Over the last not in production. Each bill is designed to have the same
few years, the bee population has declined by approximately width, but many people perceive larger-denomination bills to
one-third as a result of mites, fungus, and colony collapse dis- be larger in size. Independent random samples of newly
order.11 Some states have been more affected than others. To minted $1 and $20 bills were obtained, and the width of each
compare the effect on honey production, independent random (in mm) was recorded. The summary statistics are given in the
samples of hives in Kentucky and Missouri were selected and following table.
the amount of honey harvested (in pounds) from each was
recorded. Assume the underlying populations are normal and Sample Sample Sample
the population variances are equal. BEES Bill size mean variance
a. Is there any evidence to suggest that the mean honey
$1 23 66.5990 0.0132
harvest per hive is different in the two states? Use
a 5 0.05. $20 24 66.6924 0.0057
b. Find bounds on the p value for the hypothesis test in
part (a). Assume the underlying distributions are normal.
10.2 Comparing Two Population Means Using Independent Samples from Normal Populations 489
a. If the population variances are assumed equal, is there any designed to last longer. Independent random samples of the two
evidence to suggest the mean width of a $20 bill is greater types of fuel rods were obtained, and the lifetime of each
than the mean width of a $1 bill? Use a 5 0.01. (in months) was recorded. The summary statistics are given in
b. If the population variances are assumed unequal, is there the following table.
any evidence to suggest the mean width of a $20 bill is
greater than the mean width of a $1 bill? Use a 5 0.01. Fuel-rod Sample Sample Sample
c. Why do both tests lead to the same conclusion (with very design size mean standard deviation
similar p values)? Old 11 34.91 3.20
10.61 Marketing and Consumer Behavior Many home- New 11 39.55 3.55
owners use TIKI torches for outside decoration and to burn
special oil to repel insects. Independent random samples of two Assume the underlying populations are normal and the
types of oil were obtained, and the burn time for 3 ounces of variances are equal.
each was recorded (in hours). The summary statistics are given a. Conduct the relevant hypothesis test to determine
in the following table. whether the new fuel rod does last longer. Use
a 5 0.01.
Sample Sample Sample b. Construct a 99% confidence interval for the difference in
Oil size mean variance population mean lifetimes. Does this confidence interval
Citronella Torch Fuel 21 6.25 1.04 support the hypothesis test conclusion in part (a)?
Explain.
Black Flag Mosquito Control 28 5.98 0.77
10.64 Manufacturing and Product Development Root
Assume the underlying populations are normal. beer was originally made using the sarsaparilla root. However,
a. Do you think the assumption of equal variances is the oil from this root was shown to be carcinogenic (cancer-
reasonable? Why or why not? causing). Since then, many varieties are now made with cane
b. Based on your answer to part (a), conduct the appropriate sugar, herbs, spices, and vanilla. Independent random samples
hypothesis test to determine whether there is any evidence of 12-ounce cans of A&W root beer and Barq’s root beer were
that the mean burn time is different for these two brands. obtained, and the amount of sugar (in grams) was measured in
Use a 5 0.01. each. Assume the underlying populations are normal, with
c. Find bounds on the p value associated with the hypothesis unequal variances. ROOTBEER
test in part (b). a. Is there any evidence to suggest that the population mean
amount of sugar in A&W root beer is greater than in
10.62 Physical Sciences A pressure-relief valve (PRV) is
Barq’s root beer? Use a 5 0.05.
installed on a residential hot-water heater to protect against
b. Construct a 95% confidence interval for the difference in
overheating and, of course, high pressure. Independent random
the population mean sugar amounts. Does this confidence
samples of PRVs from different companies were obtained. Each
interval support the hypothesis test conclusion in part (a)?
value was tested by recording the pressure (in psi) required to
Explain.
cause the valve to open. The summary statistics are given in the
following table.
Challenge
Sample Sample Sample
Company size mean variance 10.65 Robust Statistics The two-sample t test for compar-
ing population means when the variances are equal is a
Delta 30 147.6 7.09 robust statistical procedure. If the population variances are
Gamma 35 147.8 13.70 different, as long as the underlying populations are normal
and the sample sizes are equal, then the hypothesis test is still
Assume the underlying populations are normal, with unequal very reliable.
variances. Generate a random sample of size 25 from a normal distribu-
a. Is there any evidence to suggest that the mean pressure tion with mean m1 5 100 and standard deviation s1 5 5.
required to open each valve is different? Use a 5 0.05. Generate a second random sample of size 25 from a normal
b. Find a 95% confidence interval for the difference in distribution with mean m2 5 100 and standard deviation
population mean pressure required to open each valve. Is s2 5 5. Conduct a two-sided, two-sample t test for comparing
this confidence interval consistent with the results in part population means assuming the population variances are equal
(a)? Explain. and with a 5 0.05. Do this 100 times and record the number of
10.63 Physical Sciences The lifetime of a fuel rod in a com- times you reject the null hypothesis.
mercial light-water nuclear reactor is related to the internal Repeat the same procedure but use s2 5 7. Record the number
pressure. Typically, a fuel rod lasts for 36 months, and one-third of times you reject the null hypothesis. Repeat the same proce-
of all fuel rods are replaced each year during a plant shutdown. dure for s2 5 10, 15, 20, 25, 30, 50. Use your results to explain
A new type of fuel rod includes a gas-relief capsule and is the robust nature of this hypothesis test.
490 CHAP T E R 10 Confidence Intervals and Hypothesis Tests Based on Two Samples or Treatments
Even through the word individual Let X1 represent a randomly selected first observation and let X2 represent the cor-
▲
is used, this means individual or responding second observation on the same individual. Consider the random variable
object. D 5 X1 2 X2 , the difference in the observations, and the n observed differences
di 5 ( x1 ) i 2 ( x2 ) i, i 5 1, 2, . . . , n. X1 and X2 are both normal, so D is also normal.
More important, the differences are independent. A hypothesis test concerning
m1 2 m2 is based on the sample mean of the differences, D. This random variable has
the following properties.
Properties of D
1. E ( D ) 5 m1 2 m2 . D is an unbiased estimator for the difference in means m1 2 m2.
2. The variance of D is unknown, but it can be estimated using the sample variance of
the differences.
3. Both underlying populations are normal, so D is normal, and hence, D is also
normal.
▲
Here’s what all of these results mean for us. To compare population means, m1 and m2,
when the data are paired, we focus on the difference m1 2 m2. As in earlier two-sample
tests, the null hypothesis H0: m1 5 m2 is equivalent to H0: m1 2 m2 5 0. A test to determine
whether the underlying population means of two paired samples are equal is equivalent to
a test to determine whether the population mean of the paired differences is zero. We com-
pute the differences, d1, d2, . . . , dn, and conduct a one-sample t test (with n 2 1 degrees
of freedom) using the differences.
10.3 Paired Data 491
A CLOSER L OK
1. D0 is the hypothesized difference in the population means. Usually D0 5 0: The null
hypothesis is that the two population means are equal. However, D0 may be nonzero.
For example, the null hypothesis H0: mD 5 m1 2 m2 5 5 5 D0 specifies that the dif-
ference in population means is 5.
2. A paired t test is valid even if the underlying population variances are unequal, that is,
even if s21 2 s22. The sample variance of the differences, S2D, is a good estimator of
Var ( X1 2 X2 ) when the observations are paired.
3. If a paired t test is appropriate, the test statistic is based on n 2 1 degrees of freedom.
A two-sample t test (incorrect here) would be based on a test statistic with
n 1 n 2 2 5 2n 2 2 degrees of freedom. Therefore, the correct analysis is based on
a distribution with greater variability and is more conservative.
Subject 1 2 3 4 5 6
Initial pulse rate 67 71 67 83 70 75
Final pulse rate 61 72 70 76 58 61
Difference 6 21 23 7 12 14
Subject 7 8 9 10 11 12
Initial pulse rate 71 68 72 88 78 70
Final pulse rate 74 59 61 64 71 77
Difference 23 9 11 24 7 27
Is there any evidence to suggest that the music-listening, relaxation-therapy program
reduced the mean pulse rate and, therefore, the stress level? Assume the underlying distri-
butions of initial and final pulse rate are normal, and use a 5 0.05.
492 CHAP TE R 10 Confidence Intervals and Hypothesis Tests Based on Two Samples or Treatments
Is there any evidence to suggest that the population mean cesium-137 level decreased
from August 23 to August 30? Assume the underlying populations are normal, use
a 5 0.05, and find bounds on the p value associated with this hypothesis test.
t1
0 2.5251
Figure 10.34 p-Value illustration: Figure 10.35 Minitab Paired t (Test and Confidence
p 5 P(T $ 2.5251) Interval) results.
5 0.0198 # 0.05 5 a
The random variable T here is The usual technique can be used to construct a confidence interval for the difference in
D 2 mD means, mD 5 m1 2 m2, when the observations are paired. Start with a symmetric interval
T5
SD / !n about 0 such that the probability T lies in this interval is 1 2 a. Manipulate the inequality
to sandwich mD.
SOLUTION
STEP 1 The sample size and summary statistics are given, and the underlying distribu-
tions (before maintenance mpg and after maintenance mpg) are assumed normal.
The observations are paired, so we can use Equation 10.6.
1 2 a 5 0.99 1 a 5 0.01 1 a /2 5 0.005 Find a/2.
Andresr/Shutterstock ta/2,n21 5 t0.005,17 5 2.8982 Find the t critical value with n 5 17.
( 25.1191, 2.5591 ) is a 99% confidence interval for the true mean difference in
miles per gallon, mD.
Note that because 0 is included in this confidence interval, there is no evidence
VIDEO TECH MANUALS to suggest that mD is different from 0, and there is no evidence to suggest that the
EXEL DISCRIPTIVE
PAIRED SAMPLES maintenance program improves mileage.
INFERENCE
Figures 10.36 and 10.37 together show a technology solution.
Technology Corner
Procedure: Hypothesis tests and confidence intervals concerning paired data.
Reconsider: Example 10.9, solution, and interpretations.
Crunchlt!
Use the built-in function Statistics; t; Paired. There are tabs to conduct a hypothesis test and construct a confidence interval.
1. Enter the data from the first date into column Var1 and the data from the second date into column Var2.
2. Select Statistics; t; Paired. Choose the First and Second Variables from the drop-down menus. Under the Hypothesis
Test tab, enter the Mean difference under the null hypothesis and select the appropriate alternative. See Figure 10.38.
3. Click Calculate. The results are displayed in a separate window. See Figure 10.39.
TI-84 Plus C
Compute the differences if necessary. Use the built-in functions T-Test and TInterval. Input is either summary statistics
or data in lists.
1. Enter the August 23 data into list L1 and the August 30 data into list L2.
2. Find the paired differences on the Home screen, and store them in the list L3.
496 CHA PT E R 10 Confidence Intervals and Hypothesis Tests Based on Two Samples or Treatments
3. Select STAT ; TESTS; T-Test. Highlight Data. Enter m0, the hypothesized difference in means and the list
containing the paired differences. Set the frequency to 1 and highlight the alternative hypothesis. See Figure 10.40.
4. Highlight Calculate and press ENTER . The results are displayed on the Home screen. See Figure 10.41. The Draw
results are shown in Figure 10.42.
5. Use STAT ; TESTS; TInterval to construct a confidence interval for the paired differences. This procedure is described
in the Technology Corner in Section 8.3. A 95% confidence interval for the paired differences in shown in Figure 10.43.
Figure 10.40 T-Test Figure 10.41 T-Test Figure 10.42 T-Test Figure 10.43 A 95%
input screen. hypothesis test results. Draw results. confidence interval for the
paired differences.
Minitab
Use the built-in function Paired t to conduct a hypothesis test and to construct a confidence interval. Input is either paired
data in two columns or summarized data for the paired differences.
1. Enter the August 23 data into column C1 and the August 30 data into column C2.
2. Select Stat; Basic Statistics; Paired t.
3. Choose Each sample is in a column, and enter C1 in the Sample 1 input window and C2 in the Sample 2 input window.
4. Choose the Options option button. Enter a Confidence level, the Hypothesized difference ( D0 ) , and the Alternative
hypothesis.
5. The hypothesis test results and the confidence interval are displayed in a session window. Refer to Figure 10.35.
Excel
Use the Data Analysis toolkit function t-Test: Paired Two Sample for Means. If only summarized data for the paired
differences are given, use the function CONFIDENCE.T to find the bound on the confidence interval and compute the
endpoints of the CI as described in the Technology Corner in Section 8.3.
1. Enter the August 23 data into column A and the August 30 data into column B.
2. Under the Data tab, select Data Analysis; t-Test: Paired Two Sample for Means.
3. Enter the Variable 1 Range (A1:A8), Variable 2 Range (B1:B8), the Hypothesized Mean Difference ( D0 ) , and a value
for Alpha.
4. Choose an Output option and click OK.
5. Summary statistics along with the value of the test statistic, critical values, and p values are displayed. See Figure 10.44.
will be used to determine whether there is a difference in a. What is the common characteristic that makes these data
the mean amount of fiber in the banana peel by country. paired?
c. A new stent has been designed for use in patients with b. Assume normality. Conduct the appropriate hypothesis
diseased arteries. A random sample of patients in need of test to determine whether there is any evidence that the
a stent was selected. The intrasaccular pressure of each mean runtime for Java programs is greater than the mean
was carefully measured, and then a stent was surgically runtime for C++ programs. Use a 5 0.001.
placed in the diseased artery. The intrasaccular pressure c. Find bounds on the p value associated with this hypothesis
was measured again following surgery. The data will be test.
used to determine whether the stent placement reduced 10.79 Physical Sciences A consultant working for a State
intrasaccular pressure. Police barracks contends that service weapons will fire with a
d. An automobile manufacturer claims that using a lighter higher muzzle velocity if the barrel is properly cleaned. A
weight engine oil can actually increase a car’s miles per random sample of Glock 9-mm handguns was obtained, and
gallon (of gasoline). A random sample of cars (and the muzzle velocity (in feet per second) of a single shot from
drivers) was selected, all who currently use a heavy weight each gun was measured. Each gun was professionally
oil in their engines. The miles per gallon for each car was cleaned, and the muzzle velocity of a second shot (with the
recorded. The engine oil was drained, a lighter weight oil same bullet type) was measured. The data are given in the
was used, and the miles per gallon was recorded again. following table. GLOCK
The data will be used to determine if the mean miles per
gallon has increased. Gun 1 2 3 4 5 6
e. A new process has been developed that theoretically Before 1505 1419 1504 1494 1510 1506
improves the nutritional value of barley for use in fish After 1625 1511 1459 1441 1472 1521
feed.* A random sample of traditional barley and another
random sample of the new barley was obtained. The a. What is the common characteristic that makes these data
percentage of protein in each grain was carefully paired?
measured. The data will be used to determine whether the b. Assume normality. Conduct the appropriate hypothesis
new barley has a greater mean percentage of protein. test to determine whether there is any evidence that a
10.75 The following summary statistics were obtained in a clean gun fires with a higher muzzle velocity. Use
paired-data study: d 5 15.68, sD 5 33.55, and n 5 17. Assume a 5 0.01.
normality and conduct a test of H0: mD 5 0 versus Ha: mD . 0. c. Find bounds on the p value associated with this hypothesis
Use a 5 0.05. test.
particulate matter was measured again. The differences (before ballads. The steps per minute for each person for each genre
filtration – after filtration) were recorded. Assume normality. Is were recorded. WALKING
there any evidence to suggest that the new filtration system a. What is the common characteristic that makes these data
improves air quality by removing particulate matter? Use paired?
a 5 0.05. Write a Solution Trail for this problem. FILTER b. Assume normality. Conduct the appropriate hypothesis to
determine whether there is any evidence to suggest that
10.82 Biology and Environmental Science The best hur-
the population mean steps per minute listening to hard
ricane forecasting models use global data and take hours to run
rock is greater than the population mean steps per minute
on the world’s fastest supercomputers. A random sample of 26
listening to ballads. Use a 5 0.01.
tropical storms or hurricanes that passed within 25 miles of
Miami were selected. The European Center for Medium-Range 10.86 Public Health and Nutrition The cost of
Weather Forecasting (ECMWF) and the Global Forecast Sys- long-term health care continues to rise each year, but it
tem (GFS) models were used to predict storm surge (in feet). varies considerable from state to state. Many older adults who
The summary statistics for the differences (ECMWF – GFS) must enter a nursing home may select either a semi-private or
were d 5 1.4923 and sD 5 2.8097. private room. Several states were selected at random and the
a. Is there any evidence to suggest that the ECMWF model cost of each type of room was recorded.14 ROOMS
predicts higher storm surges? Assume normality and use a. Assume normality and conduct the appropriate hypothesis
a 5 0.05. test to determine whether the population mean cost of a
b. Find bounds on the p value associated with this hypothesis private room is $15 greater than the population mean cost
test. of a semi-private room. Use a 5 0.001. Write a Solution
Trail for this problem.
10.83 Physical Sciences It is important to maintain a low
b. What characteristic of the differences suggests that the
ammonia-ion concentration in freshwater aquariums to ensure hypothesis test in part (a) will be significant?
healthy fish (and plants). An ammonia neutralizer is advertised c. Find bounds on the p value associated with this hypothesis
to almost instantly detoxify ammonia (i.e., reduce the concen- test.
tration of ammonia ions) in order to protect fish. Fourteen
untreated 20-gallon aquariums were selected at random, and the 10.87 Manufacturing and Product Development The
ammonia-ion concentration (in ppm) in each was measured. porosity of a concrete block is a measure (as a percentage) of
One hour after the directed amount of the neutralizer was used, the amount of empty space in the block. In residential homes
the ammonia ion concentration was measured again. Assuming with concrete-block foundations, a larger porosity leads to
normality, is there any evidence to suggest that the neutralizer damper, colder basements. A contractor recommends pretreat-
decreases the mean ammonia-ion concentration? Use ment of concrete blocks with a product designed to decrease the
a 5 0.025. AQUARIUM porosity. A random sample of concrete blocks was obtained,
and the porosity of each was measured. The clear, paintlike
10.84 Public Health and Nutrition Beef boullion generally product was applied to each block, and the porosity was mea-
has a high salt content, which can cause health problems. A sured again. The differences (before treatment – after treatment)
food columnist for a local newspaper suggested simmering in porosities were recorded. Assume normality. Is there any evi-
boullion with slices of raw potato to remove salt. To check this dence to suggest the new product decreases the mean porosity
claim, 10 different boullion brands were selected at random of concrete blocks? Use a 5 0.001. CONCRETE
and the salt content in each was measured (in mg/cup of
10.88 Psychology and Human Behavior Each employee
water). Five potato slices were then added to each broth and
hired at an electronics parts assembly line in Edmonton, Alberta,
the mixtures were left to simmer for 15 minutes. Following
is given a general intelligence test. To determine which method
this procedure, the salt content was measured again. The dif-
of training is more effective, eight pairs of new hires were
ference between the initial and the final salt content was com-
matched according to their exam scores. One set of employees
puted for each boullion brand, and the data are given in the
was asked to read appropriate training manuals, while the other
following table. BOULLION
group watched interactive training videos. Each employee was
then asked to assemble a part used in a locater-beacon transmit-
2169 2222 431 110 2168 ter, and the time (in minutes) to completion was recorded. The
353 2207 68 25 203 data are given in the following table. TRAINING
a. What is the common characteristic that makes these data to lower the cloud point of this type of fuel. A random sample
paired? of six different biodiesel fuels was obtained and the cloud point
b. Is there any evidence to suggest the true mean time was measured for each. One ounce of the chemical additive was
difference, mD, is different from 0? Assume normality and mixed in with every fuel sample and the cloud point was mea-
use a 5 0.05. sured again. The resulting data are given in the following table
(temperatures in °C). CLOUDING
10.89 Public Health and Nutrition Americans love ham-
burgers, but the high fat content in some cooked patties pres-
ents a severe health threat. Certain electric grills are designed to Fuel 1 2 3 4 5 6
drain fat away from the patty, resulting in a healthier, although Before 11.7 12.9 14.2 12.7 11.3 12.4
perhaps less tasty, meal. A random sample of ground beef pack- additive
ages was obtained (with various fat contents). Two patties were
After 10.3 10.7 14.1 10.0 11.2 12.1
made from each package. One was cooked in an electric grill,
additive
while the other was prepared in a frying pan on top of a stove.
The fat content (as a percentage) in each cooked patty was
measured. HAMBURG a. Assume normality, and conduct the appropriate
a. Conduct the appropriate hypothesis test to determine hypothesis test to determine whether the additive lowers
whether the true mean fat content in hamburgers cooked the mean cloud point in biodiesel fuel. Use a 5 0.05.
on an electric grill is less than the true mean fat content of b. Conduct an inappropriate two-sample t test to compare
hamburgers cooked in a frying pan. Assume normality the population mean cloud point before treatment with the
and use a 5 0.001. population mean cloud point after treatment. Assume the
b. Find bounds on the p value associated with this hypothesis population variances are unequal and use a 5 0.05.
test. c. Compare the conclusions in parts (a) and (b). How are the
test statistics the same, and how do they differ?
Extended Applications 10.92 Biology and Environmental Science In August
2013, Vancouver Coastal Health warned swimmers that the
10.90 Medicine and Clinical Studies A new drug designed
coliform count at East False Creek was approximately twice the
to reduce fever (and relieve aches and pains) is being tested for
safe level.15 The contamination was attributed to boats, birds,
efficacy and side effects. Ten patients entering a hospital with a
geese, and warm weather. A random sample of locations along
high fever were selected at random. The temperature (in °F) of
the creek was obtained, and the coliform count (bacteria per
each patient was measured, the drug was administered, and two
100 ml of water) was measured in early August and again fol-
hours later the temperature was measured again. The data are
lowing several rain storms. COLIFORM
given in the following table. FEVER
a. What is the common characteristic that makes these data
Patient 1 2 3 4 5 paired?
b. Use a one-sided paired t test to determine whether the rain
Before drug 102.6 99.2 102.3 101.1 102.7
caused a decrease in the coliform count. Assume
After drug 99.8 98.8 97.5 100.3 99.6 normality and use a 5 0.001.
c. Find the safe level of coliform. Do you think it was safe to
Patient 6 7 8 9 10 swim in the creek after the rain? Why or why not?
Before drug 102.6 100.5 103.5 105.7 104.3 10.93 Travel and Transportation For anyone planning to
After drug 102.8 99.0 101.8 97.1 99.2 travel, either for vacation or on business, the pricing plans of
airlines remain a guarded mystery. A study by [Link]
a. What is the common characteristic that makes these data
suggested that the cheapest fares are found 49 days before a
paired?
flight. However, according to Travelers Today, the best prices
b. Assume normality. Conduct the appropriate hypothesis
are offered 21 days before a flight.16 The Washington, D.C.-to-
test to determine whether there is any evidence that the
Los Angeles route was selected as a test case. A random sample
new drug reduces the mean patient temperature after two
of days was selected, and the best price for a one-way ticket was
hours. Use a 5 0.05.
recorded 21 and 49 days prior to the flight. AIRPRICE
c. Find bounds on the p value associated with this hypothesis
a. Assume normality. Is there any evidence to suggest that
test.
the price of a ticket on this route differs if purchased 21 or
d. What characteristic of the differences suggests that a
49 days in advance? Use a 5 0.05.
hypothesis test will be significant?
b. Find bounds on the p value associated with this hypothesis
10.91 Fuel Consumption and Cars Biodiesel fuel has a test.
cloud point, the temperature at which the fuel becomes cloudy, c. Find a 95% confidence interval for the difference in
of approximately 13°C. This clouding can lead to poor engine population mean cost per ticket. Does this confidence
performance and can even cause an engine to stop completely. interval support your conclusion in part (a)? Why or
An industrial chemical company produces an additive designed why not?
10.4 Comparing Two Population Proportions Using Large Samples 501
= =
Properties of the Sampling Distribution of P1 ! P2
= =
1. The mean of P1 2 P2 is the true difference between population proportions, p1 2 p2 .
That is,
= =
E ( P1 2 P2 ) 5 mP=1 2 P= 25 p12 p2
= =
2. The variance of P1 2 P2 is
= = p1 ( 1 2 p1 ) p2 ( 1 2 p2 )
Var ( P1 2 P2 ) 5 s2P= 12P= 2 5 1
= n=1 n2
The standard deviation of P1 2 P2 is
p1 ( 1 2 p1 ) p2 ( 1 2 p2 )
sP=12P= 2 5 1
Å n1 n2
3. If
(a) both n1 and n2 are large,
Items (b) and (c) are the (b) n1p1 $ 5 and n1 ( 1 2 p1 ) $ 5, and
nonskewness criterion. (c) n2 p2 $ 5 and n2 ( 1 2 p2 ) $ 5,
= =
then the distribution of P1 2 P2 is approximately normal.
= = p1 ( 1 2 p1 ) p2 ( 1 2 p2 )
In symbols: P1 2 P2 , N c p1 2 p2, d
d
1
n1 n2
Case 1: H0: p1 2 p2 5 0, or p1 5 p2 ( D0 5 0 )
If this null hypothesis is true, there is one common value for the two population propor-
= =
tions, denoted p ( 5 p1 5 p2 ) . The variance of P1 2 P2 becomes
p(1 2 p) p(1 2 p) 1 1
s2P=12P= 2 5 1 5 p(1 2 p) a 1 b (10.7)
n1 n2 n1 n2
= =
Using the properties of P1 2 P2, the random variable
= =
( P1 2 P2 ) 2 0
Z5 (10.8)
1 1
p(1 2 p) a 1 b
Å n 1 n2
is approximately standard normal. As for the common variance in Section 10.2, an esti-
mator for the common proportion, p, is obtained by using information from both samples.
The pooled or combined estimate of the common population proportion is
= = X1 1 X2 n1 = n2 =
P c is another weighted average. Pc 5 5a bP1 1 a bP2 (10.9)
n1 1 n2 n1 1 n2 n1 1 n2
The general hypothesis test procedure is based on the standardization in Equation 10.8
=
with pc as an estimate of p.
A CLOSER L OK
1. This test is valid as long as the nonskewness criterion holds for both samples. Use the
= =
estimates p1 and p2 to check the inequalities.
2. Just as a reminder, the z critical values for this test are from the standard normal distri-
bution.
3. Remember, we can also determine whether to reject or not to reject the null hypothesis
by comparing the p value associated with the value of the test statistic to the signifi-
cance level a.
■ Greater than the true their parents, and in a random sample of 300 female millennials, 96 lived with their par-
proportion
ents. Is there any evidence to suggest that the true proportion of male millennials living
■ Random sample with their parents is greater than the true proportion of female millennials living with
TR A NSL ATI O N their parents? Use a 5 0.05.
■ Conduct a one-sided
hypothesis test about p1 2 p2 SOLUTION
■ D0 5 0. STEP 1 This is a one-sided test in which we are looking for evidence that a greater pro-
CON C EPT S portion of males than females are living with their parents. Therefore, D0 5 0,
■ Large-sample hypothesis test
and case 1 is appropriate. Arbitrarily, let male millennials be population 1 and
concerning two population female millennials be population 2. The given information:
proportions when D0 5 0
V I SI O N Males Females
Check the large-sample Sample size n1 5 275 n2 5 300
assumptions. Use the template
Number of successes x1 5 110 x2 5 96
for a one-sided, right-tailed test = =
concerning p1 2 p2 when Sample proportion p1 5 110/275 5 0.40 p2 5 96/300 5 0.32
D0 5 0. Use a 5 0.05 to find
the critical value, compute the
value of the test statistic, and STEP 2 Check the nonskewness criterion using estimates for p1 and p2.
draw a conclusion. = =
n1p1 5 ( 275 ) ( 0.40 ) 5 110 $ 5 n1 ( 1 2 p1 ) 5 ( 275 ) ( 0.60 ) 5 165 $ 5
= =
n2 p2 5 ( 300 ) ( 0.32 ) 5 96 $ 5 n2 ( 1 2 p2 ) 5 ( 300 ) ( 0.68 ) 5 204 $ 5
= =
All of the inequalities are satisfied, so P1 2 P2 is approximately normal, and
the large-sample hypothesis test concerning population proportions can be
used.
STEP 3 The four parts of the hypothesis test are
H0: p1 2 p2 5 0
Ha: p1 2 p2 . 0
= =
P1 2 P2
TS: Z 5
= = 1 1
Pc ( 1 2 Pc ) a 1 b
Å n1 n2
RR: Z $ za 5 z0.05 5 1.6449
STEP 4 The estimate of the common population proportion is
= x1 1 x2 110 1 96
pc 5 5 5 0.3583
n1 1 n2 275 1 300
The value of the test statistic is
= =
p1 2 p2 0.40 2 0.32
z5 5 5 1.9985
= = 1 1 1 1
( )
pc 1 2 pc a 1 b ( ) (
0.3583 0.6417 a) 1 b
Å n1 n2 Å 275 300
STEP 5 The value of the test statistic lies in the rejection region. Equivalency, p "
0.0228 # 0.05, as illustrated in Figure 10.45. We reject the null hypothesis at the
a 5 0.05 significance level. There is evidence to suggest that the true proportion
of male millennials living with their parents is greater than the true proportion of
female millennials living with their parents.
504 CH AP TER 10 Confidence Intervals and Hypothesis Tests Based on Two Samples or Treatments
Case 2: H0: p1 2 p2 5 D0 2 0
This case, with D0 2 0, is less common. Because p1 and p2 are assumed unequal, there is
no hypothesized, common population proportion. The hypothesis test follows routinely
= =
from the properties of P1 2 P2.
Suppose two random samples of sizes n1 =and n2= are obtained, and the nonskewness
criterion is satisfied. Using the properties of P1 2 P2, a confidence interval for p1 2 p2
can be derived ( p1 and p2 are assumed unequal). Start with a symmetric interval about 0
such that the probability Z lies in this interval is 1 2 a. As usual, manipulate the inequal-
ity to sandwich the parameter p1 2 p2.
10.4 Comparing Two Population Proportions Using Large Samples 505
STEPPED
STEPPED TUTORIAL
TUTORIALS
How to Find a 100(1 2 #)% Confidence Interval for p1 2 p2
CONFIDENCE
BOX PLOTS Given two (large) random samples of sizes n1 and n2, a 100 ( 1 2 a ) % confidence interval
INTERVALS FOR THE
DIFFERENCE IN POPU- for p1 2 p2 has as endpoints the values
LATION PROPORTIONS
= = = =
= = p1 ( 1 2 p1 ) p2 ( 1 2 p2 )
( p1 2 p2 ) 6 za/2 1 (10.10)
Å n1 n2
Solution Trail 10.12 Example 10.12 Make Room for Canadian Fliers
More Canadians are using smaller U.S. airports near the border when they travel to cities
K EY WO R D S
in the United States. Reasons include a strong Canadian dollar and higher taxes and fees
Is there any evidence?
■
on air travel in Canada.18 In a random sample of 500 fliers at Buffalo Niagara Interna-
■ True proportion is more than tional Airport, 245 were Canadian, and in a random sample of 400 fliers at Bellingham
0.05 greater than
(Washington) International Airport, 160 were Canadian.
■ Random sample
a. Conduct the appropriate hypothesis test to determine whether there is evidence that the
TR A NSL ATI O N true proportion of Canadian fliers at Niagara is more than 0.05 greater than the true
■ Conduct a one-sided proportion of Canadian fliers at Bellingham. Use a 5 0.01.
hypothesis test about p1 2 p2 b. Find the p value associated with this hypothesis test.
■ D0 5 0.05
SOLUTION
CON C EPT S
STEP 1 Let Niagara fliers be population 1 and Bellingham fliers be population 2. We are
■ Large-sample hypothesis test
concerning two population looking for evidence that the difference p1 2 p2 is greater than 0.05 5 D0 2 0.
proportions when D0 2 0 Therefore, case 2 is appropriate.
The given information is presented here.
V I SI O N
Check the large-sample Niagara fliers Bellingham fliers
assumptions. Use the template
for a one-sided test concerning Sample size n1 5 500 n2 5 400
p1 2 p2 when D0 2 0. Use Number of successes x1 5 245 x2 5 160
a 5 0.01 to find the critical = =
Sample proportion p1 5 245/500 5 0.49 p2 5 160/400 5 0.40
value, compute the value of the
test statistic, and draw a
conclusion. Check the nonskewness criterion using estimates for p1 and p2.
= =
n1p1 5 ( 500 ) ( 0.49 ) 5 245 $ 5 n1 ( 1 2 p1 ) 5 ( 500 ) ( 0.51 ) 5 255 $ 5
= =
n2 p2 5 ( 400 ) ( 0.40 ) 5 160 $ 5 n2 ( 1 2 p2 ) 5 ( 400 ) ( 0.60 ) 5 240 $ 5
= =
All of the inequalities are satisfied, so P1 2 P2 is approximately normal, and the
large-sample hypothesis test concerning population proportions can be used.
STEP 2 The four parts of the hypothesis test are
H0: p1 2 p2 5 0.05
Ha: p1 2 p2 . 0.05
= =
( P1 2 P2 ) 2 0.05
TS: Z 5 = = = =
P1 ( 1 2 P1 ) P2 ( 1 2 P2 )
1
Å n1 n2
RR: Z $ za 5 z0.01 5 2.3263
STEP 3 The value of the test statistic is
= =
( p1 2 p2 ) 2 0.05 ( 0.49 2 0.40 ) 2 0.05
z5 = = = = 5 5 1.2062
p1 ( 1 2 p1 ) p2 ( 1 2 p2 ) ( 0.49 ) ( 0.51 ) ( 0.40 ) ( 0.60 )
1 1
Å n1 n2 Å 500 400
506 CH APT ER 10 Confidence Intervals and Hypothesis Tests Based on Two Samples or Treatments
The value of the test statistic does not lie in the rejection region. (Equivalently,
p 5 0.1139 . 0.05, as illustrated in Figure 10.49.) We do not reject the null
hypothesis. At the a 5 0.01 significance level, there is no evidence to suggest
that the population proportion of Canadian fliers at Niagara is more than 0.05
greater than the population proportion of Canadian fliers at Bellingham.
VIDEO TECH MANUALS The computations for a confidence interval for p1 2 p2 are illustrated in the next
EXEL PROPORTIONS
TWO DISCRIPTIVE example.
INFERENCE CI TEST -
SUMMARIZED DATA
Example 10.13 Storm Watch
The Weather Channel (TWC) is one of the most popular cable TV networks. Who hasn’t
seen Jim Cantore in the middle of some wild weather? However, the number of viewers
varies greatly according to geographic region and the current weather conditions. Random
samples of cable TV viewers in the Northeast (population 1) and in the West (population
2) were obtained. The number of viewers who watched TWC in the past week was recorded.
The data are given in the following table.
Northeast West
Carolina K. Smith MD/Shutterstock Sample size n1 5 1000 n2 5 1500
Number of successes x1 5 446 x2 5 303
= =
Sample proportion p1 5 446/1000 5 0.4460 p2 5 303/1500 5 0.2020
Construct a 99% confidence interval for the true difference in proportions of cable TV
viewers who watched TWC in the past week.
10.4 Comparing Two Population Proportions Using Large Samples 507
SOLUTION
STEP 1 The sample sizes, number of successes, and sample proportions are given. Check
the nonskewness criterion using estimates for p1 and p2.
= =
n1p1 5 ( 1000 ) ( 0.4460 ) 5 446 $ 5 n1 ( 1 2 p1 ) 5 ( 1000 ) ( 0.5540 ) 5 540 $ 5
= =
n2 p2 5 ( 1500 ) ( 0.2020 ) 5 303 $ 5 n2 ( 1 2 p2 ) 5 ( 1500 ) ( 0.7980 ) 5 1197 $ 5
All of the inequalities are satisfied, so the distribution of the difference in sample
proportions is approximately normal. A large-sample confidence interval is
appropriate.
STEP 2 Find the critical value.
1 2 a 5 0.99 1 a 5 0.01 1 a /2 5 0.005 Find a/2.
(0.1955, 0.2925) is a 99% confidence interval for the difference in the proportion
of cable TV viewers who watched TWC in the past week in the Northeast and in
the West, p1 2 p2. Note that because 0 is not included in this interval, there is
evidence to suggest that the two proportions are different.
Figures 10.51 and 10.52 together show a technology solution.
Technology Corner
Procedure: Hypothesis tests and confidence intervals concerning two population proportions.
Reconsider: Example 10.11, solution, and interpretations.
Crunchlt!
Use Proportion 2-sample to conduct a hypothesis test and concerning two population proportions, D0 5 0 or D0 2 0, and
to construct a confidence interval for the difference in population proportions.
508 CHAP TER 10 Confidence Intervals and Hypothesis Tests Based on Two Samples or Treatments
TI-84 Plus C
Use 2-PropZTest to conduct a hypothesis test concerning two population proportions, D0 5 0, and 2-PropZInt to
construct a confidence interval for the difference in population proportions. There is no built-in function to conduct a
hypothesis test if D0 2 0.
1. Select STAT ; TESTS; 2-PropZTest.
2. Enter the number of successes and the number of trials for each sample: x1, n1, x2, n2. Highlight the appropriate alterna-
tive hypothesis. See Figure 10.46.
3. The Calculate and Draw results are shown in Figures 10.47 and 10.48.
4. To construct a confidence interval, select STAT ; TESTS; 2-PropZInt.
5. Enter the number of successes and the number of trials for each sample, x1, n1, x2, n2, and the confidence level
(Figure 10.56).
6. Highlight Calculate and press ENTER . The confidence interval is displayed on the Home Screen. See Figure 10.57.
Minitab
Use the function 2 Proportions to conduct a hypothesis test and to construct a confidence interval. Input is samples in one
column, samples in different columns, or summarized data.
1. Select Stat; Basic Statistics; 2 Proportions.
2. Choose Summarized data and enter the number of successes (Events) and number of trials for each sample.
10.4 Comparing Two Population Proportions Using Large Samples 509
3. Choose the Options option button. Enter a Confidence level, the (hypothesized) Test difference ( D0 ) , and select the
appropriate Alternative hypothesis. If D0 5 0, use the Test method: Use the pooled estimate of the proportion. If
D0 2 0, use Estimate the proportions separately.
4. The hypothesis test results and confidence interval are displayed in a session window. See Figure 10.58.
Excel
There are no built-in functions to conduct a hypothesis test concerning two population proportions or to construct a
confidence interval for the difference in population proportions. However, functions associated with the standard normal
distribution may be used to find critical values and p values. Use ordinary spreadsheet calculations where necessary.
1. Enter the number of successes and number of trials for each sample.
= = =
2. Compute p1, p2, and pc.
3. Compute the value of the test statistic, z, and use the function [Link] to find the p value.
= =
4. To construct the confidence interval, compute the difference, p1 2 p2, use the function [Link] to find the
= = = =
p1 ( 1 2 p1 ) p2 ( 1 2 p2 )
critical value, and compute 1 .
Å n1 n2
5. Find the left endpoint and the right endpoint of the confidence interval. See Figure 10.59.
states, 85 said that an armed revolution might be necessary. Is 10.111 Travel and Transportation Many people who com-
there any evidence to suggest that the proportion of voters in mute to work by car in New York City every day use either the
the West who believe that an armed revolution might be neces- George Washington Bridge or the Lincoln Tunnel. A random
sary is different from the proportion of voters in the East? Use sample of commuters who use one of these two routes was
a 5 0.05. Write a Solution Trail for this problem. obtained, and each was asked whether they carpooled to work.
The data are given in the following table.
10.108 Technology and the Internet In its Millennium
Development Goals Report, the United Nations suggested that Commuting Sample Number who
by the end of 2013 there will be 6.8 billion cell-phone subscrip- route size carpool
tion plans, and approximately 2.7 billion people will be con-
Bridge 1055 530
nected to the Internet.21 A random sample of households in
Brazil and Russia was obtained, and the number of people Tunnel 1663 825
connected to the Internet was recorded for each. The data are a. Verify that the nonskewness criterion inequalities are
given in the following table. satisfied.
Sample Number connected b. Is there any evidence to suggest that the proportion of
Country size to the Internet carpoolers crossing the George Washington Bridge is
greater than the proportion of carpoolers using the
Brazil 326 161 Lincoln Tunnel? Use a 5 0.01.
Russia 387 210 c. Find the p value associated with the hypothesis test in
part (b).
Is there any evidence to suggest that the proportion of house-
holds connected to the Internet is greater in Russia than in 10.112 Conspiracy Theory In a recent survey, Americans
Brazil? Use a 5 0.01. were asked about 20 popular conspiracy theories. Thirty-seven
percent of voters believe global warming is a hoax, 21% are
10.109 Marketing and Consumer Behavior Many critics
certain a UFO crashed in Roswell, New Mexico, and 7% believe
have been known to say, “They sure don’t make movies like the moon landings were faked.22 (You might consider investi-
they used to.” To assess Americans’ opinions of movies, a ran- gating the theory about lizard people who control our society.)
dom sample of people was obtained and each was asked about The survey results were often very different according to politi-
the quality of movies. The data are given in the following table. cal affiliation. A random sample of Democrats and Republicans
Sample Number who said were asked if they believe pharmaceutical companies invent
Age group size movies are getting better new diseases to make money. The resulting data are given in the
following table.
18–29 347 238
30–49 387 221 Number who believe
Political Sample pharmaceutical companies
a. Conduct the appropriate hypothesis test to determine affiliation size invent diseases
whether there is any evidence to suggest that the true
Democrats 788 137
proportion of 18–29-year-olds who believe movies are
getting better is greater than the proportion of 30–49-year- Republicans 866 105
olds. Use a 5 0.001. Is there any evidence to suggest that the proportion of voters
b. Find the p value associated with the hypothesis test in
who believe pharmaceutical companies invent diseases to make
part (a). money is different for Democrats and Republicans? Use
10.110 Public Health and Nutrition Several years a 5 0.01.
ago, most doctors believed that it was not necessary to 10.113 Medicine and Clinical Studies According to the
take any dietary supplement. Now, because many Americans do National Institute of Allergy and Infectious Diseases, approxi-
not eat a healthy, balanced diet, many physicians recommend a mately 54.6% of all U.S. citizens test positive to one or more
once-a-day multivitamin. A random sample of people was allergens. Between 9% and 16% suffer from hay fever. A ran-
obtained and asked whether they regularly take a multivitamin. dom sample of people who suffer from hay fever was obtained,
The data are given in the following table. and each was treated with either a conventional antihistamine
Sample Number who take or butterbur extract. The number of subjects who experienced
Group size a multivitamin relief from hay fever was recorded for each group. The result-
ing data are given in the following table.
Men 490 181
Women 428 214 Sample Number who
Treatment size experienced relief
Is there any evidence that the proportion of women who take
Antihistamine 255 71
a multivitamin is greater than the proportion of men? Use
a 5 0.005. Write a Solution Trail for this problem. Butterbur extract 237 55
512 CH AP T ER 1 0 Confidence Intervals and Hypothesis Tests Based on Two Samples or Treatments
a. Compute the sample proportion of people who Respondents were asked to rate how safe or unsafe they felt in
experienced relief for each treatment. their neighborhood. The data are given in the following table.24
b. Conduct the appropriate hypothesis test to determine
Number who felt safe
whether the proportion of people who experience relief
Sample in their neighborhood
due to the antihistamine is different from the proportion
District size after dark
of people who experience relief from butterbur extract.
Use a 5 0.01. Hunter Woods 213 141
10.114 Public Health and Nutrition A survey was con- Lake Anne 218 155
ducted concerning physical activity of adults in two states.
Is there any evidence to suggest that the true proportion of resi-
Random samples of adults were obtained from Arizona and
dents who feel safe after dark is different in the two districts?
from West Virginia, and they were all asked whether they
Use a 5 0.05.
consider themselves physically inactive. The data are given
in the following table. 10.118 Technology and the Internet The percentage of
Sample Number who are Canadians who use technology is very high, but a recent survey
State size physically inactive suggests that they greatly overrate their tech savviness. Approx-
imately 60% of Canadians rated themselves as B or better for
Arizona 1122 163 tech savviness, but a large proportion of respondents could not
West Virginia 1181 205 explain roaming, data usage, or online security.25 A random
sample of Canadians from two regions was obtained and asked
Is there any evidence to suggest that the proportion of adults to rate their tech savviness. The results are given in the follow-
who consider themselves physically inactive is greater in West ing table.
Virginia than in Arizona? Use a 5 0.001 and find the p value. Number who rated
10.115 Manufacturing and Product Development Sample their tech savviness
Blenko Specs has two different processes for the manufacture Region size B or better
of optical lenses supplied to the military. A random sample of Edmonton 566 345
finished lenses was obtained from each process, and each lens Thunder Bay 617 330
was carefully inspected for defects. Of the 106 lenses from
Process A, eight were defective, and 12 of the 121 lenses from Is there any evidence to suggest that the true proportion of
Process B were defective. Canadians who rate their tech savviness as B or better is greater
a. Compute the sample proportion of defectives for each in Edmonton than in Thunder Bay? Use a 5 0.01.
process.
b. Check the nonskewness criterion and verify that the
Extended Applications
inequalities are satisfied.
c. Conduct a hypothesis test to determine whether there 10.119 Marketing and Consumer Behavior Americans
is any evidence that the sample proportion of defective have many sources for daily news, for example, local television
lenses is different for Process A and Process B. Use shows, public radio, or national newspapers. A random sample
a 5 0.05. of Americans was obtained and classified by age. Each person
was asked whether he or she obtained news every day from
10.116 Sports and Leisure A major league sports franchise
three specific sources. The data are given in the following table.
can contribute a great deal to the local economy and unite an
entire region. In a recent survey, a random sample of adults in Age group
the Portland, Oregon, area were asked if they would support a
18- to 29-year-olds 30- to 49-year-olds
National Football League team. The data are given in the fol-
lowing table.23 Number who Number who
News Sample obtained news Sample obtained news
Sample Number who would
source size every day size every day
County size support an NFL team
Nightly 570 103 462 120
Clackamas 469 117 network
Multnomah 1985 337 news
Cable 450 108 520 182
Is there any evidence to suggest that the proportion of residents
news
who would support an NFL team is different in the two coun-
networks
ties? Use a 5 0.01.
Internet 546 197 568 239
10.117 Psychology and Human Behavior In a recent sur-
vey, residents of Reston, Virginia, were asked about their quality a. Conduct the appropriate hypothesis test to determine
of life, characteristics of the community, child care, and crime. whether there is evidence that the true proportion of
10.5 Comparing Two Population Variances or Standard Deviations 513
18- to 29-year-olds who obtain news every day from obtained asked whether they planned any landscaping within
nightly network news shows is less than the true the next year. The data are given in the following table.
proportion of 30- to 49-year-olds who obtain news every
day from nightly network news shows. Use a 5 0.05. Sample Number who are
Find the p value associated with this hypothesis test. Residence size planning to landscape
b. Conduct the appropriate hypothesis test to determine Homeowner 261 90
whether there is evidence that the true proportion of 18- to Condominium owner 303 65
29-year-olds who obtain news every day from cable news
networks is less than the true proportion of 30- to Is there any evidence to suggest that the proportion of home-
49-year-olds who obtain news every day from cable news owners planning a landscaping project is more than 0.10 greater
networks shows. Use a 5 0.01. Find the p value than the proportion of condominium owners planning a land-
associated with this hypothesis test. scaping project? Use a 5 0.01.
c. Conduct the appropriate hypothesis test to determine
whether there is evidence that the true proportion of 18- to 10.122 Medicine and Clinical Studies Young children usu-
29-year-olds who obtain news every day from the Internet ally get 5–10 colds each year. To ease cold symptoms, for exam-
is different from the true proportion of 30- to 49-year-olds ple, a runny nose or sore throat, some parents give their children
who obtain news every day from the Internet. Use over-the-counter cough and cold medicines. However, many of
a 5 0.005. Find the p value associated with this these medicines are not effective and can cause serious side
hypothesis test. effects in young children. A random sample of parents of young
children was obtained and asked whether they give their children
10.120 Manufacturing and Product Development Two cough or cold medicine. The data are given in the following table.
different machines in a manufacturing facility are designed to
fill cans with 280 grams of Tang orange-flavored drink mix. A Sample Number who give
random sample of filled cans from each machine was obtained, Parent size cold medicine
and each can was carefully weighed. Of the 134 cans from Male 376 142
machine A, 10 were underfilled, and 7 of 114 cans from
Female 428 183
machine B were underfilled.
a. Compute the sample proportion of underfilled cans for
a. Is there any evidence to suggest that the true population
each machine.
proportion of males who give their children cough
b. Verify the nonskewness criterion.
medicine is different from the true proportion of females?
c. Find a 95% confidence interval for the true difference in
Use a 5 0.05.
the proportion of underfilled cans for machines A and B.
b. Find the p value associated with this hypothesis test.
d. Using the confidence interval in part (c), is there any
c. Find a 95% confidence interval for the difference in the
evidence to suggest that the proportion of underfilled cans
proportion of males who give their children cold medicine
is different for the two machines? Justify your answer.
and the proportion of females who give their children cold
10.121 Psychology and Human Behavior Historically, the medicine. Does this confidence interval support your
three most popular home-improvement projects are interior conclusion in part (a)? Why or why not?
decorating, landscaping, and expansion (respectively). A ran- d. What must be true of the respondents in order for the
dom sample of homeowners and condominium owners was hypothesis test in part (a) to be valid?
An F distribution has positive probability only for non-negative values. The probabil-
ity density function for an F random variable is 0 for x , 0. Once again, it is important
to focus on the properties of an F distribution and the method for finding critical values
associated with this distribution.
Properties of an F Distribution
The numerator and denominator 1. An F distribution is completely determined by two parameters, the number of degrees
designations will make more of freedom in the numerator and the number of degrees of freedom in the denominator,
sense as you read on. given in that order. Both values must be positive integers (1, 2, 3, . . .) and there is, of
course, a different F distribution for every combination.
2. If X has an F distribution with v1 and v2 degrees of freedom, ( X , Fv1,v2 ) , then
v2 2v22 ( v1 1 v2 2 2 )
Why are these restrictions on v2 mX 5 , v2 $ 3 and s2X 5 , v2 $ 5 (10.11)
necessary? What do you suppose
v2 2 2 v1 ( v2 2 2 ) 2 ( v2 2 4 )
the mean is if n2 5 2? 3. Suppose X , Fv1,v2. The density curve for X is positively skewed (not symmetric), and
gets closer and closer to the x axis but never touches it. As both degrees of freedom
increase, the density curve becomes taller and more compact. See Figure 10.60.
f(x)
X ~ F10,15
X ~ F7,7
X ~ F3,4
The definition and notation for an F critical value are analogous to those for Z, t, and
x2 critical values.
Definition
Fa,v1,v2 is a critical value related to an F distribution with v1 and v2 degrees of freedom. If
X , Fv1,v2, then P ( X $ Fa,v1,v2 ) 5 a.
f(x)
X ~ F!1,!2
0 F1−",!1,!2 F ",!1,!2 x
Notice how the degrees of 3. F critical values are related according to the following equation:
freedom switch positions.
1
F12a,v1,v2 5 . (10.12)
Fa,v2,v1
Table VII in the Appendix presents selected critical values associated with various F
distributions and right-tail probabilities. The degrees of freedom in the numerator are
given in the top row and the degrees of freedom in the denominator are given in the left
column. In the body of the table, Fa,v1,v2 is at the intersection of the appropriate row and
column. Left-tail probabilities are found using Equation 10.12. The following example
illustrates the use of Table VII in the Appendix for finding critical values associated
with an F distribution.
SOLUTION
a. F0.05,8,10 is a critical value related to an F distribution with 8 and 10 degrees of free-
dom. By definition, if X , F8,10 , then P ( X $ F0.05,8,10 ) 5 0.05. Using Table VII in
the Appendix, for a 5 0.05, find the intersection of the v1 5 8 column and the
v2 5 10 row.
a 5 0.05
vl
v2 6 7 8 9 10
( ( ( ( ( ( ( (
8 c 3.58 3.50 3.44 3.39 3.35 c
9 c 3.37 3.29 3.23 3.18 3.14 c
10 c 3.22 3.14 3.07 3.02 2.98 c
11 c 3.09 3.01 2.95 2.90 2.85 c
12 c 3.00 2.91 2.85 2.80 2.75 c
( ( ( ( ( ( ( (
Therefore, F0.05,8,10 5 3.07 and if X , F8,10, then P ( X $ 3.07 ) 5 0.05, as illustrated
in Figure 10.62.
b. F0.99,9,15 is a critical value related to an F distribution with 9 and 15 degrees of freedom.
By definition, if X , F9,15, then P ( X $ F0.99,9,15 ) 5 0.99. Because F0.99,9,15 is in the
left tail of the distribution, use Equation 10.12.
1
F0.99,9,15 5 F120.01,9,15 5
F0.01,15,9
516 CH APT ER 10 Confidence Intervals and Hypothesis Tests Based on Two Samples or Treatments
f(x)
f(x)
X ~ F8, 10 X ~ F9,15
0 3.07 x 0 0.202 x
Figure 10.62 Visualization of F0.05,8,10 . Figure 10.63 Visualization of F0.99,9,15 .
Using Table VII in the Appendix, for a 5 0.01, find the intersection of the v1 5 15
column and the v2 5 9 row.
a 5 0.01
v1
v2 9 10 15 20 30
( ( ( ( ( ( ( (
7 c 6.72 6.62 6.31 6.16 5.99 c
8 c 5.91 5.81 5.52 5.36 5.20 c
9 c 5.35 5.26 4.96 4.81 4.65 c
10 c 4.94 4.85 4.56 4.41 4.25 c
11 c 4.63 4.54 4.25 4.10 3.94 c
( ( ( ( ( ( ( (
Figure 10.64 Use the Excel
function [Link] to find F Therefore, F0.99,9,15 5 1/4.96 5 0.202. If the random variable X , F9,15 then
critical values. P ( X $ 0.202 ) 5 0.99 and P ( X # 0.202 ) 5 0.01, as illustrated in Figure 10.63.
A CLOSER L OK
1. Table VII in the Appendix is very limited. There are only three values for a and a lim-
ited number of values for v1 and v2. The TI-84 Plus C does not have a built-in function
for finding F critical values. However, the SOLVE feature may be used to find a critical
value related to any F distribution.
2. Minitab and Excel may also be used to find a critical value related to any F distribu-
tion. Minitab uses inverse cumulative probability and Excel uses right-tail probability.
For example, to find F0.99,9,15 using Minitab, let the random variable X , F9,15.
P ( X $ F0.99,9,15 ) 5 0.99 Definition of F critical value.
Hypothesis tests concerning two population variances and a confidence interval for the
ratio of two population variances are based on the following results.
For reference, we’ll call these the Let S 21 be the sample variance of a random sample of size n1 from a normal distribution
two-sample F test assumptions. with variance s21, let S 22 be the sample variance of a random sample of size n2 from a
normal distribution with variance s22, and suppose the samples are independent.
10.5 Comparing Two Population Variances or Standard Deviations 517
Using the same assumptions, a confidence interval for the ratio of two population vari-
ances can be derived. Let X , Fn121,n221 and find an interval that captures 1 2 a in the
middle of this F distribution. Manipulate the inequality to sandwich the ratio s21 /s22.
The hypothesis test procedure described above can also be used to compare two popu-
lation standard deviations. And, you can take the square root of each endpoint of Equation
10.14 to find a 100 ( 1 2 a ) % confidence interval for the ratio of two population standard
deviations. The following example illustrates the hypothesis test procedure.
Connecticut (1)
270 294 174 180 314 274 160 210 255 187 271
Colorado (2)
161 150 164 109 168 172 133 148 120 157 138 94
166 116 98 168 153 118 138 116 120
a. Conduct the appropriate hypothesis test to determine whether there is any evidence
that the population variance in cost per day is different in Connecticut and
Colorado. Assume the costs per day underlying populations are normal and use
a 5 0.02.
b. Find bounds on the p value for the hypothesis test in part (a).
SOLUTION
STEP 1 The null hypothesis is that the two population variances are equal. We are look-
ing for any difference in the variances, so the alternative hypothesis is two-sided.
The underlying populations are assumed normal and the samples were obtained
independently. A two-sample F test is appropriate.
In this case, n1 5 11 and n2 5 21; a /2 5 0.01 and 1 2 a /2 5 0.99.
STEP 2 The four parts of the hypothesis test are
1 1
s21 5 c 638,819 2 ( 2589 ) 2 d 5 2946.25
10 11
1 1
s22 5 c 414,601 2 ( 2907 ) 2 d 5 609.46
20 21
The value of the test statistic is
s21 2946.25
f5 5 5 4.83 ( $ 3.37 )
s22 609.46
The value of the test statistic lies in the rejection region. Therefore, we reject the
null hypothesis at the a 5 0.02 significance level. There is evidence to suggest
that the two population variances are different.
STEP 4 Because the tables of critical values for F distributions are very limited, we can
X ~ F10,20
only bound the p value. Place the value of the test statistic, f 5 4.83, in an
ordered list of critical values with df 10 and 20.
3.37 # 4.83 # 5.08
F0.01,10,20 # 4.83 # F0.001,10,20
0 4.83
Therefore, 0.001 # p / 2 # 0.01
Figure 10.65 p-Value illustration: and, 0.002 # p # 0.02
p 5 2P(X $ 4.83)
5 0.0027 # 0.02 5 a The exact p value is illustrated in Figure 10.65.
Figures 10.66 through 10.69 show technology solutions.
10.5 Comparing Two Population Variances or Standard Deviations 519
Figure 10.66 Figure 10.67 Figure 10.68 Figure 10.69 JMP tests for
2-SampFTest input 2-SampFTest hypothesis 2-SampFTest Draw equality of two population
screen. test results. results. variances.
The following example involves constructing a confidence interval for the ratio of two
population variances.
Construct a 90% confidence interval for the ratio of population variances in diameter of
brain coral polyps.
SOLUTION
STEP 1 The samples are independent; the sample sizes and sample variances are given.
A confidence interval for the ratio of two population variances is appropriate.
STEP 2 Find the critical values.
Fa/2,n121,n221 5 F0.05,15,20 5 2.20 Critical value, left endpoint. Use Table VII in the Appendix.
Fa/2,n221,n121 5 F0.05,20,15 5 2.33 Critical value, right endpoint. Use Table VII in the Appendix.
s 21 1 s 21
a , Fa/2,n221,n121 b Equation 10.15.
s 22 Fa/2,n121,n221 s 22
0.267 1 0.267
5a , ( 2.33 ) b Use sample variances and critical values.
0.172 2.20 0.172
5 ( 0.7056, 3.6169 ) Simplify.
(0.7056, 3.6169) is a 90% confidence interval for the ratio of the population
variances.
Suppose a two-sample t test will be used to compare two population means. The
hypothesis test presented in this section is often used first to compare the population
variances. The results and conclusion suggest the appropriate hypothesis test concerning
population means from Section 10.2, according to whether or not there is evidence that
the two population variances are unequal.
520 CH A PTE R 10 Confidence Intervals and Hypothesis Tests Based on Two Samples or Treatments
Technology Corner
Procedure: Hypothesis tests and confidence intervals concerning two population variances.
Reconsider: Example 10.15, solution, and interpretations.
Crunchlt!
There is no built-in function to conduct hypothesis tests nor to construct a confidence interval concerning two population
variances. However, the F Distribution Calculator can be used to find critical values.
TI-84 Plus C
Use the built-in function 2-SampFTest to conduct a hypothesis test concerning two population variances. Input is either
data in lists or summary statistics. There is no built-in function to construct a confidence interval for the ratio of population
variances.
1. Enter the Connecticut data into list L1 and the Colorado data into list L2.
2. Select STAT ; TESTS; 2-SampFTest.
3. Highlight Data and enter the two lists. Set each frequency to 1 and highlight the appropriate alternative hypothesis.
See Figure 10.66.
4. Highlight Calculate and press ENTER to display the hypothesis test results. See Figure 10.67. The Draw results
are shown in Figure 10.68.
Minitab
Use the built-in function 2 Variances to conduct a hypothesis test concerning two population variances and to construct a
confidence interval for the ratio of the population variances. Input is samples in one column (with subscripts), samples in
different columns, or summarized data. Several graph options are also available.
1. Enter the Connecticut data into column C1 and the Colorado data into column C2.
2. Select Stat; Basic Statistics; 2 Variances.
3. Choose Each sample is in its own column, and enter C1 in the Sample 1 input window and C2 in the Sample 2 input
window.
4. Choose the Options option button. Select the Ratio of sample variances, enter a Confidence level, enter a Hypothesized
ratio (and value, usually 1), and an Alternative hypothesis.
5. Click OK and the results are displayed in a session and graph window. See Figures 10.70 and 10.71.
Figure 10.70 The 2 Variances output from Figure 10.71 The 2 Variances graph results
Minitab. from Minitab.
10.5 Comparing Two Population Variances or Standard Deviations 521
Excel
Use the built-in function F-Test Two-Sample for Variances to conduct a hypothesis test concerning two population
variances. There is no built-in function to construct a confidence interval for the ratio of population variances.
1. Enter the Connecticut data into column A and the Colorado data into column B.
2. Under the Data tab, select Data Analysis; F-Test Two-Sample for Variances.
3. Enter the Variable 1 range, Variable 2 Range, a value for Alpha, and specify an Output option. There is no alternative
hypothesis option.
4. Click OK to view the summary statistics and the hypothesis test results. See Figure 10.72. The p value displayed is for a
one-sided hypothesis test. Double this value for a two-sided test.
a. Write the four parts for a one-sided, left-tailed hypothesis 10.138 Medicine and Clinical Studies A study in the British
test concerning the two population variances with a 5 0.05. Medical Journal suggested that children who received a diag-
b. Compute each sample variance, find the value of the test nostic CT scan using ionizing radiation were more likely to
statistic, and draw a conclusion. develop a cancer 10 years after radiation exposure. Newer CT
c. Find bounds on the p value associated with this hypothesis scanners use less radiation. Therefore, the increased risk for
test. children today may be decreased.26 Independent random sam-
ples of hospital CT scans in the United States and England were
10.133 Consider independent random samples of sizes
obtained, and the amount of radiation for each was recorded (in
n1 5 10 and n2 5 16 from normal populations.
mSV). For the United States, n1 5 10 and s21 5 1.075; for
a. Write the four parts for a two-sided hypothesis test
concerning the population variances with a 5 0.01. England n2 5 16 and s22 5 2.786. Is there any evidence to
b. Suppose s 21 5 426.42 and s 22 5 88.36. Find the value of suggest that the variability in CT radiation per scan is different
the test statistic, and draw a conclusion about the for these two countries? Use a 5 0.05 and assume normality.
population variances. 10.139 Travel and Transportation Most airlines now
c. Find bounds on the p value associated with this hypothesis charge passengers to check a bag and impose a surcharge if the
test. weight of the bag is over 50 pounds. Independent random sam-
10.134 In each of the following problems, the sample sizes and ples of checked luggage on Delta and American flights were
the confidence level are given. Find the appropriate F critical obtained, and the weight (in pounds) of each was recorded. For
values for use in constructing a confidence interval for the ratio Delta, n1 5 25, and s21 5 96.23; for American, n2 5 21 and
of the population variances. s22 5 194.02. Is there any evidence to suggest that the variabil-
a. n1 5 10, n2 5 10, 90% ity in checked baggage weight is different for these two air-
b. n1 5 21, n2 5 31, 98% lines? Use a 5 0.05 and assume normality.
c. n1 5 9, n2 5 7, 98% 10.140 Sports and Leisure Many basketball purists believe
d. n1 5 41, n2 5 31, 99.8% that the three-point shot (a shot from behind the three-point
10.135 In each of the following problems, the sample sizes, line, 22 feet from the basket) has dramatically changed the
the sample variances, and the confidence level are given. game, for the worse. Independent random samples of attempted
Assume the underlying populations are normal and the samples shots from National Basketball Association games played in
were obtained independently. Find the associated confidence 1975 (prior to the three-point shot) and in 2013 were obtained.
interval for the ratio of the population variances. The shot distance (in feet) was recorded for each attempt. The
data are given in the following table.
a. n1 5 10, s 21 5 17.2, n2 5 9, s 22 5 15.6, 90%
2
b. n1 5 16, s 1 5 54.1, n2 5 16, s 22 5 32.6, 98% Sample Sample
2
c. n1 5 16, s 1 5 3.35, n2 5 31, s 22 5 4.59, 98% Year size variance
d. n1 5 31, s 1 5 126.8, n2 5 41, s 22 5 155.3, 99.8%
2
1975 61 12.25
10.136 Use Table VII in the Appendix and linear interpolation 2013 61 26.01
to approximate each critical value. Verify each approximation
using technology. Is there any evidence to suggest that the variability in shot
a. F0.05,25,15 b. F0.99,20,32 distance is greater in the year 2013 than it was in 1975? Use
c. F0.01,10,56 d. F0.025,15,20 a 5 0.01 and assume normality. (Why do you suppose there is
e. F0.995,10,7 f. F0.05,35,35 greater variability in shot distance with a three-point shot?)
10.141 Sports and Leisure A Laurel Downs racetrack
Applications official believes there is less variability in winning times for a
10.137 Biology and Environmental Science In a recent race in which the purse is at least $10,000, called a stakes race.
study conducted by the NOAA, the aerosol light absorption Independent random samples of ordinary races and stakes races
coefficient was measured (in Mm21) at randomly selected loca- were obtained, and the winning time (in seconds) for each race
tions in Africa and in South America. The resulting data are was recorded. The summary statistics were as follows: ordinary
summarized in the following table. race, n1 5 26 and s21 5 110.25; stakes race, n2 5 26 and
s22 5 38.44.
Sample Sample a. Write the four parts for a hypothesis test to check for
Country size variance evidence of the official’s assertion. Use a 5 0.01, assume
Africa 10 243.36 normality, and find the critical value using technology.
Conduct the hypothesis test and draw a conclusion.
South America 21 51.84
b. Construct a 98% confidence interval for the ratio of
population variances.
Is there any evidence that the population variance in aerosol
light absorption coefficient is greater in Africa than in South 10.142 Sports and Leisure A study was conducted to
America? Use a 5 0.05 and assume normality. compare the variability in times for men and women involved
10.5 Comparing Two Population Variances or Standard Deviations 523
in collegiate swimming events. Independent random samples 12.42-mile race up Pikes Peak in Colorado features over 156
of 800-meter freestyle competitors were obtained, and the time turns, grades of 7%, and a finish line at 14,110 feet. Indepen-
(in minutes) was recorded for each swimmer. The data are dent random samples of two classes of cars in the 2013 race
summarized in the following table. were obtained, and the speed (in mph) for each was recorded.
The summary statistics are given in the following table.28
Sample Sample
Group size variance Sample Sample
Class size variance
Men 11 0.1025
Women 12 0.1241 Exhibition Powersports 9 44.05
Heavyweight Supermoto 9 9.76
a. Find the critical values necessary to construct a 95%
confidence interval for the ratio of population variances. Is there any evidence to suggest that the variability in speed for
b. Construct the confidence interval. the Exhibition Powersports class is greater than the variability
in speed for the Heavyweight Supermoto class? Use a 5 0.01
10.143 Take the Stairs The World Summit Wing Hotel in
and assume normality.
China is Beijing’s tallest hotel and hosts the Vertical Run. There
are 81 floors, 330 meters, and 2041 steps to reach the roof. 10.147 Manufacturing and Product Development The
Independent random samples of men’s and women’s times (in Akashi-Kaikyo bridge in Japan is the longest suspension bridge
minutes) from the 2013 run were obtained.27 VERTRUN in the world, with a main span of 1991 meters. Two million
a. Is there any evidence of a difference in variability of times workers took 10 years to construct this bridge using 181,000
for men and women who finished this vertical run? Use tons of steel and 1.4 million cubic meters of concrete. Indepen-
a 5 0.05 and assume normality. dent random samples of suspension bridges in China and the
b. Find bounds on the p value associated with this hypothesis United States were obtained, and the span (in meters) of each
test. was recorded. For China, n1 5 14 and s21 5 66,096.8; and for
the United States, n2 5 10 and s 22 5 59,524.5. Is there any
10.144 Manufacturing and Product Development A sail-
evidence to suggest a difference in the variability of the span
boat manufacturer has two machines for constructing main
of suspension bridges in China and the United States? Use
mast poles with diameter designed to be 76.2 mm. Small vari-
a 5 0.05 and assume normality.
ability in production is very important to ensure boat control
and safety. Independent random samples of mast poles pro-
duced on each machine were obtained, and the diameter of each Extended Applications
was carefully measured. The summary statistics were as fol- 10.148 Physical Sciences Crude oil pumped from ocean
lows: Machine A, n1 5 7, s21 5 0.0231; Machine B, wells contains salt that must be removed before the oil is
n2 5 8, s22 5 0.0096. Conduct the appropriate hypothesis test refined. Otherwise, equipment would erode quickly. Indepen-
to determine whether there is any evidence of a difference in dent random samples of unrefined crude oil from two ocean
variability of mast-pole diameter between the two machines. wells were obtained, and the percentage of salt in each sample
Assume normality, use a 5 0.05, find the p value associated was recorded. The data are given in the following table.
with this test, and use this value to draw a conclusion.
Sample Sample
10.145 Manufacturing and Product Development Tower
Oil well size variance
cranes along a city skyline often indicate the success of eco-
nomic development efforts. In early January 2013, more than North Sea 21 56.40
50 tower crane permits were in use in Washington, D.C. Inde- Antarctica 31 82.42
pendent random samples of items lifted by cranes at two differ-
ent sites were obtained, and the weight (in tons) of each item a. Conduct the appropriate test to determine whether there is
was recorded for each. The summary statistics are given in the evidence of any difference in variability of salt content
following table. between these two wells. Use a 5 0.10 and assume
normality.
Sample Sample
b. Use Table VII in the Appendix to find bounds on the p
Site size variance
value for this hypothesis test. Use technology to find an
New York Avenue 31 109.86 exact p value.
Jefferson at Market Place 31 339.43 10.149 Public Health and Nutrition Saccharin is a low-
calorie sweetener used in sugar-free foods and beverages.
Is there any evidence to suggest that the variability in item
According to the U.S. Food and Drug Administration, the
weight at Jefferson is greater than at New York Avenue? Use
acceptable daily intake (ADI) of saccharin is 5 mg for a per-
a 5 0.01 and assume normality.
son with a body weight of 60 kg. If saccharin is used as an
10.146 Sports and Leisure The Pikes Peak International additive, it must be included on the food label and cannot
Hill Climb is also known as The Race to the Clouds. This exceed certain limits. Independent random samples of
524 CH AP T ER 10 Confidence Intervals and Hypothesis Tests Based on Two Samples or Treatments
12-ounce bottles of iced tea from two different manufacturers the null hypothesis, H0: s 21 5 s 22 , is true, then the test statistic
were obtained, and the amount of saccharin in each drink was F 5 S 21 / S 22 is approximately normal with
measured (in mg). The summary statistics were as follows:
Fishing Creek, n1 5 20, s21 5 7.84; Honest Tea, n2 5 15, n2 2 1 2 ( n2 2 1 ) 2 ( n1 1 n2 2 4 )
mF 5 and s2F 5
s 22 5 2.89. n2 2 3 ( n1 2 1 )( n2 2 3 ) 2 ( n2 2 5 )
a. Conduct the appropriate test to determine whether there is An approximate hypothesis test is based on standardizing F to a
any difference in the population variance of saccharin Z random variable.
amounts. Use a 5 0.02.
b. Find bounds on the p value associated with this hypothesis
The four parts of the hypothesis test are
test. H0: s 21 5 s 22
10.150 Fuel Consumption and Cars The length of time Ha: s 21 . s 22, s 21 , s 22, or s 21 2 s 22
brake pads last in an automobile varies depending on driving ( S 21 / S 22 ) 2 3 ( n2 2 1 ) / ( n2 2 3 ) 4
style and the type of car. Brake pads are made from organic, TS: Z 5
semimetallic, metallic, or synthetic materials, and typically 2 ( n2 2 1 ) 2 ( n1 1 n2 2 4 )
last between 30,000 and 70,000 miles. Independent random Å ( n1 2 1 )( n2 2 3 ) 2 ( n2 2 5 )
samples of cars in for an inspection at dealerships and private RR: Z $ za, Z # 2za or 0 Z 0 $ za / 2
garages were obtained and the width (in mm) of the brake pad
The National Wind Energy Assessment contains data from
on the front driver’s side was measured for each. The data are
975 stations and includes measurements of wind speed and
given in the following table.
wind power density. Suppose independent random samples of
Sample Sample wind power density (in watts/m2) during the winter were
Location size variance obtained from two stations. The data are summarized in the
following table.
Dealership 41 1.056
Private garage 41 2.771 Sample Sample Sample
Location size mean variance
a. Is there any evidence to suggest that the variance in
brake-pad widths of cars in for inspection is greater at Chanute 31 207 95.35
private garages than at dealerships? Use a 5 0.01 and Dodge City 31 283 53.68
assume normality.
b. Find bounds on the p value associated with this hypothesis a. Write the four parts of a large-sample, two-sided,
test. approximate test based on the standard normal
distribution to determine whether there is any evidence to
suggest that the two population variances are different.
Challenge
Conduct the test using a 5 0.05.
10.151 Physical Sciences When we are comparing two pop- b. Conduct an exact hypothesis test based on the F
ulation variances, if both sample sizes, n1 and n2, are large and distribution. Compare your answer to part (a).
CHAPTER 10 SUMMARY
Concept Page Notation / Formula / Description
Independent samples 463 Two samples are independent if the process of selecting individuals or objects in
sample 1 has no effect on the selection of individuals or objects in sample 2.
Paired data set 463 The result of matching each individual or object in sample 1 with a similar indi-
vidual or object in sample 2.
( n1 2 1 ) S 21 1 ( n2 2 1 ) S 22
Pooled estimator for 475 S 2p 5
n1 1 n2 2 2
the common variance
= X1 1 X2
Combined estimate of 502 Pc 5
n1 1 n2
the common population
proportion
Chapter 10 Summary 525
Null Alternative
hypothesis Assumptions hypothesis Test statistic Rejection region
m1 2 m2 5 D0 Normality, m1 2 m2 . D0 ( X 1 2 X2 ) 2 D0 Tr $ ta,v
independence, Tr 5
m1 2 m2 , D0 S 21 S 22 Tr # 2ta,v
s21, s22 unknown, m1 2 m2 2 D0 1 0 Tr 0 $ ta/2,v
Å n1 n2
s21 2 s22. 2 2 2
s1 s2
a 1 b
n1 n2
v5
( s21 /n1 ) 2 ( s22 /n2 ) 2
1
n1 2 1 n2 2 1
mD 5 D0 Normality, mD . D0 D 2 D0 T $ ta,n21
n pairs, T5
mD , D0 SD/ !n T # 2ta,n21
dependence. mD 2 D0 0 T 0 $ ta/2,n21
= =
p1 2 p2 5 0 n1, n2 large, p1 2 p2 . 0 P1 2 P2 Z $ za
nonskewness, p1 2 p2 , 0 Z5
= = 1 1 Z # 2za
independence. p1 2 p2 2 0 Pc ( 1 2 Pc ) a 1 b 0 Z 0 $ za / 2
Å n 1 n2
= X1 1 X2
Pc 5
n1 1 n2
= =
p1 2 p2 5 D0 n1, n2 large, p1 2 p2 . D0 ( P1 2 P2 ) 2 D0 Z $ za
nonskewness, p1 2 p2 , D0 Z5 = = = = Z # 2za
P1 ( 1 2 P1 ) P2 ( 1 2 P2 )
independence. p1 2 p2 2 D0 1 0 Z 0 $ za / 2
Å n1 n2
CHAPTER 10 EXERCISES
North Carolina 22 835.6 3192.25 Is there any evidence to suggest that the true proportion of chest
Virginia 25 884.2 3956.41 hits is greater in Lancashire than in West Mercia? Use a 5 0.01.
Is there any evidence to suggest that the mean amount of 10.154 Biology and Environmental Science Soybeans are
corrosive material carried by trucks in North Carolina is an important source of oil and protein and are also used to
Chapter 10 Exercises 527
produce many food additives. The leading producers of a. What is the common characteristic that makes these data
soybeans are the United States, Brazil, Argentina, and China. paired?
The first genetically modified (GM) soybeans were grown in b. Assume normality. Conduct the appropriate hypothesis
the United States in 1996, and now GM soybeans are grown in test to determine whether there is any evidence that the
at least nine countries. Independent random samples of soybean aluminum arrow flies faster. Use a 5 0.05.
farmers in the United States and Brazil were obtained, and the c. Find bounds on the p value associated with this
number growing GM soybeans was recorded. The data are hypothesis test.
given in the following table.
10.158 Manufacturing and Product Development
Sample Number of Raytheon Aircraft is now manufacturing business jets with a
Country size GM soybean farmers molded carbon fiber fuselage instead of aluminum. This
reduces the overall weight of the plane, speeds production time,
United States 238 202
and increases cabin space. The total wall thickness of a carbon
Brazil 162 104 fiber fuselage is 0.81 inch versus 3 inches for aluminum, and
a. Find the sample proportion of GM soybean farmers for the variability in thickness is theoretically much smaller also.
each country. Verify the nonskewness criterion. Independent random samples of the two fuselage types were
b. Conduct the appropriate hypothesis test to determine obtained, and the thickness was measured (in inches) on each.
whether there is any evidence that the true proportion of The data are given in the following table.
GM soybean farmers in the United States is 0.15 greater Fuselage Sample Sample
than in Brazil. Use a 5 0.05. type size variance
c. Find the p value associated with this hypothesis test.
Aluminum 9 0.0196
10.155 Biology and Environmental Science Maple syrup
Carbon fiber 11 0.0025
producers in New York and Vermont collect sweet-water sap
from sugar maples and black maples in early spring. It takes Is there any evidence to suggest that the variability in fuselage
approximately 30–50 gallons of sap to yield, through boiling thickness is less for carbon fiber fuselages? Use a 5 0.01.
and evaporation, 1 gallon of maple syrup. Independent
random samples of maple trees in both states were obtained, 10.159 Biology and Environmental Science Piers on public
and the amount of sap collected from each tree was recorded. beaches are usually supported by widely spread piles or pillars and
Assume the underlying populations are normal, with equal can extend a thousand feet into the ocean. Many piers are
variances. Is there any evidence to suggest that the population extensions of boardwalks, and visitors frequently fish or simply
mean amount of sap from trees in New York is different from sightsee along these walkways. Longer piers tend to be more
the population mean amount of sap from trees in Vermont? susceptible to wind and storm damage. Independent random
Use a 5 0.01. samples of concrete and wooden piers on public beaches along the
SAP
California and Florida coasts were obtained and the length (in feet)
10.156 Physical Sciences Recycling of aluminum, glass, of each was recorded. Assume the underlying populations are
newspapers, and magazines is good for the environment and normal, with equal variances. Is there any evidence to suggest that
the economy. In 2013, San Francisco had the highest recy- the population mean pier length in California is greater than the
cling rate in the United States30 (recycling rate 5 tons population mean pier length in Florida? Use a 5 0.01. PIERS
collected for recycling/tons of all waste generated). Despite
efforts to make the process easier, many people still do not 10.160 Public Health and Nutrition In case you missed it,
recycle. Independent random samples of residents in Ohio the United Nations declared 2008 as the International Year of the
and in Florida were obtained and asked whether they recycle Potato. Seriously, potatoes are a good source of carbohydrates,
newspapers. Of the 909 Ohio residents, 700 said they protein, fiber, and potassium. However, the amount of each
recycled newspapers, and 691 of the 923 Florida residents element varies depending on where the potato is grown. Indepen-
said they recycled newspapers. dent random samples of medium-sized potatoes from Russia and
a. Is there any evidence to suggest that the population China were obtained, and the amount of potassium (in mg) was
proportion of residents in Ohio who recycle newspapers measured in each. The data are summarized in the following table.
is greater than the population proportion of residents in Sample
Florida? Use a 5 0.01. Sample Sample standard
b. Find the p value for this hypothesis test. Location size mean deviation
10.157 Sports and Leisure Archery target shooters use a Russia 25 896.8 92.9
variety of arrows made from wood, carbon, aluminum, or even China 30 866.0 120.0
platinum. One measure of the quality of an arrow (and bow) is
the speed of the arrow when shot. A random sample of archers Assume normality and equal population variances. Is there any
was obtained, and each was asked to shoot a carbon arrow and a evidence to suggest that the population mean potassium level is
similarly made aluminum arrow. The speed (in feet per second) different for a medium-sized potato in Russia and China? Use
of each arrow was measured. ARCHERY a 5 0.05.
528 CH APT ER 10 Confidence Intervals and Hypothesis Tests Based on Two Samples or Treatments
10.161 Biology and Environmental Science The n2 5 1448 and 87 were contaminated. Is there any evidence
moisture content in bulk grain is important, because high to suggest that the true proportion of contaminated cat food
values can encourage the development of fungi. Potential is different from the true proportion of contaminated dog
buyers want to know how much water they are buying along food? Use a 5 0.05.
with their grain. Two direct methods for measuring the
moisture content are by means of a chemical reaction (with
iodine in the presence of sulfur dioxide) and by distillation. A EXTENDED APPLICATIONS
random sample of bulk grain was obtained, and the moisture 10.165 Economics and Finance The U.S. Internal
content of each grain sample was measured as a percentage of Revenue Service estimates that the average taxpayer takes
water using each method. Assuming normality, conduct the approximately six hours to complete Form 1040. A study was
appropriate hypothesis test to determine whether there is any conducted to examine the amount of time it takes to complete
difference in the population mean moisture content of bulk this dreaded form, by income level. Independent random
grain measured by chemical reaction and by distillation. Use samples of federal filers in two income ranges were obtained,
a 5 0.05. GRAIN and the length of time (in hours) to complete Form 1040 was
10.162 Psychology and Human Behavior Two recent recorded for each. The summary statistics are given in the
studies suggest that people who drive really nice cars exhibit following table.
some very bad habits. In one study, as a car approached a Income level Sample Sample Sample
crosswalk, a person stepped into the road, and the driver’s (in dollars) size mean variance
reaction was recorded. In another, similar study, independent
50,000–<100,000 17 4.56 1.5625
random samples of drivers were selected, and their behavior
was observed at a four-way intersection. For luxury-car drivers, 100,000–<200,000 14 6.58 15.0544
n1 5 217 and 130 cut ahead in the usual four-way rotation. For
Assume the underlying populations are normal.
ordinary-car drivers, n2 5 182 and 82 violated the four-way-
a. Conduct an F test to determine whether there is any
intersection rotation rule. Is there any evidence to suggest that
evidence that the two population variances are different.
the proportion of luxury-car drivers with insufferable driving
Use a 5 0.02.
habits is greater than the proportion of ordinary-car drivers with
b. Using your conclusion from part (a), conduct the
similar habits? Use a 5 0.01. Note: The largest group of
appropriate test for evidence that the mean time to
driving-rule etiquette violators were men, ages 35–50, with
complete Form 1040 for the lower-income level is less
blue BMWs.31
than the mean time for the higher-income level. Use
10.163 Public Policy and Political Science California law a 5 0.05. State your conclusion and find bounds on the
requires fuel outlets to install special catch basins designed to p value.
contain gasoline leaks in underground storage tanks. Owners
10.166 Public Policy and Political Science In many
who do not comply can face stiff fines and other penalties.
Independent random samples of gasoline stations around Los states, lawyers are encouraged to do pro bono work by both
Angeles and around San Francisco were obtained, and each their firms and judicial advisory councils. However, in recent
station was inspected for catch basins. Sixteen of 140 stations years lawyers have been devoting more time to paying clients
near Los Angeles had no catch basins, and 12 of 126 in San and less time to pro bono legal aid. Independent random
Francisco were not complying with the law. samples of lawyers from two large firms were obtained, and
a. Find the sample proportion of stations without
the number of pro bono hours for the past year was recorded
catch basins near each city. Verify the nonskewness for each lawyer. The summary statistics are given in the
criterion. following table.
b. Is there any evidence that the population proportion Sample Sample Sample
of stations in noncompliance with the law is different Law firm size mean variance
near Los Angeles and near San Francisco? Use
Dewey, Cheatum, & Howe 26 75.1 5.92
a 5 0.01.
Fine, Howard, & Fine 26 80.9 5.65
10.164 Manufacturing and Product Development Dur-
ing Summer 2013, Procter and Gamble (P&G) recalled 30 Assume the underlying populations are normal, with equal
different types of cat and dog food because they may have variances.
been contaminated with Salmonella. While pets can become a. Is there any evidence to suggest the mean number of
ill from eating contaminated foods, the Centers for Disease yearly pro bono hours is different at these two law firms?
Control and Prevention also reminded people to wash their Use a 5 0.01.
hands thoroughly after handling pet food. Independent b. Construct a 99% confidence interval for the difference in
random samples of P&G cat foods and dog foods were mean pro bono hours.
obtained, and each was tested for Salmonella. For cat food, c. Does the confidence interval in part (b) support your
n1 5 1250 and 50 were contaminated, and for dog food, conclusion in part (a)? Explain.
Chapter 10 Exercises 529