0
votes

I'm doing some exploratory analysis on a dataset with 27 variables, of which maybe 24 have interesting numerical content. I'd like to look at a big draftsman's plot to see how each pair interact, however when I try to do something like that in CORR or SGSCATTER it continues to spit out the same 640x640 plot and shrinks the graphs.

Is there a way to make it create a big plot, instead of having to macro through and create a bunch of 6x6?

EDIT - my code:

ods rtf;
ods graphics on;

proc sgscatter data=home.byEpisode;
 matrix var1
   var2
   var3 %* and so on until 27;
run;

ods rtf close;
ods graphics off;
1

1 Answers

1
votes

It's not totally clear from your question whether this is being caused by PROC CORR itself, or if it's an issue with the output. ODS allows you to adjust the size of outputs, as illustrated at the link below. This permits the adjustment of graphics, but the same is true for adjusting the size of the page you are working on (see reference 2 for a SUGI paper on the topic).

I would suggest adjusting the papersize to something rather large, and then using ODS PDF with the PROC CORR to pipe the output there. Hopefully that should resolve your issue.

  1. http://support.sas.com/documentation/cdl/en/statug/63033/HTML/default/viewer.htm#statug_odsgraph_sect034.htm
  2. http://support.sas.com/resources/papers/proceedings10/011-2010.pdf