SAS Procedures

Help using Base SAS procedures
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

sas-innovate-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

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