Beruflich Dokumente
Kultur Dokumente
µ 1 - µ2 p1 - p2 2/ 2
1 2
Difference Ratio of
Mean difference; between variances;
difference in proportions, difference in
averages percentages, variability or
fractions or spread; compare
rates; compare variation
proportions
Singe sample ̂ x s n
s12 s22
Two samples ˆ x x
1 2
n1 n2
2
2
( x1 x2 ) z / 2 ( x1 x2 ) ( x1 x2 ) z / 2 1
2
n1 n2
2 2
s s
( x1 x2 ) z / 2 1
2
n1 n2
( x1 x2 ) D0
Test Statistic: z
(x x1 2)
12 22 s12 s22
where (x x )
1 2
n1 n2 n1 n2
McClave, Statistics, 11th ed. Chapter 9: 12
Inferences Based on Two Samples
9.2: Comparing Two Population
Means: Independent Sampling
( x1 x2 ) 0 5.83
Test statistic: z 2.799
( x x 1 2)
2.08
1 1
( x1 x2 ) t / 2 ( x1 x2 ) ( x1 x2 ) t / 2 s
2
p
n1 n2
( x1 x2 ) D0
Test Statistic: t
1 1
s
2
p
n1 n2
( x1 x2 ) 0 (78 82) 0
Test Statistic : t .832
1 1 1 1
s
2
242.5
21 21
p
n1 n2
McClave, Statistics, 11th ed. Chapter 9: 22
Inferences Based on Two Samples
9.2: Comparing Two Population
Means: Independent Sampling
8:00 a.m. Class
Several students in the 8:00 a.m. section sleep through Mean: 72
Variance: 154
the next exam. We can still compare the results, n: 13
with some modifications.
H 0 : 1 2 0 9:30 a.m. Class
Mean: 86
H a : 1 2 0 Variance: 163
.05 n: 21
( x1 x2 ) 0 (72 86) 0
Test Statistic: t 3.16
s12 s22 154 163
n1 n2 13 21
McClave, Statistics, 11th ed. Chapter 9: 23
Inferences Based on Two Samples
9.2: Comparing Two Population
Means: Independent Sampling
8:00 a.m. Class 9:30 a.m. Class
Mean: 72 Mean: 86
Variance: 154 Variance: 163
n: 13 n: 21
t 3.16
Degrees of Freedom v
s 2
1 / n1 s / n22
2 2
154 / 13 163 / 21
2
s 2
1 / n1
2
s / n2 2
2
2
154 / 132 163 / 212
n1 1 n2 1 13 1 21 1
26.15 26
t.025,df 26 2.056
t 3.16
Degrees ofSince
Freedom v ,,
s 2
1 / n1 s / n2 2
2 2
154 / 13 163 / 21
2
s / n2 2
2
2
154 / 132 163 / 212
n1 1 n2 1 13 1 21 1
26.15 26
t.025,df 26 2.056
xd 4
sd 3
sd
90% confident 1 2 xd t / 2,df nd 1
nd
3
4 1.833 4 1.74
10
Since 0 is not in the interval, one program does seem to work more effectively.
McClave, Statistics, 11th ed. Chapter 9: 28
Inferences Based on Two Samples
9.3: Comparing Two Population Means:
Paired Difference Experiments
Paired Difference One - Tailed Test
Hypothesis Tests for H 0 : d D0
d 1 2 H a : d (or ) D0
Large sample test statistic Large sample rejection region : z (or ) z
x D0 x D0 Small sample rejection region : t (or ) t
z d d
d / nd sd / nd Two - Tailed Test
Small sample test statistic H 0 : d D0
H a : d D0
xd D0
tα, n d 1 Large Sample rejection region : | z | z / 2
sd / nd
Small sample rejection region : | t | t / 2
McClave, Statistics, 11th ed. Chapter 9: 29
Inferences Based on Two Samples
9.3: Comparing Two Population Means:
Paired Difference Experiments
x1 x2 1 1
where p
ˆ and ( pˆ1 pˆ 2 ) pˆ qˆ
n1 n2 n1 n2
McClave, Statistics, 11th ed. Chapter 9: 39
Inferences Based on Two Samples
9.4: Comparing Two Population
Proportions: Independent Sampling
Randy Stinchfield of the University of
Minnesota studied the gambling activities of
public school students in 1992 and 1998
(Journal of Gambling Studies, Winter 2001).
His results are reported below:
1992 1998
Survey n 21,484 23,199
Number who gambled 4.684 5,313
Proportion who gambled .218 .229
gambled
1 1
Two-Tailed Test (.224)(.776) .00395
H 0 : ( p1 p2 ) D0 21, 484 23,199
H a : ( p1 p2 ) D0 ( pˆ1 pˆ 2 ) (.218 .229)
Test Statistic: z
Rejection region: ( pˆ1 pˆ 2 ) .00395
|z | z / 2 2.576 2.786
( z / 2 ) 2 ( 12 22 )
n1 n2
SE 2
( z / 2 ) 2 ( 12 22 )
SE = 2.2 n1 n2 2
SE
= 5% level.
1.96 (15 15)
2
12 = 22 n1 n2
=15. 2.2 2
n1 and n2 = ? n1 n2 23.8 24
Two samples
taken from the
same
population …
should have
variances that
means that are
are close to one
close to one
another as well.
another and …
s 2
2
If E ( s1 ) 1 and E ( s2 ) 2 , then E 2 2 .
2 2 2 2 1 1
s2 2
s 2
If 1 2 , the random variable 2
2 2 1
F.
s2
The F random variable is a ratio with n1 1 numerator
and n2 1 denominator degrees of freedom.
s12 1 12 s12 1
2 2 2
F
2 U , /2 2 2 L , /2
s s F
1415.8 1 1 1415.8 1
2
2
951.4 F
U ,.025 2 951.4 L ,.025
F
1415.8 1 1 1415.8 1
2
2
951.4 2.92 2 951.4 .32
12
. 5096 2 4.6504
2
McClave, Statistics, 11th ed. Chapter 9: 57
Inferences Based on Two Samples
9.6: Comparing Two Population
Variances: Independent Sampling
Home Runs, American National
2003 League League s12 1 12 s12 1
2 2 2
µ 178.5 169.25
s2 FU , /2 2 s2 FL , /2
2 1415.8 951.4
n 14 16
1415.8 1 1 1415.8 1
2
2
951.4 F
U ,.025 2 951.4 L ,.025
F
Since 1 is in the
confidence interval, the
assumption of equal
1415.8 1 1 1415.8 1
2
2
variances needed for
the t-test is not rejected. 951.4 2.92 2 951.4 .32
12
. 5096 2 4.6504
2
McClave, Statistics, 11th ed. Chapter 9: 58
Inferences Based on Two Samples
9.6: Comparing Two Population
Variances: Independent Sampling
F -Test for Equal Population Variances
One-Tailed Test Two-Tailed Test
H 0 : 12 22 H 0 : 12 22
H a : 12 (or ) 22 H a : 12 22
s22 Test Statistic:
Test Statistic: F 2 if H a : 12 22
s1 Larger sample variance
F
s12 Smaller sample variance
or F 2 if H a : 12 22
s2
Rejection Region: F F /2
Rejection Region: F F