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
"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.
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.
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
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.
Ready to level-up your skills? Choose your own adventure.