STA408 Appendix
STA408 Appendix
CONFIDENCE INTERVALS
Difference in means, 1 − 2 ,
(x1 − x2 ) t 2, df s p 1 1
+ ;
variances 12 = 22 and unknown n1 n2
( n1 − 1) s12 + ( n2 − 1) s22
df = n1 + n2 − 2 , sp =
n1 + n2 − 2
Difference in means, 1 − 2 , 2 2
df =
(s 1
2
n1 + s22 n2 )
2
(s
1
2
n1 ) (
2
s 2 n
+ 2 2
)
2
n1 − 1 n2 − 1
Variance, 2 (n − 1) s 2 (n − 1) s 2
, 2 ; df = n − 1
2 2, df
1− 2 , df
HYPOTHESIS TESTING
( n1 − 1) s12 + ( n2 − 1) s22
df = n1 + n2 − 2 , sp =
n1 + n2 − 2
t calc =
(x1 − x2 ) − (1 − 2 ) ;
H0 : 1 − 2 = 0
s12 s22
+
variances 12 22 and unknown n1 n2
df =
(s1
2
n1 + s22 n2 )
2
(s 1
2
n1 ) (
2
s 2 n
+ 2 2
)
2
n1 − 1 n2 − 1
d − d
H0 : d = 0 t calc = ; df = n − 1 where n is no. of pairs
sd
n
calc
2
=
(n − 1) s 2 ; df = n − 1
H0 : = 0
2 2
0 2
s12
Fcalc = ; 1 = n1 − 1 , 2 = n2 − 1
H0 : 12 = 2 2
s22
SSxy
r =
SSxxSSyy
xy − n ,
Product Moment Correlation x y
where SSxy =
Coefficient
SSxx = x −
( x )
2
2
, SSyy
( y )
= y − M2
2
n un
Least-squares regression line of Y = a + bX k
Y against X SSxy a
where b = and a = y − b x
SSxx s
u
r
© Hak Cipta Universiti Teknologi MARA a CONFIDENTIAL
t