Help using Base SAS procedures

Proc CORR

Reply
N/A
Posts: 0

Proc CORR

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.
Trusted Advisor
Posts: 2,113

Re: Proc CORR

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
Ask a Question
Discussion stats
  • 1 reply
  • 108 views
  • 0 likes
  • 2 in conversation