I ran a proc factor method as shown below:
proc factor data=work.final_data scree r=varimax method=principal;
run;
This generated a scree plot along with the general proc factor report with factor number on the x-axis and eigen values on the y-axis. Is it possible to generate a scree plot with a y-axis showing the percentage variance covered by each principal component (which is a factor in that case since method=principal)?
Use an option in the ODS GRAPHICS statement. For example,
ods graphics / height=960px;
Replace the SCREE option with the option PLOTS=SCREE. Be sure that ODS Graphics is on. If not, add this statement before your PROC FACTOR step.
ods graphics on;
would I be able to make that plot bigger?
Use an option in the ODS GRAPHICS statement. For example,
ods graphics / height=960px;
That worked perfectly! Thank you!
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!
ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.
Find more tutorials on the SAS Users YouTube channel.