Docsity

Discriminant Analysis - Basic Statistics for Behavioral Sciences - Lecture Notes, Study notes of Statistics for Psychologists

Toggle sidebar
bg1
Ch. 8-9 Discriminant analysis
I. Situation
A. Metric IVs and a nonmetric DV with multiple levels.
B. Want to classify individuals into certain groups based on
the linear combination of metric IVs.
C. Similar to multiple regression except the DV in discriminant
analysis is nonmetric.
D. A reverse of MANOVA (one-way) in that IVs are metric and DV
is nonmetric.
E. Can be used as a post hoc procedure after MANOVA to evaluate
the importance of each IV in the discriminant function.
II. Terminology
A. Discrimnant function: a linear combination of all IVs which
maximizes the between-group variance compared to the within-
group variance.
zij = a’yij = a1yij1 + a2yij2 + . . + apyijp
B. Centroid: the mean of discriminant score for each group.
p
p
j
j
yayayayaz +++== .....'
2
2
1
1
C. Discrimnant loading (structure): correlation between each IV
and the discriminat score.
D. Standard coefficients: the standardized discriminant
coefficient.
E. Hit ratio: the percentage of subjects correctly classified
by the discriminant function.
F. Prior probability: a given probability before we evaluate
the outcome (posterior). P = nj/N.
G. The number of maximum discriminant functions is min(J-1, p).
III. Procedure
A. Building a discriminant function
1. zij = a’yij = a2yij1 + a2yij2 + . . + apyijp
where
zij = discriminant score for ith person in jth group,
a1 - ap = discriminant coefficients (weights) which
maximize the squared distance between groups, and
yijp = independent variable scores for ith person in jth
group.
2. Squared distance to be maximized
a) Two-group case
aS
a
ayyyya
aSa
yya
s
zz
d
pp
z
z
'
)')(('
'
)]('[
)(
212
1
2
21
2
2
21
2
−−
=
−
=
−
=
,
Docsity.com
pf3
pf4

Partial preview of the text

Download Discriminant Analysis - Basic Statistics for Behavioral Sciences - Lecture Notes and more Study notes Statistics for Psychologists in PDF only on Docsity!

Ch. 8-9 Discriminant analysis I. Situation A. Metric IVs and a nonmetric DV with multiple levels. B. Want to classify individuals into certain groups based on the linear combination of metric IVs. C. Similar to multiple regression except the DV in discriminant analysis is nonmetric. D. A reverse of MANOVA (one-way) in that IVs are metric and DV is nonmetric. E. Can be used as a post hoc procedure after MANOVA to evaluate the importance of each IV in the discriminant function.

II. Terminology A. Discrimnant function: a linear combination of all IVs which maximizes the between-group variance compared to the within- group variance. zij = a’y ij = a 1 yij1 + a 2 yij2 +.. + apyijp B. Centroid: the mean of discriminant score for each group. z j = a ' yj = a 1 y 1 + a 2 y 2 +.....+ apy p C. Discrimnant loading (structure): correlation between each IV and the discriminat score. D. Standard coefficients: the standardized discriminant coefficient. E. Hit ratio: the percentage of subjects correctly classified by the discriminant function. F. Prior probability: a given probability before we evaluate the outcome (posterior). P = nj/N. G. The number of maximum discriminant functions is min(J-1, p).

III. Procedure A. Building a discriminant function

  1. zij = a’y ij = a 2 yij1 + a 2 yij2 +.. + apyijp where zij = discriminant score for ith person in jth group, a 1 - ap = discriminant coefficients (weights) which maximize the squared distance between groups, and yijp = independent variable scores for ith person in jth group.
  2. Squared distance to be maximized a) Two-group case

aS a

a y y y y a aS a

a y y s

z z d z p p

z (^) '

( ) [ '( 1 2 )]^21212

2

1 2 2 (^2) = − = − = − − ,

where a = vector of discriminant coefficients, and Sp = pooled sample covariance matrix. b) J-group case

a Ea

aHa D (^) z '

where, λ = eigenvalue of the E-1H matrix. [# of λs is min(J-1, p)]

  1. Maximizing the squared distance (computing a ) a) a = S (^) p −^1 ( y 1 − y 2 ) b) Any multiple of a will maximize d (^) z^2  solution is not unique, but the distance is unique (relative position is unique). B. Classification of observation
  2. Two-group case: assuming n 1 = n 2 and z (^) 1 > z 2 , classify ith person (score) to group 1 if zi > ½( z 1 (^) + z 2 ), otherwise the ith person should be classified to group 2.
  3. If n 1 ≠ n 2 , then we should consider the prior probability.

p 1 = 1 2

1 n n

n

and p 2 = 1 2

2 n n

n

  1. The posterior probability is,

p(j| y ) =

j

z

z d

d exp(. 5 )

exp(. 5 ) 2

2 ,

where

j p

z p aS a

a y y y y a d 2 ln '

2 '^ ( 1 2 )( 1 2 )'

where, pj = prior probability.

  1. If p(1| y ) > p(2| y ), the person is classified to group 1.
  2. J-group case a) Generalized squared distance (Mahalanobis’ D ij^2 ) Dij ( yij yj )' Sp ( yij yj ) 2 ln p j

b) Posterior probability

p(j| y ) =

j

ij

ij D

D

exp(. 5 )

exp(. 5 ) 2

2

c) An individual is classified into group j if group j gives the maximum of p(j| y ). C. Relative importance of each discriminant function

N = sample size. VI. Stepdisc, Candisc.