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

When I do PCA analysis the scree plot comes out 5 pages long with a lot of wasted space.

The usual: "ods graphics on / width=4in height=3in" does not seem to have any effect.

Any suggestions to re-scale the scree plot, make it shorter?

Thank you.

1 ACCEPTED SOLUTION

Accepted Solutions
PaigeMiller
Diamond | Level 26

This minor modification of your code works for me

 

proc factor data=mydata corr plots=scree ev method = principal;

 

--
Paige Miller

View solution in original post

4 REPLIES 4
PaigeMiller
Diamond | Level 26

Show us your SAS code. Please click on the running man icon and then paste the code (as text) into the Window that appears.

--
Paige Miller
Vic3
Obsidian | Level 7
ods graphics on / width=4in height=4in;
proc factor data=mydata corr scree ev method = principal;
var var1 var2 var3 var4 var5 var6 var7 var8;
run;
ods graphics off;

Regardless of width or height the scree plot does not change, prints several pages long.

PaigeMiller
Diamond | Level 26

This minor modification of your code works for me

 

proc factor data=mydata corr plots=scree ev method = principal;

 

--
Paige Miller
Vic3
Obsidian | Level 7
That worked. Thank you!