Statistical Procedures

Programming the statistical procedures from SAS
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-white.png

Special offer for SAS Communities members

Save $250 on SAS Innovate and get a free advance copy of the new SAS For Dummies book! Use the code "SASforDummies" to register. Don't miss out, May 6-9, in Orlando, Florida.

 

View the full agenda.

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
  • 3215 views
  • 0 likes
  • 3 in conversation