BookmarkSubscribeRSS Feed
gorkemkilic
Calcite | Level 5

Hi,

 

I'd like to see the correlations among the variables in my dataset. I created a correlation matrix for continuous variables by using Analyze/Multivariate/Correlations function but I don't know how to create a correlation matrix for the categorical variables. Could you help me with this issue?

Thanks

3 REPLIES 3
Reeza
Super User
I don't believe that's something that's defined clearly statistically. Typically to compare two categorical variables you can use a Chi-Square or Fisher test.
PGStats
Opal | Level 21

"Correlations" are only defined for ordered variables. You can use Spearman rank or Kendall's Tau-b correlations for both continuous measures and ordered categorical variables.

PG
ChrisHemedinger
Community Manager

I'm not sure of your application here, but you might look at PROC CORRESP.

 

PROC CORRESP does analyze categorical data, and it's often used in market research applications, especially in France and Japan.  (Which is why I call this the Jerry Lewis of stat procs.)

 

In fact, there's an entire book about Marketing Research using SAS Enterprise Guide.

 

 

It's time to register for SAS Innovate! Join your SAS user peers in Las Vegas on April 16-19 2024.

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 3 replies
  • 22729 views
  • 0 likes
  • 4 in conversation