Professional Documents
Culture Documents
5
Correla,on
and
Associa,on
Outline
Pearsons
Correla,on
Special
Correla,ons
Par,al,
Part
(Semi-par,al)
and
Mul,ple
Correla,on
Tes,ng
Dierence
between
Correla,on
Coecients
Methods
for
Ordinal
Data:
Spearmans
rho
and
Kendals
tau
Addi,onal
Methods
for
Ordinal
Data:
Goodman
and
Kruskals
Gamma,
Kendalls
Coecient
of
Concordance
Methods
with
Categorical/Nominal
Data
Basic
Aspects
of
Correla,on:
Direc,on,
Strength,
and
Linearity
(X X)(Y Y )
i i
86 86
Covxy = sxy = i=1
= = = 9.55 !
n 1 10 1 9
Small
Data
Example
(6,12),(11,15),(5,10),
(12,19),
(16,16),
(10,17),
(8,12),
(7,11),
(14,18),
(11,20)
n
(X X)(Y Y )
i i
86 86
Covxy = sxy = i=1
= = = 9.55 !
n 1 10 1 9
Cov XY 9.55 9.55
r= = = = +0.761
S X SY 3.527 3.559 12.555
Adjusted
Correla,on
Coecient:
Unbiased
coecient
(1 r 2 )(n 1)
radj = 1 !
n2
2
(1 - 761 )(10 - 1) 0.4207 9
radj = 1 - = 1- = 1 - 0.4733= 0.7257
10 - 2 8
Hypothesis
Tes,ng
About
Popula,on
Correla,on:
Signicance
of
Correla,on
H0 : = 0
!
HA : 0
Null:
popula,on
correla,on
is
zero
r n2
t= 2
!
1 r
r n - 2 0.7611 10 - 2
t= = = 3.3188
1- r2 2
1 - 0.7611
t(8) = 2.306, p = .05 t(8) = 3.555, p = .01
The
t
is
signicant
at
.05
level
Decision:
reject
Null
Tes,ng
Hypothesis
That
Popula,on
Correla,on
is
Specic
Value
Fishers
Z
transforma,on
of
r.
r ' = .5 log e
1+ r
! 1+
' = .5 log e !
1 r 1
p {r1 r2 } = 1 !
1
CI( ') = r ' ( z Sr ' ) = r ' z !
n 3
1 r
r '1 r '2
z=
1 1
+
n1 3 n2 3 2
k
Tes,ng
Dierence
k ( n j 3) r ' j
in
More
Than
Two
2 = ( n j 3) r '2j k
j =1
Independent
Correla,ons
j =1
( n j 3)
j =1
Tes,ng
Dierence
in
Two
Nonindependent
Correla,ons
Dierence
between
two
dependent
correla,ons
(e.g.,
correla,ons
obtained
on
same
sample)
S,eger
(1980)
(n 1)(1 + ryz )
T = (rxy rxz )
n 1
2 R + r 2
(1 ryz ) 3
n 3
Methods
for
Ordinal
Data:
Spearmans
rho
and
Kendals
tau
Spearman
is
Pearsons
correla,on
for
ranked
data
Kendalls
tau
Coecient
()
Kendalls
tau
is
based
on
inversions
in
the
data
nC nD
%=
n( n 1)
2
%
z=
2(2n + 5)
9n(n 1)
Addi,onal
Methods
for
Ordinal
Data
Goodman
and
Kruskals
Gamma
nC nD
G=
nC + nD
nC + nD
z=G
n (1 G 2 )
12 T j2 3 ( n + 1)
W%=
k 2 n ( n 2 1) n 1
Methods
with
Categorical/
Nominal
Data
Chi-square
test
for
independence
Phi
coecient,
con,ngency
coecient
(C)
and
Cramers
V
Odds
ra,o
Likelihood
Ra,o
test
Cochran-Mantel-Haenszel
sta,s,c
Cohens
Kappa