Programming the statistical procedures from SAS

Dimension reduction for categorical/character variables

Reply
Frequent Contributor
Posts: 89

Dimension reduction for categorical/character variables

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?

Respected Advisor
Posts: 4,756

Dimension reduction for categorical/character variables

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

PG

PG
Frequent Contributor
Posts: 89

Dimension reduction for categorical/character variables

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).

SAS Super FREQ
Posts: 3,547

Dimension reduction for categorical/character variables

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.

Ask a Question
Discussion stats
  • 3 replies
  • 1084 views
  • 0 likes
  • 3 in conversation