BookmarkSubscribeRSS Feed
littlestone
Fluorite | Level 6

Hello all

Suppose I have many variables (both numerical and character) and I want to reduce them.

I know Proc VARCLUS can work for correlated numerical variables, howvere, is there any method that can work for categorical/character variables?

3 REPLIES 3
PGStats
Opal | Level 21

It is not clear what kind of reduction you are seeking, but look at correspondance analysis (proc corresp)

PG

PG
littlestone
Fluorite | Level 6

I apologize for not expressing my questions clearly:

My goal of reduction is to reduce the number of categorical/character variables; for example, say I have 200 character variables, I want to reduce this number to 30 (or 50) which is more amenable to analysis (such as building a logistic regression model).

Rick_SAS
SAS Super FREQ

Your choices vary according to whether your variables are ordinal or nominal, but look at the DISTANCE procedure and the various proximity measures it provides. Some are applicable for discrete variables.  You can then get a "distance" matrix (dis/similarity matrix) that can be used to cluster variables.

I haven't done this myself (I use correpondence analysis instead) butI think it will work.

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

What is ANOVA?

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.

Discussion stats
  • 3 replies
  • 2781 views
  • 0 likes
  • 3 in conversation