The FACTOR Procedure

Getting Started: FACTOR Procedure

(View the complete code for this example.)

The following example demonstrates how you can use the FACTOR procedure to perform common factor analysis and factor rotation.

In this example, 103 police officers were rated by their supervisors on 14 scales (variables). You conduct a common factor analysis on these variables to see what latent factors are operating behind these ratings. The overall rating variable is excluded from the factor analysis.

The following DATA step creates the SAS data set jobratings:

options validvarname=any;
data jobratings;
   input ('Communication Skills'n
      'Problem Solving'n
      'Learning Ability'n
      'Judgment under Pressure'n
      'Observational Skills'n
      'Willingness to Confront Problems'n
      'Interest in People'n
      'Interpersonal Sensitivity'n
      'Desire for Self-Improvement'n
      'Appearance'n
      'Dependability'n
      'Physical Ability'n
      'Integrity'n
      'Overall Rating'n) (1.);
   datalines;
26838853879867
74758876857667
56757863775875
67869777988997
99997798878888
89897899888799
89999889899798
87794798468886

   ... more lines ...   

99899899899899
76656399567486
;

The following statements invoke the FACTOR procedure:

proc factor data=jobratings(drop='Overall Rating'n) priors=smc
   rotate=varimax;
run;

The DATA= option in PROC FACTOR specifies the SAS data set jobratings as the input data set. The DROP= option drops the Overall Rating variable from the analysis. To conduct a common factor analysis, you need to set the prior communality estimate to less than one for each variable. Otherwise, the factor solution would simply be a recast of the principal components solution, in which "factors" are linear combinations of observed variables. However, in the common factor model you always assume that observed variables are functions of underlying factors. In this example, the PRIORS= option specifies that the squared multiple correlations (SMC) of each variable with all the other variables are used as the prior communality estimates. Note that squared multiple correlations are usually less than one. By default, the principal factor extraction is used if the METHOD= option is not specified. To facilitate interpretations, the ROTATE= option specifies the VARIMAX orthogonal factor rotation to be used.

The output from the factor analysis is displayed in Figure 38.1 through Figure 38.5.

As displayed in Figure 38.1, the prior communality estimates are set to the squared multiple correlations. Figure 38.1 also displays the table of eigenvalues (the variances of the principal factors) of the reduced correlation matrix. Each row of the table pertains to a single eigenvalue. Following the column of eigenvalues are three measures of each eigenvalue’s relative size and importance. The first of these displays the difference between the eigenvalue and its successor. The last two columns display the individual and cumulative proportions that the corresponding factor contributes to the total variation. The last line displayed in Figure 38.1 states that three factors are retained, as determined by the PROPORTION criterion.

Figure 38.1: Table of Eigenvalues from PROC FACTOR

The FACTOR Procedure
Initial Factor Method: Principal Factors

Prior Communality Estimates: SMC
Communication SkillsProblem SolvingLearning AbilityJudgment under
Pressure
Observational SkillsWillingness to
Confront Problems
Interest in PeopleInterpersonal SensitivityDesire for Self-ImprovementAppearanceDependabilityPhysical AbilityIntegrity
0.629813940.586574310.610098710.637660210.671875830.647798050.756415190.755848910.574601760.455053040.634490450.422453240.68195454

Eigenvalues of the Reduced Correlation Matrix: Total = 8.06463816 Average = 0.62035678
 EigenvalueDifferenceProportionCumulative
16.177605494.715319460.76600.7660
21.462286020.901833480.18130.9473
30.560452540.280939330.06951.0168
40.279513220.047660160.03471.0515
50.231853050.161134280.02871.0802
60.070718770.074896240.00881.0890
7-.004177470.03387533-0.00051.0885
8-.038052790.04776534-0.00471.0838
9-.085818140.02438060-0.01061.0731
10-.110198740.01452741-0.01371.0595
11-.124726150.02356465-0.01551.0440
12-.148290800.05823605-0.01841.0256
13-.20652684 -0.02561.0000


3 factors will be retained by the PROPORTION criterion.


Figure 38.2 displays the initial factor pattern matrix. The factor pattern matrix represents standardized regression coefficients for predicting the variables by using the extracted factors. Because the initial factors are uncorrelated, the pattern matrix is also equal to the correlations between variables and the common factors.

Figure 38.2: Factor Pattern Matrix from PROC FACTOR

Factor Pattern
 Factor1Factor2Factor3
Communication Skills0.754410.07707-0.25551
Problem Solving0.685900.08026-0.34788
Learning Ability0.659040.34808-0.25249
Judgment under Pressure0.73391-0.21405-0.23513
Observational Skills0.690390.452920.10298
Willingness to Confront Problems0.664580.474600.09210
Interest in People0.70770-0.534270.10979
Interpersonal Sensitivity0.64668-0.61284-0.07582
Desire for Self-Improvement0.738200.125060.09062
Appearance0.571880.200520.16367
Dependability0.79475-0.045160.16400
Physical Ability0.512850.102510.34860
Integrity0.74906-0.350910.18656


