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;

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!

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
  • 912 views
  • 1 like
  • 2 in conversation