BookmarkSubscribeRSS Feed
angelinaliu
Calcite | Level 5

I want to use PROC CORRESP (MCA option) as a pre-processing for clustering. The purpose of this is to transform categorical variables to continuous variables. Does anyone have any sample codes or examples for this? How can I create output dataset from CORRESP (MCA option) and then do the hierarchical clustering with ward criteria?

Thanks.

4 REPLIES 4
Ksharp
Super User

I don't think you can use PROC CORRESP  to transform categorical variables to continuous variables.  It decompose cell chi-square into X axis and Y axis , therefore you can make some cluster idea,but that is only for CATEGORY variables.

Xia Keshan

SteveDenham
Jade | Level 19

I can kind of see a clunky way of doing this.  After PROC CORRESP does its thing and you get the X and Y axis values, you could use PROC DISTANCE to get a single continuous value, or just use the X and Y axis values as continuous variables.

Steve Denham

Ksharp
Super User

Yeah. use the X and Y axis values to cluster, right ?

gabras
Pyrite | Level 9

Hi, do you know how can i run MCA in Enterprise MINER?

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

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!

Register now

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 4 replies
  • 2074 views
  • 0 likes
  • 4 in conversation