The pattern matrix suggests that Factor1 represents general ability. All loadings for Factor1 in the Factor Pattern are at least 0.5. Factor2 consists of high positive loadings on certain task-related skills (Willingness to Confront Problems, Observational Skills, and Learning Ability) and high negative loadings on some interpersonal skills (Interpersonal Sensitivity, Interest in People, and Integrity). This factor measures individuals’ relative strength in these skills. Theoretically, individuals with high positive scores on this factor would exhibit better task-related skills than interpersonal skills. Individuals with high negative scores would exhibit better interpersonal skills than task-related skills. Individuals with scores near zero would have those skills balanced. Factor3 does not have a cluster of very high or very low factor loadings. Therefore, interpreting this factor is difficult.

Figure 38.3 displays the proportion of variance explained by each factor and the final communality estimates, including the total communality. The final communality estimates are the proportion of variance of the variables accounted for by the common factors. When the factors are orthogonal, the final communalities are calculated by taking the sum of squares of each row of the factor pattern matrix.

Figure 38.3: Variance Explained and Final Communality Estimates

Variance Explained by Each Factor
Factor1Factor2Factor3
6.17760551.46228600.5604525

Final Communality Estimates: Total = 8.200344
Communication SkillsProblem SolvingLearning AbilityJudgment under
Pressure
Observational SkillsWillingness to
Confront Problems
Interest in PeopleInterpersonal SensitivityDesire for Self-ImprovementAppearanceDependabilityPhysical AbilityIntegrity
0.640362920.597918440.619241670.639728630.692374850.675386950.798339680.799513570.568791710.394036300.660569070.395048050.71903222


Figure 38.4 displays the results of the VARIMAX rotation of the three extracted factors and the corresponding orthogonal transformation matrix. The rotated factor pattern matrix is calculated by postmultiplying the original factor pattern matrix (Figure 38.4) by the transformation matrix.

Figure 38.4: Transformation Matrix and Rotated Factor Pattern

Orthogonal Transformation Matrix
 123
10.591250.592490.54715
2-0.800800.511700.31125
30.095570.62219-0.77701

Rotated Factor Pattern
 Factor1Factor2Factor3
Communication Skills0.359910.327440.63530
Problem Solving0.308020.231020.67058
Learning Ability0.086790.411490.66512
Judgment under Pressure0.582870.179010.51764
Observational Skills0.055330.704880.43870
Willingness to Confront Problems0.021680.693910.43978
Interest in People0.856770.214220.13562
Interpersonal Sensitivity0.865870.022390.22200
Desire for Self-Improvement0.344980.557750.37242
Appearance0.193190.543270.24814
Dependability0.521740.549810.29337
Physical Ability0.254450.573210.04165
Integrity0.741720.380330.15567


The rotated factor pattern matrix is somewhat simpler to interpret. If a magnitude of at least 0.5 is required to indicate a salient variable-factor relationship, Factor1 now represents interpersonal skills (Interpersonal Sensitivity, Interest in People, Integrity, Judgment Under Pressure, and Dependability). Factor2 measures physical skills and job enthusiasm (Observational Skills, Willingness to Confront Problems, Physical Ability, Desire for Self-Improvement, Dependability, and Appearance). Factor3 measures cognitive skills (Communication Skills, Problem Solving, Learning Ability, and Judgment Under Pressure).

However, using 0.5 for determining a salient variable-factor relationship does not take sampling variability into account. If the underlying assumptions for the maximum likelihood estimation are approximately satisfied, you can output standard error estimates and the confidence intervals with METHOD=ML. You can then determine the salience of the variable-factor relationship by using the coverage displays. See the section Confidence Intervals and the Salience of Factor Loadings for more details.

Figure 38.5 displays the variance explained by each factor and the final communality estimates after the orthogonal rotation. Even though the variances explained by the rotated factors are different from that of the unrotated factor (compare with Figure 38.3), the cumulative variance explained by the common factors remains the same. Note also that the final communalities for variables, as well as the total communality, remain unchanged after rotation. Although rotating a factor solution will not increase or decrease the statistical quality of the factor model, it can simplify the interpretations of the factors and redistribute the variance explained by the factors.

Figure 38.5: Variance Explained and Final Communality Estimates after Rotation

Variance Explained by Each Factor
Factor1Factor2Factor3
3.10243302.76844892.3294622

Final Communality Estimates: Total = 8.200344
Communication SkillsProblem SolvingLearning AbilityJudgment under
Pressure
Observational SkillsWillingness to
Confront Problems
Interest in PeopleInterpersonal SensitivityDesire for Self-ImprovementAppearanceDependabilityPhysical AbilityIntegrity
0.640362920.597918440.619241670.639728630.692374850.675386950.798339680.799513570.568791710.394036300.660569070.395048050.71903222