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

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)?

1 ACCEPTED SOLUTION

Accepted Solutions
StatDave
SAS Super FREQ

Use an option in the ODS GRAPHICS statement. For example, 

ods graphics / height=960px; 

View solution in original post

4 REPLIES 4
StatDave
SAS Super FREQ

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;
aalluru
Obsidian | Level 7

would I be able to make that plot bigger?

StatDave
SAS Super FREQ

Use an option in the ODS GRAPHICS statement. For example, 

ods graphics / height=960px; 
aalluru
Obsidian | Level 7

That worked perfectly! Thank you!

sas-innovate-white.png

Special offer for SAS Communities members

Save $250 on SAS Innovate and get a free advance copy of the new SAS For Dummies book! Use the code "SASforDummies" to register. Don't miss out, May 6-9, in Orlando, Florida.

 

View the full agenda.

Register now!

What is ANOVA?

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.

Discussion stats
  • 4 replies
  • 1164 views
  • 0 likes
  • 2 in conversation