Professional Documents
Culture Documents
Two-Sample Tests
David Chow
Nov 2014
Learning Objectives
In this chapter, you learn how to use hypothesis testing to
compare the:
a.
b.
c.
Sleeping duration
related to societal activities, living in campus
No. of FB friends
not related to gender, majors
Skipping classes
1:58 PM
4
Two-Sample Tests
Independent Populations
Assumptions:
Independent
Population Means
1 and 2 known
1 and 2 unknown
F-Test of Population
Variances
H0: 12 22
H1: 12 < 22
H0: 12 22
H1: 12 > 22
Two-tail test
Lower-tail test
Upper-tail test
S12
F 2
S2
S 22 = Variance of Sample 2
n2 - 1 = denominator degrees of freedom
8
Upper-tail test
H0: 12 22
H1: 12 < 22
H0: 12 22
H1: 12 > 22
0
Reject
H0
FL
Do not
reject H0
Reject H0 if F < FL
Do not
reject H0
FU
Reject H0
Reject H0 if F > FU
10
H0: 12 = 22
H1: 12 22
/2
S12
F 2 FU
S2
/2
0
FL
Do not
reject H0
FU
Reject H0
S12
F 2 FL
S2
11
1
F
Check FU
only if
NASDAQ
25
Mean
3.27
2.53
Std dev
1.30
1.16
Number
13
Example
Form the hypothesis test:
H0: 21 22 = 0
H1: 21 22 0
FU:
FL:
Numerator:
n1 1 = 21 1 = 20 d.f.
Denominator:
Numerator:
n2 1 = 25 1 = 24 d.f.
Denominator:
n2 1 = 25 1 = 24 d.f.
n1 1 = 21 1 = 20 d.f.
15
S12 1.30 2
F 2
1.256
2
S 2 1.16
/2 = .025
/2 = .025
0
Reject H0
Do not
reject H0
FL=0.41
F = 1.256 is not in the
rejection region, so we do
not reject H0
Reject H0
FU=2.33
evidence of a difference in
variances at = .05
16
Review Questions
10.36 Find the upper critical F-value for a two-tailed test if
a. = 0.01, n1=16, n2=21
b. = 0.05, n1=16, n2=21
c. = 0.10, n1=16, n2=21
17
Review Questions
10.46 At the = 0.05 level, is there a difference in the
variances between the male & female anxiety level? The
scale runs from 20 (no anxiety) to 100 (highest level of
anxiety).
Male
FEMALE
Number
100
72
Mean
40.26
36.85
Std dev
13.35
9.42
18