Professional Documents
Culture Documents
Testing The Difference Between Means, Variances, and Proportions
Testing The Difference Between Means, Variances, and Proportions
Chapter 10
Testing the Difference between
Means, Variances, and
Proportions
10-1 Introduction
10-2 Testing the Difference
between Two Means: Large
Samples
10-3 Testing the Difference
between Two Variances
,
1
2
1
, 2
2
2
2
n, s1
2
1
n,s2 2
z
X 1
X
2 1 2
2
2
1
2
n 1
n 2
z
X 1
X
2 1 2
2
2
1
2
n 1
n 2
88.42 80.61 0
7.45
2 2
5.62 4.83
50 50
© The McGraw-Hill Companies, Inc., 2000
10-13 10-2 z Test for Comparing Two Means from
Independent Populations - Example
2
2
X 1
X z
2
2
1
2
n 1
n 2
1 2
2
2
X X z
1 2
2
1
2
n 1
n 2
1.0
1.0
0.0
0.0
00
1
For smokers n1 = 26 and s1 = 36; for
2
nonsmokers n2 = 18 and s2 = 10.
Step 1: State the hypotheses and
identify the claim.
H0:
2 2 H :
1 2 1 1
2 2 (claim)
2
Unequal Variances
X 1
X
2 1 2
t 2 2
s s
1 2
n n 1 2
d . f . smaller of n 1 or n 1
1 2
Equal Variances
X X
t 1 2 1 2
(n 1) s (n 1) s 1 1
2 2
1 1
2 2
n n 2
1 2
n n 1 2
d . f . n n 2.
1 2
Unequal Variances
2 2
X 1
X t
2
s s
2
1 2
n n 1 2
< 1 2
2 2
s s
X X t n n
1 2 2
1 2
1 2
d . f . smaller of n 1 or n 1
1 2
Equal Variances
(n 1) s (n 1) s 1 1
2 2
X X t 1 1 2
2
n n 2
1 2 2
1 2
n n 1 2
< 1 2
(n 1) s (n 1) s 1 1
2 2
X X t 1 1 2
2
n n 2
1 2 2
1 2
n n 1 2
d . f . n n 2.
1 2
D
t D
sD
n
where
D sample mean
degrees of freedom n 1
D – t s n D + t s
2 D D 2 D
n
d . f .= n 1
1 1
pq
n n
1 2
X X X X
p 1
; q = 1 - p; p ; p
2
; 1 2
n n
1 2
1 2
n n 1 2
X = (0.60)(50) = 30;
1
X = (0.25)(80) = 20;
2
X X 30 + 20
1 2
p= = = 0.385;
n n1 2
50 + 80
q = 1– 0.385 = 0.615.
© The McGraw-Hill Companies, Inc., 2000
10-51 10-6 Testing the Difference between
Proportions - Example
p
q
p 2
q
( p1 p 2 ) z 2 1 1
2
n1 n2
( p1 p2 )
p1 q1 p2 q2
( p1 p 2 ) z 2
n1 n2
© The McGraw-Hill Companies, Inc., 2000