Testing The Difference Between Two Means, Two Proportions, and Two Variances
Testing The Difference Between Two Means, Two Proportions, and Two Variances
Bluman, Chapter 9 2
Chapter 9 Objectives
1. Test the difference between sample means,
using the z test.
2. Test the difference between two means for
independent samples, using the t test.
3. Test the difference between two means for
dependent samples.
4. Test the difference between two proportions.
5. Test the difference between two variances or
standard deviations.
Bluman, Chapter 9 3
Section 9-1 Introduction
Bluman, Chapter 9 5
Hypothesis Testing Situations in the
Comparison of Means
Bluman, Chapter 9 6
Hypothesis Testing Situations in the
Comparison of Means
Bluman, Chapter 9 7
Testing the Difference Between
Two Means: Large Samples
Formula for the z test for comparing two means from
independent populations
z
X 1 X 2 1 2
12 22
n1 n2
Bluman, Chapter 9 8
Chapter 9
Testing the Difference Between
Two Means, Two Proportions,
and Two Variances
Section 9-1
Example 9-1
Page #475
Bluman, Chapter 9 9
Example 9-1: Hotel Room Cost
A survey found that the average hotel room rate in New
Orleans is $88.42 and the average room rate in Phoenix is
$80.61. Assume that the data were obtained from two
samples of 50 hotels each and that the standard
deviations of the populations are $5.62 and $4.83,
respectively. At α = 0.05, can it be concluded that there is
a significant difference in the rates?
z
X 1 X 2 1 2
12 22
n1 n2
Bluman, Chapter 9 11
Example 9-1: Hotel Room Cost
A survey found that the average hotel room rate in New
Orleans is $88.42 and the average room rate in Phoenix is
$80.61. Assume that the data were obtained from two
samples of 50 hotels each and that the standard
deviations of the populations are $5.62 and $4.83,
respectively. At α = 0.05, can it be concluded that there is
a significant difference in the rates?
z
88.42 80.61 0
7.45
2 2
5.62 4.83
50 50
Bluman, Chapter 9 12
Example 9-1: Hotel Room Cost
Step 4: Make the decision.
Reject the null hypothesis at α = 0.05, since
7.45 > 1.96.
Bluman, Chapter 9 13
Chapter 9
Testing the Difference
Between Two Means, Two
Proportions, and Two
Variances
Section 9-1
Example 9-2
Page #475
Bluman, Chapter 9 14
Example 9-2: College Sports Offerings
A researcher hypothesizes that the average number of
sports that colleges offer for males is greater than the
average number of sports that colleges offer for females.
A sample of the number of sports offered by colleges is
shown. At α = 0.10, is there enough evidence to support
the claim? Assume 1 and 2 = 3.3.
Bluman, Chapter 9 15
Example 9-2: College Sports Offerings
Step 1: State the hypotheses and identify the claim.
H0: μ1 = μ2 and H1: μ1 μ2 (claim)
z
X 1 X 2 1 2 8.6 7.9 0
1.06
12 22 3.32 3.32
n1 n2 50 50
Bluman, Chapter 9 16
Example 9-2: College Sports Offerings
Step 3: Find the P-value.
For z = 1.06, the area is 0.8554.
The P-value is 1.0000 - 0.8554 = 0.1446.
Step 4: Make the decision.
Do not reject the null hypothesis.
12 22
X 1 X 2 z 2
n1
n2
1 2
12 22
X 1 X 2 z 2
n1 n2
Bluman, Chapter 9 18
Chapter 9
Testing the Difference Between
Two Means, Two Proportions,
and Two Variances
Section 9-1
Example 9-3
Page #478
Bluman, Chapter 9 19
Example 9-3: Confidence Intervals
Find the 95% confidence interval for the difference
between the means for the data in Example 9–1.
12 22
X 1 X 2 z 2
n1
n2
1 2
12 22
X 1 X 2 z 2
n1 n2
5.622 4.832
88.42 80.61 1.96 1 2
50 50
5.622 4.832
88.42 80.61 1.96
50 50
7.81 2.05 1 2 7.81 2.05
5.76 1 2 9.86
Bluman, Chapter 9 20
On your own
Study the examples in Sec 9.1 page 479
section 9.1 #7,13,16
19, 21
Bluman, Chapter 9 21