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 ;

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
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.

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