SAS Enterprise Guide

Desktop productivity for business analysts and programmers
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.

 

 

Register for SAS Innovate 2025!! The premier event for SAS users, May 6-9 in Orlando FL. Sign up now for the best deals!

sas-innovate-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

Register now!

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

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
  • 3 replies
  • 24615 views
  • 0 likes
  • 4 in conversation