BookmarkSubscribeRSS Feed
deleted_user
Not applicable
I am trying to run a correlation and scatter plots for 14 different variables. SAS runs a correlation on all of my variables, but only gives a scatter plot for the first 5 variables. I know there is a way to tell SAS that I want all of the plots. I have been using nmaxvar=14, but that hasn't helped.

Does anyone know how to get all the scatter plots to print?

Thanks for any help.
1 REPLY 1
Doc_Duke
Rhodochrosite | Level 12
SAS 9.1.3? I think that is a glitch in the experimental release of the ODS graphics. Although the default is 5, I think the max is also 5 [and that it is corrected in 9.2 (I don't have it to test)].

If my recollection is correct, then the 9.1.3 work-around is to do a series of PROC CORR's using 5 VARs or 5VARs + 5 WITHs at a time. Less elegant, but you do get the results.

Doc Muhlbaier
Duke

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

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
  • 844 views
  • 0 likes
  • 2 in conversation