BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
JingPynn
Calcite | Level 5

AE.pngBased on the image shown, I am required to find the correlation between percent body fat against the age, weight and height of individuals. I need to provide a graphical approach to make the correlation easier to explain and visualize. May I know how to do the code for scatter plot matrix and scattar plots for pair of variables?

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Ksharp
Super User
proc sgscatter data=sashelp.class;
matrix age weight height/diagonal=(histogram);
run;

View solution in original post

1 REPLY 1
Ksharp
Super User
proc sgscatter data=sashelp.class;
matrix age weight height/diagonal=(histogram);
run;

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

How to choose a machine learning algorithm

Use this tutorial as a handy guide to weigh the pros and cons of these commonly used machine learning algorithms.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 1414 views
  • 1 like
  • 2 in conversation