Professional Documents
Culture Documents
A Decision-Making Approach
8th Edition
Chapter 10
Estimation and Hypothesis Testing
for Two Population Parameters
Chapter Goals
After completing this chapter, you should be able to:
Test hypotheses or form interval estimates for
two independent population means
Standard deviations known
Standard deviations unknown
two means from paired samples
Paired
samples
Population
proportions
Same group
before vs.
after
treatment
Proportion 1
vs.
Proportion 2
Examples:
Group 1 vs.
independent
Group 2
Population means,
independent
samples
1 and 2 known
1 and 2 unknown,
n1 and n2 30
1 and 2 unknown,
n1 or n2 < 30
x1 x2
Independent Samples
Different data sources
Population means,
independent
samples
1 and 2 known
1 and 2 unknown,
n1 and n2 30
1 and 2 unknown,
n1 or n2 < 30
Unrelated
Independent
Sample selected from
1 and 2 known
Assumptions:
Population means,
independent
samples
1 and 2 known
1 and 2 unknown,
n1 and n2 30
1 and 2 unknown,
n1 or n2 < 30
independently drawn
Population distributions
1 and 2 known
(continued)
Population means,
independent
samples
1 and 2 known
1 and 2 unknown,
n1 and n2 30
1 and 2 unknown,
n1 or n2 < 30
x1 x2 is
x1 x 2
2
1
n1
n2
1 and 2 known
(continued)
Population means,
independent
samples
1 and 2 known
1 and 2 unknown,
n1 and n2 30
1 and 2 unknown,
n1 or n2 < 30
x 2 z /2
2
1
n1
n2
Population means,
independent
samples
1 and 2 known
1 and 2 unknown,
n1 and n2 30
1 and 2 unknown,
n1 or n2 < 30
Population standard
deviations are unknown
Population means,
independent
samples
1 and 2 known
1 and 2 unknown,
n1 and n2 30
1 and 2 unknown,
n1 or n2 < 30
Population means,
independent
samples
1 and 2 known
x
and unknown, *
1
n1 and n2 30
1 and 2 unknown,
n1 or n2 < 30
x 2 z/2
2
1
s
s2
n1 n2
Population means,
independent
samples
Assumptions:
populations are normally
distributed
1 and 2 known
1 and 2 unknown,
n1 and n2 30
1 and 2 unknown,
n1 or n2 < 30
Population means,
independent
samples
1 and 2 known
1 and 2 unknown,
n1 and n2 30
1 and 2 unknown,
n1 or n2 < 30
Population means,
independent
samples
1 and 2 known
1 and 2 unknown,
n1 and n2 30
1 and 2 unknown,
n1 or n2 < 30
sp
n1 1s
n2 1s2
n1 n2 2
2
1
Population means,
independent
samples
1 and 2 known
1 and 2 unknown,
n1 and n2 30
1 and 2 unknown,
n1 or n2 < 30
x 2 t /2 sp
1 1
n1 n2
sp
n1 1s
n2 1s2
n1 n2 2
2
1
Two-tailed test:
H0: 1 2
HA: 1 < 2
H0: 1 2
HA: 1 > 2
H0: 1 = 2
HA: 1 2
i.e.,
i.e.,
i.e.,
H0: 1 2 0
HA: 1 2 < 0
H0: 1 2 0
HA: 1 2 > 0
H0: 1 2 = 0
HA: 1 2 0
1 and 2 known
1 and 2 unknown,
n1 and n2 30
1 and 2 unknown,
n1 or n2 < 30
1 and 2 known
Population means,
independent
samples
1 and 2 known
1 and 2 unknown,
n1 and n2 30
1 and 2 unknown,
n1 or n2 < 30
x
z
x 2 1 2
2
1
n1
n2
Population means,
independent
samples
1 and 2 known
1 and 2 unknown,
n1 and n2 30
1 and 2 unknown,
n1 or n2 < 30
x
z
x 2 1 2
2
1
s
s2
n1 n2
Population means,
independent
samples
x
t
1 and 2 known
1 and 2 unknown,
n1 and n2 30
1 and 2 unknown,
n1 or n2 < 30
x 2 1 2
1 1
sp
n1 n 2
and
sp
n1 1s12 n2 1s22
n1 n2 2
Two-tailed test:
H0: 1 2 0
HA: 1 2 < 0
H0: 1 2 0
HA: 1 2 > 0
H0: 1 2 = 0
HA: 1 2 0
-za
Reject H0 if z < -za
za
Reject H0 if z > za
a/2
-za/2
a/2
za/2
x x 3.27 2.53 0
t
2.040
1
sp
sp
1 1
n1 n 2
n1 1s12 n2 1s22
n1 n2 2
1 1
1.2256
21 25
21 11.302 25 11.162
21 25 2
1.2256
Solution
H0: 1 - 2 = 0 i.e. (1 = 2)
HA: 1 - 2 0 i.e. (1 2)
= 0.05
df = 21 + 25 - 2 = 44
Critical Values: t = 2.0154
Test Statistic:
3.27 2.53
t
2.040
1 1
1.2256
21 25
Reject H0
Reject H0
.025
-2.0154
.025
0 2.0154
2.040
Decision:
Reject H0 at a = 0.05
Conclusion:
There is evidence of a
difference in means.
Paired Samples
Paired
samples
d = x1 - x2
Eliminates Variation Among Subjects
Assumptions:
Both Populations Are Normally Distributed
Paired Differences
The ith paired difference is di , where
Paired
samples
di = x1i - x2i
The point estimate for
the population mean
paired difference is d :
d
i 1
n
n
sd
2
(d
d
)
i
i1
n 1
Paired Differences
(continued)
Paired
samples
d t /2
sd
n
n
sd
2
(d
d
)
i
i1
n 1
Paired
samples
n is the
number
of pairs
in the
paired
sample
d d
t
sd
n
n
sd
2
(d
d
)
i
i1
n 1
Paired Samples
Lower tail test:
Two-tailed test:
H0: d 0
H A: d < 0
H0: d 0
H A: d > 0
H0: d = 0
H A: d 0
a
-ta
ta
Reject H0 if t > ta
Where t has n - 1 d.f.
a/2
-ta/2
a/2
ta/2
6
20
3
0
4
4
6
2
0
0
(2) - (1)
Difference, di
- 2
-14
- 1
0
- 4
-21
d =
di
n
= -4.2
sd
2
(d
d
)
i
5.67
n 1
H0: d = 0
HA: d 0
d = - 4.2
= .01
Critical Value = 4.604
d.f. = n - 1 = 4
Test Statistic:
d d 4.2 0
t
1.66
sd / n 5.67/ 5
Reject
Reject
/2
/2
- 4.604
- 1.66
4.604
Population
proportions
Assumptions:
n1p1 5 , n1(1-p1) 5
n2p2 5 , n2(1-p2) 5
p1 p2
Population
proportions
p p z
1
/2
p1(1 p1 ) p2 (1 p2 )
n1
n2
Two-tailed test:
H0: p1 p2
HA: p 1 < p 2
H0: p1 p2
H A : p1 > p 2
H0: p1 = p2
HA: p 1 p 2
i.e.,
i.e.,
i.e.,
H0: p1 p2 0
HA: p 1 p 2 < 0
H0: p1 p2 0
HA: p 1 p 2 > 0
H0: p1 p2 = 0
HA: p 1 p 2 0
Population
proportions
n1p1 n2 p2 x1 x 2
p
n1 n2
n1 n2
where x1 and x2 are the numbers from
samples 1 and 2 with the characteristic of interest
Population
proportions
p
z
p 2 p1 p 2
1 1
p (1 p)
n1 n2
Two-tailed test:
H0: p1 p2 0
HA: p 1 p 2 < 0
H0: p1 p2 0
HA: p 1 p 2 > 0
H0: p1 p2 = 0
HA: p 1 p 2 0
-za
Reject H0 if z < -za
za
Reject H0 if z > za
a/2
-za/2
a/2
za/2
(continued)
Men:
p1 = 36/72 = .50
Women:
p2 = 31/50 = .62
x1 x 2 36 31 67
p
.549
n1 n2 72 50 122
p 2 p1 p2
1 1
p (1 p)
n1 n2
.50 .62 0
1
1
.549 (1 .549)
72 50
.025
-1.96
-1.31
1.31
Reject H0
.025
1.96
Chapter Summary
Chapter Goals
After completing this chapter, you should be able to:
Formulate and complete hypothesis tests for a
Hypothesis Tests
for Variances
F test statistic
Single Population
Hypothesis Tests for Variances
H0: 2 = 02
HA: 2 02
H0: 2 02
HA: 2 < 02
H0: 2 02
HA: 2 > 02
(n 1)s
2
where
2 = standardized chi-square variable
n = sample size
s2 = sample variance
2 = hypothesized variance
0 4 8 12 16 20 24 28
d.f. = 1
0 4 8 12 16 20 24 28
d.f. = 5
0 4 8 12 16 20 24 28
d.f. = 15
Upper Tail
Chi-square
Tests
2
Do not reject H0
Reject H0
Example
A commercial freezer must hold the selected
1)s
(16 1)24
2
22.5
2
16
= .05
2
Do not reject H0
Reject H0
= 24.9958
H0: 2 02
HA: 2 < 02
H0: 2 = 02
HA: 2 02
/2
/2
2
Reject
Do not reject H0
1-
2
Reject
Do not
reject H0
21/2
Reject
2/2
H0: 12 22 = 0
HA: 12 22 0
*
Two tailed test
H0: 12 22 0
HA: 12 22 < 0
H0: 12 22 0
HA: 12 22 > 0
F test statistic
2
1
2
2
s
F
s
F test statistic
The F Distribution
and denominator
s12
F 2
s2
In the F table,
column
H0: 12 22 = 0
HA: 12 22 0
H0: 12 22 0
HA: 12 22 > 0
/2
Do not
reject H0
Reject H0
s12
F 2 F
s2
Do not
reject H0
Reject H0
F/2
s12
F 2 F / 2
s2
F Test: An Example
You are a financial analyst for a brokerage firm. You want
to compare dividend yields between stocks listed on the
NYSE & NASDAQ. You collect the following data:
NYSE
NASDAQ
Number
21
25
Mean
3.27
2.53
Std dev
1.30
1.16
H0: 12 22 = 0
HA: 12 22 0
s12 1.302
F 2
1.256
2
s2 1.16
/2 = .025
Do not
reject H0
Reject H0
F/2
=2.327
Chapter Summary
Performed chi-square tests for the variance
Used the chi-square table to find chi-square critical
values
Performed F tests for the difference between two
population variances
Used the F table to find F critical values