Hi,
Need some tips about how to do clustering for categorical variables.
Any epaper or thoughts are appreciated.
Thanks,
_kamal
Proc Corresp calculates coordinates for the levels of two or more categorical variables based on their crosstabulation. If you fed distances derived from those coordinates to Proc Cluster, you could cluster together the levels of two or more categorical variables. I never tried doing that.
PG
You could use proc distance and choose a measure appropriate for nominal variables to get a distance matrix. Then use that distance matrix in proc cluster.
PG
I wonder if you could get the output from PROC CORRESP, or the necessary internal datasets, and feed those to PROC CLUSTER.
Steve Denham
Proc Corresp calculates coordinates for the levels of two or more categorical variables based on their crosstabulation. If you fed distances derived from those coordinates to Proc Cluster, you could cluster together the levels of two or more categorical variables. I never tried doing that.
PG
Thanks guys
Hello,
I am also having a similar problem. As far as I can see using proc distance first and then apply Proc cluster seems appropriate.
What about in Miner? How can I do this with FASTCLUS and MODECLUS?
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.
Find more tutorials on the SAS Users YouTube channel.