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

Hi,

 

I need to get the scatter plots and the Q-Q plot separately (not in a matrix) and I wrote this code

 

proc corr data=salary plots=matrix(histogram);
var y x1 x2 x3 x4 x5 x7 x8 x9 x10;
run;

 

how can I modify my code using the unpack statement

1 ACCEPTED SOLUTION

Accepted Solutions
saslove
Quartz | Level 8

proc corr data=salary plots=all
var y x1 x2 x3 x4 x5 x7 x8 x9 x10;
run;

 

This will give you separate scatter plots. 

View solution in original post

1 REPLY 1
saslove
Quartz | Level 8

proc corr data=salary plots=all
var y x1 x2 x3 x4 x5 x7 x8 x9 x10;
run;

 

This will give you separate scatter plots. 

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 Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

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