Turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Home
- /
- Analytics
- /
- Stat Procs
- /
- Show percentage of variance covered by each factor in proc factor

Options

- RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page

🔒 This topic is **solved** and **locked**.
Need further help from the community? Please
sign in and ask a **new** question.

- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content

Posted 02-16-2021 02:01 PM
(575 views)

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

- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content

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

```
ods graphics / height=960px;
```

4 REPLIES 4

- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content

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;`

- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content

would I be able to make that plot bigger?

- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content

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

```
ods graphics / height=960px;
```

- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content

That worked perfectly! Thank you!

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. **Registration is now open through August 30th**. Visit the SAS Hackathon homepage.

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.