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-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

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