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-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

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