Highlighted
Contributor
Posts: 26

# Proc Discrim on Clustered data

Hi,

I need help on generating discriminant statistics to classify data generated by cluster analysis.

In the cluster analysis, I have done dimension reduction using proc factor (method=principal rotate=varimax) which give me 6 factors.  I then use proc cluster (Ward's method) and end up with 7 clusters.

Is what I have below correct?  What value of k should i use?

PROC DISCRIM data=train TESTDATA=test testout=newgroups method=npar k=6 OUTSTAT=newStat;
var Factors1-Factors6;
class clusterID;
id dataID;
run;

Posts: 5,611

## Re: Proc Discrim on Clustered data

Now that you have the clusters, why not perform the discriminant analysis on the original variables? And why not start with parametric methods?

When doing a non-parametric discriminant analysis on principal components you won't get reusable classification rules or any insight about classification logic.

PG
Contributor
Posts: 26

## Re: Proc Discrim on Clustered data

Can discriminant analysis handle collinearity?

Thanks for your suggestion about using parametric method, i will check what's their distribution, hopefully the variables or the log-transformed variables are normally distributed.

Posts: 5,611

## Re: Proc Discrim on Clustered data

@Fae wrote:

Can discriminant analysis handle collinearity?

Yes discriminant analysis can handle collinearity. When two variables are colinear, their multivariate distribution will look like an oblique ellisoid. Proc discrim is a multivariate procedure that handles such distributions, within each cluster. Parametric discrimination assumes that the multivariate distribution of each cluster is multinormal. If you look at data from a multinormal distribution, one variable at a time, you will see normal distributions, even if the variables are not completely independent.

Proc discrim gives you the choice between the hypothesis that every cluster has the same covariance matrix, or not, with option POOL=YES/NO..

PG
Discussion stats
• 3 replies
• 72 views
• 1 like
• 2 in conversation