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.
This minor modification of your code works for me
proc factor data=mydata corr plots=scree ev method = principal;
Show us your SAS code. Please click on the running man icon and then paste the code (as text) into the Window that appears.
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.
This minor modification of your code works for me
proc factor data=mydata corr plots=scree ev method = principal;
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.
Find more tutorials on the SAS Users YouTube channel.