Professional Documents
Culture Documents
Chapter Thirteen
Inference about Comparing Two Populations
13-2
11/11/2015
F Distribution
F is defined as the value FA,n1,n2
P(F FA ,n 1 ,n 2 ) A
13-3
F Distribution
Use the F-table to determine the value FA,n1,n2
F1 A ,n 1 ,n 2
1
FA ,n 2 ,n 1
13-4
11/11/2015
F Distribution
n1 = numerator degrees of freedom
n2 = denominator degrees of freedom
13-5
F Distribution
F0.05,5,7 = 3.97
F0.95,4 ,8
1
F0.05,8 ,4
1
0.166
6.04
13-6
11/11/2015
13-7
E ( x1 x 2 ) 1 2
13-8
11/11/2015
E ( x1 x 2 ) 1 2
V ( x1 x 2 )
12
n1
22
n2
13-9
E ( x1 x 2 ) 1 2
V ( x1 x 2 )
12
n1
22
n2
12
n1
22
n2
13-10
11/11/2015
x 1 x 2 1 2
12
n1
22
n2
Is a standard normal
(or approximately normal)
random variable
13-11
n1
n2
13-12
11/11/2015
x1 x2 z 2
12
n1
22
n2
13-13
n1
n2
11/11/2015
x 1 x 2 1 2
1 1
sp2
n1 n2
where n n1 n2 2
and
sp2
n1 1s12 n2 1s22
n1 n2 2
13-15
x1 x2 t 2,n
1 1
sp2
n1 n2
where n n1 n2 2
13-16
11/11/2015
x x 1 2
t 1 2
s12 s22
n1 n2
where n
n1 s22 n2
2
1
n1 s22 n2
n1 1
n2 1
2
2
1
13-17
x x 1 2
t 1 2
s
s
n1 n2
2
1
2
2
where n
n1 s22 n2
2
1
n1 s22 n2
n1 1
n2 1
2
2
1
x1 x2 t 2,n
s12 s22
n1 n2
where n
2
1
n1 s22 n2
n1 s22 n2
n1 1
n2 1
2
1
13-18
11/11/2015
H0 : 12 22 1
H1 : 12 22 1
13-19
H0 : 12 22 1
H1 : 12 22 1
The test statistic is
s12
s22
which is F-distributed with
n 1 n1 1
n 2 n2 1
13-20
10
11/11/2015
H0 : 12 22 1
H1 : 12 22 1
This is a two-tailed test with rejection region
F F 2,n 1 ,n 2
or
F F1 2,n 1 ,n 2
13-21
13-22
11
11/11/2015
13-23
13-24
12
11/11/2015
Difference in Two
Population Proportions
p1 p2
is normally distributed if
n1p1, n1(1-p1), n2p2, n2(1-p2) are all >5
13-25
Difference in Two
Population Proportions
p1 p2
is normally distributed if
n1p1, n1(1-p1), n2p2, n2(1-p2) are all >5
E (p1 p2 ) p1 p2
13-26
13
11/11/2015
Difference in Two
Population Proportions
p1 p2
is normally distributed if
n1p1, n1(1-p1), n2p2, n2(1-p2) are all >5
E (p1 p2 ) p1 p2
V (p1 p2 )
p1 1 p1 p2 1 p2
n1
n2
13-27
Difference in Two
Population Proportions
p1 p2
is normally distributed if
n1p1, n1(1-p1), n2p2, n2(1-p2) are all >5
E (p1 p2 ) p1 p2
V (p1 p2 )
p1 1 p1 p2 1 p2
n1
n2
n1
n2
13-28
14
11/11/2015
Difference in Two
Population Proportions
Thus,
p1 p2 p1 p2
p1 1 p1 p2 1 p2
n1
n2
13-29
Difference in Two
Population Proportions
Thus,
p1 p2 p1 p2
p1 1 p1 p2 1 p2
n1
n2
15
11/11/2015
Difference in Two
Population Proportions
Test Statistic for p1 - p2
For H0: p1 - p2 = 0
p1 p2
1 1
p 1 p
n1 n2
13-31
Difference in Two
Population Proportions
Test Statistic for p1 - p2
For H0: p1 - p2 = D, D 0 .
p1 p2 D
p1 1 p1 p2 1 p2
n1
n2
13-32
16
11/11/2015
Difference in Two
Population Proportions
Interval Estimator for p1 - p2
p1 p2 z 2
p1 (1 p1 ) p2 (1 p2 )
n1
n2
13-33
Difference in Two
Population Proportions
Lets investigate Example 13.9
13-34
17