BookmarkSubscribeRSS Feed
deleted_user
Not applicable
I have data that I need to correlate. It is in categories and subcategories. Example:
category - subcategory - set1 - set2
Leadership - A - 4.07 - 2.38
Leadership - B - 4.09 - 2.19
Leadership - C - 3.36 - 2.62
Leadership - D - 3.47 - 2.11
Leadership - Total - 3.75 - 2.33

I want to see which (A, B, C, D) provides the best correlation to the total for that group for each individual set. I have about 15 sets and 10 groups - all with subcategories.

Help!

Thanks so much!
3 REPLIES 3
Paige
Quartz | Level 8
"the best correlation to the total for that group"??

That is not a statistical concept that I am familiar with. Could you define it further?
deleted_user
Not applicable
I want to see which subcategory (a, b, c, or d) best correlates to the total.
deleted_user
Not applicable
Here is what seemed to work for me:

I transposed the data and then used:

PROC CORR data=name;
var LeadershipT;
with leadershipa leadershipb leadershipc leadershipd;
RUN ;

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

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
  • 897 views
  • 0 likes
  • 2 in conversation