ch10 Slides
ch10 Slides
ch10 Slides
QM-220, M. Zainal 2
Chapter 10: Estimation and hypothesis testing: two populations
QM-220, M. Zainal 3
Chapter 10: Estimation and hypothesis testing: two populations
QM-220, M. Zainal 4
Chapter 10: Estimation and hypothesis testing: two populations
QM-220, M. Zainal 5
Chapter 10: Estimation and hypothesis testing: two populations
QM-220, M. Zainal 6
Chapter 10: Estimation and hypothesis testing: two populations
QM-220, M. Zainal 7
Chapter 10: Estimation and hypothesis testing: two populations
12 22
(x1 x 2 ) za/2
n1 n2
QM-220, M. Zainal 9
Chapter 10: Estimation and hypothesis testing: two populations
2 2
s s
(x1 x 2 ) za/2 1
2
n1 n2
QM-220, M. Zainal 10
Chapter 10: Estimation and hypothesis testing: two populations
QM-220, M. Zainal 11
Chapter 10: Estimation and hypothesis testing: two populations
QM-220, M. Zainal 12
Chapter 10: Estimation and hypothesis testing: two populations
QM-220, M. Zainal 13
Chapter 10: Estimation and hypothesis testing: two populations
z za / 2 , that is
H a : 1 2 Do Twice area under std normal
z za / 2 or z za / 2 curve right of z
QM-220, M. Zainal 14
Chapter 10: Estimation and hypothesis testing: two populations
QM-220, M. Zainal 15
Chapter 10: Estimation and hypothesis testing: two populations
QM-220, M. Zainal 16
Chapter 10: Estimation and hypothesis testing: two
populations
F distribution
The F distribution is continuous and skewed to the right.
The F distribution has two degrees of freedom: df1 for
the numerator and df2 for denominator.
The units of an F distribution, denoted by Fdf1,df2,a are
nonnegative
QM-220, M. Zainal 17
Chapter 10: Estimation and hypothesis testing: two
populations
F distribution:
Example: Find the F value for 8 degrees of freedom for the
numerator, 14 degrees of freedom for the denominator, and
0.05 area in the right tail of F distribution curve. (F .05 8,14)
QM-220, M. Zainal 18
Chapter 10: Estimation and hypothesis testing: two
populations
F distribution:
Example: Find the F value for 10 degrees of freedom for the
numerator, 12 degrees of freedom for the denominator, and
0.01 area in the right tail of F distribution curve.
QM-220, M. Zainal 19
Chapter 10: Estimation and hypothesis testing: two
populations
QM-220, M. Zainal 20
Chapter 10: Estimation and hypothesis testing: two
populations
QM-220, M. Zainal 21
Chapter 10: Estimation and hypothesis testing: two
populations
QM-220, M. Zainal 22
Chapter 10: Estimation and hypothesis testing: two
populations
QM-220, M. Zainal 23
Chapter 10: Estimation and hypothesis testing: two
populations
(n 1)s 2
(n 1)s 2
s 2p 1 1 2 2
(n1 n 2 2)
QM-220, M. Zainal 24
Chapter 10: Estimation and hypothesis testing: two
populations
QM-220, M. Zainal 25
Chapter 10: Estimation and hypothesis testing: two
populations
H1 : 1 2 D0 t ta / 2 ,that is
Twice areaunder t distribution
t ta / 2 or t t a / 2
right of t
QM-220, M. Zainal 26
Chapter 10: Estimation and hypothesis testing: two
populations
QM-220, M. Zainal 27
Chapter 10: Estimation and hypothesis testing: two
populations
QM-220, M. Zainal 28
Chapter 10: Estimation and hypothesis testing: two
populations
(s / n1 s / n 2 )
2 2 2
df 2 1
2 2 2
2
(s1 / n1 ) (s 2 / n 2 )
n1 1 n2 1
we always round down the df to the nearest integer.
QM-220, M. Zainal 30
Chapter 10: Estimation and hypothesis testing: two
populations
QM-220, M. Zainal 31
Chapter 10: Estimation and hypothesis testing: two
populations
QM-220, M. Zainal 32
Chapter 10: Estimation and hypothesis testing: two
populations
QM-220, M. Zainal 33
Chapter 10: Estimation and hypothesis testing: two
populations
QM-220, M. Zainal 34
Chapter 10: Estimation and hypothesis testing: two
populations
QM-220, M. Zainal 35
Chapter 10: Estimation and hypothesis testing: two
populations
QM-220, M. Zainal 36
Chapter 10: Estimation and hypothesis testing: two
populations
d
d
n
d
2
d n 2
sd
n 1
QM-220, M. Zainal 37
Chapter 10: Estimation and hypothesis testing: two
populations
d ts d
QM-220, M. Zainal 40
Chapter 10: Estimation and hypothesis testing: two
populations
Using the 5% significance level, can we conclude that the mean of the
paired differences μd is different from zero? Assume that the
population of paired differences is (approximately) normally
distributed.
QM-220, M. Zainal 41
Chapter 10: Estimation and hypothesis testing: two
populations
QM-220, M. Zainal 42
Chapter 10: Estimation and hypothesis testing: two
populations
QM-220, M. Zainal 43
Chapter 10: Estimation and hypothesis testing: two
populations
QM-220, M. Zainal 44
Chapter 10: Estimation and hypothesis testing: two
populations
x1 x 2
p
n1 n 2
QM-220, M. Zainal 45
Chapter 10: Estimation and hypothesis testing: two
populations
1 1
s ˆp1 ˆp 2 pq
n1 n 2
The value of the test statistic for ˆp1 ˆp 2 is
z
ˆp1 ˆp 2 p1 p 2
s ˆp1 ˆp2
QM-220, M. Zainal 46
Chapter 10: Estimation and hypothesis testing: two
populations
QM-220, M. Zainal 47