Beruflich Dokumente
Kultur Dokumente
2
CI & Hypotheses Tests for Two Large Samples
C
h
a
p
t
e
r
1 2
Mean difference;
difference in
averages
Quantitative Data
C
h
a
p
t
e
r
Point Estimators
1 2 1 2
To construct a confidence interval or conduct a
hypothesis test, we need the standard deviation:
Single Sample
x s
Two Samples
x x
1
s12 s22
n1 n2
C
h
a
p
t
e
r
x x x x 1 2
1
2.
x x
1
s12 s22
n1 n2
C
h
a
p
t
e
r
C
h
a
p
t
e
r
1 2
21 22
+
1 2
21 22
+
1 2
C
h
a
p
t
e
r
Public Universities
n: 71
n: 32
Mean: 78.17
Mean: 84
Variance: 91.17
Variance: 97.64
9
7
C
h
a
p
t
e
r
9
8
C
h
a
p
t
e
r
C
h
a
p
t
e
r
21 22
+
1 2
78.17 84 1.96
91.1 97.64
+
71
32
5.83 4.08
(9.91, 1.75)
10
C
h
a
p
t
e
r
9
11
C
h
a
p
t
e
r
Hypotheses
Null Hypothesis
0 : 1 2 = 0
Alternative Hypotheses
: 1 2 < 0
: 1 2 > 0
: 1 2 0
0 = Hypothesized difference between the means
12
C
h
a
p
t
e
r
Required Conditions
1. Assume two populations are independent and
a sample from each population is selected
randomly.
2. Samples are large.
9
13
C
h
a
p
t
e
r
Rejection region
> if upper tailed test (or : 1 2 > 0 )
( x1 x2 ) D0
(x x
1
2)
where, ( x1 x2 )
12
n1
22
n2
s12 s22
n1 n2
14
C
h
a
p
t
e
r
9
15
C
h
a
p
t
e
r
= P (z zcal)
2. Lower-tailed test
: 1 2 < 0
3. Two-tailed test
= P(z zcal)
= 2 P(z | zcal |)
: 1 2 0
Decision Rule:
If < , we reject 0
16
C
h
a
p
t
e
r
Public Universities
n: 71
n:32
Mean: 78.17
Mean: 84
Variance: 91.17
Variance: 97.64
9
17
C
h
a
p
t
e
r
Hypotheses
Null Hypothesis
0 : 1 2 = 0
Alternative Hypothesis
: 1 2 0
9
18
C
h
a
p
t
e
r
9
19
C
h
a
p
t
e
r
Rejection Region
< 1.96 or > 1.96
( x1 x2 ) D0
s12 s22
n1 n2
2.799
2.08
91.17 97.64
71
32
20
C
h
a
p
t
e
r
9
21
C
h
a
p
t
e
r
OR
= 2 ( > 2.799) = 2 0.0025 .0050
22
C
h
a
p
t
e
r
1 s1
2
2 s2
4. Sample sizes are small.
C
h
a
p
t
e
r
Where
2
2
(
n
1
)
s
(
n
1
)
s
1
2
2
s 2p 1
n1 n2 2
C
h
a
p
t
e
r
Standard Method
80
80
79
81
79
62
70
68
76
66
71
76
73
76
86
73
70
85
72
68
75
66
9
26
C
h
a
p
t
e
r
9
27
C
h
a
p
t
e
r
28
C
h
a
p
t
e
r
1 s1
2
2 s2
5.8348
= .9198 which is <2
6.3438
29
C
h
a
p
t
e
r
9
30
C
h
a
p
t
e
r
Mean
Std. Dev.
76.4
5.8348
10
72.3333
6.3437
12
1 1 21 + 2 1 22
=
1 + 2 2
2
10 1 5.8348 2 + 12 1 6.3437
=
10 + 12 2
= 37.45
1 + 2 2 = 10 + 12 2 = 20
= .025 = 2.086
31
C
h
a
p
t
e
r
1
1
1
1
+
= 76.4 72.33 .025 37.45
+
1 2
10 12
= 4.07 2.086 2.62
= 4.07 5.47
= (1.4, 9.54)
9
32
C
h
a
p
t
e
r
9
33
C
h
a
p
t
e
r
Hypotheses
Null Hypothesis
0 : 1 2 = 0
Alternative Hypotheses
: 1 2 < 0
: 1 2 > 0
: 1 2 0
0 = Hypothesized difference between the means
34
C
h
a
p
t
e
r
s 2p
n1 n2
Required Conditions
1. The two samples are randomly selected in an
independent manner from the two target populations.
2. Both sampled populations have distributions that are
approximately normal.
3. The population variances are equal, but unknown.
35
C
h
a
p
t
e
r
Rejection Region
( x1 x2 ) D0
1 1
s p
n1 n2
~ t( n1 n2 2) df
36
C
h
a
p
t
e
r
9
37
C
h
a
p
t
e
r
= ( > )
: 1 2 > 0
2. Lower-tailed test
: 1 2 < 0
3. Two-tailed test
: 1 2 0
1 + 2 2
1 + 2 2
= ( > )
= 2 ( > | |)
1 + 2 2
Decision Rule:
If < , we reject 0
38
C
h
a
p
t
e
r
9:30 AM Class
Mean: 78
Mean: 82
Standard Deviation: 14
Standard Deviation: 17
Variance: 196
Variance: 289
n: 21
n: 21
39
C
h
a
p
t
e
r
Hypotheses
Null Hypothesis
0 : 1 2 = 0
Alternative Hypothesis
: 1 2 0
40
C
h
a
p
t
e
r
Required Conditions
1. Assume 8:00 am and 9:30 am classes are independent and
samples from these classes are chosen randomly.
2. Both sampled populations have
distributions that are approximately
normal.
3. Since 1 2 = .824, so we assume
that the population variances are
equal, but unknown.
41
C
h
a
p
t
e
r
Rejection Region
< 2.021 or > 2.021 (Note that = 40)
( x1 x2 ) D0
1 1
s 2p
n1 n2
(78 82) 0
1 1
(242 .5)
21 21
.832
2
2
(
n
1
)
s
(
n
1
)
s
20 196 20 289
1
2
2
s 2p 1
242 .5
n1 n2 2
40
42
C
h
a
p
t
e
r
9
43
C
h
a
p
t
e
r
OR
-value = 2 > .832 = 2 > .10 = > .20
C
h
a
p
t
e
r
9
46
C
h
a
p
t
e
r
is
Where,
= sample mean difference
= sample standard deviation of differences
= number of pairs observe
= t-critical value at 1
2
47
C
h
a
p
t
e
r
9
48
C
h
a
p
t
e
r
Male
Female
=
Diff
$29,300
$28,800
500
$41,500
$41,600
-100
$40,400
$39,800
600
$38,500
$38,500
$43,500
$42,600
900
$37,800
$38,00
-200
$69,500
$69,200
300
$41,200
$40,100
1100
$38,400
$38,200
200
10
$59,200
$58,500
700
C
h
a
p
t
e
r
9
50
C
h
a
p
t
e
r
C
h
a
p
t
e
r
Mean
Std. Dev.
Diff
10
400
434.6135
= 10 1 = 9
2 = .025 = 2.262
sd
434 .6135
xd t
400 2.262
nd
10
2
(89.0962 , 710 .9038 )
52
C
h
a
p
t
e
r
9
53
C
h
a
p
t
e
r
Hypotheses
Null Hypothesis
0 : = 0
Alternative Hypothesis
: < 0
: > 0
: 0
0 = Hypothesized difference between the means
54
C
h
a
p
t
e
r
Required conditions
1. A random sample of differences is selected from
the target population differences.
2. The population of differences has a distribution
that is approximately normal.
9
55
C
h
a
p
t
e
r
Rejection Region
> if upper tailed test (or : > 0 )
or <
1
56
C
h
a
p
t
e
r
9
57
C
h
a
p
t
e
r
1.
a.
a.
: < 0
Two-tailed test
3.
= ( > )
: > 0
Lower-tailed test
2.
a.
: 0
= ( < )
= 2 ( > | |)
1
Decision Rule
If < , we reject 0
58
C
h
a
p
t
e
r
C
h
a
p
t
e
r
Hypotheses
Null Hypothesis
0 : = 0
Alternative Hypothesis
: 0
60
C
h
a
p
t
e
r
Required conditions
1. We are told that the sample was selected randomly.
2. Assume that the difference of reading response times
between the tongue twister group and the control group
has a normal distribution.
9
61
C
h
a
p
t
e
r
= 2 > 1.47
= 2 > .05
> .10
62
C
h
a
p
t
e
r
9
63