Example: Factor Analysis
To create this example:
-
In the
Tasks section,
expand the
Multivariate Analysis folder,
and then double-click
Factor Analysis. The
user interface for the Factor Analysis task opens.
-
On the
Data tab,
select the
SASHELP.BASEBALL data set.
Tip
If the data set is
not available from the drop-down list, click
![Select a table icon](images/icon_select_table.png)
. In the
Choose a Table window,
expand the library that contains the data set that you want to use.
Select the data set for the example and click
OK.
The selected data set should now appear in the drop-down list.
-
Assign columns to these
roles:
Role
|
Column
|
Analysis
variables
|
nAtBat
nHits
nHome
nRuns
nRBI
nBB
YrMajor
CrAtBat
|
-
On the
Options tab,
select these options:
-
From the Rotation method drop-down
list, select Varimax.
-
For the type of rotation, select Orthogonal
rotation.
-
To run the task, click
![Submit SAS Code Icon](images/submitsascode.png)
.
Copyright © SAS Institute Inc. All rights reserved.