EFA Procedure
Example 10.4 Extracting and Interpreting Solutions with Maximum Likelihood Factor Analysis
(View the complete code for this example.)
This example shows how to use the EFA procedure to perform maximum likelihood factor analysis. It uses the jobratings data set that is described in the examples for the FACTOR procedure in SAS/STAT software. These are the same data that are analyzed in the section Example : Getting Started: EFA Procedure.
For this example, it is assumed that your libref is named mylib, but you can substitute any appropriately defined libref.
In Example , the jobratings data set is analyzed to determine the number of latent factors that are likely to explain the data. The results of that analysis indicate that two or three factors are likely to explain the observed covariance among the variables. In the current example, PROC EFA is used to extract and rotate a factor pattern that has either two or three common factors.
First, you can use the following code to extract and rotate a factor pattern that has two factors:
proc efa data=mylib.jobratings nfactors=2 method=ml
rotate=quartimin reorder fuzz=0.4;
run;
You use the NFACTORS= option to specify the number of factors to extract in the analysis. In this example, you specify the METHOD=ML option to perform a maximum likelihood (ML) factor analysis. The factors that are initially extracted by the ML method are orthogonal. To facilitate the interpretation of these factors, you specify the ROTATE=QUARTIMIN option to request factor rotation by the quartimin method. This is an oblique rotation, so the rotated factors might not be orthogonal. Finally, you specify the REORDER and FUZZ= options to further facilitate the interpretation of the factor solution. The REORDER option orders the rows of the various factor matrices such that variables whose highest absolute loading is on the first factor are displayed first, followed by variables whose highest absolute loading is on the second factor, and so on. The FUZZ=0.4 option causes all factor loadings less than 0.4 in magnitude to be printed as missing.
The first outputs that PROC EFA prints are the "Model Information" table and the "Number of Observations" table. These are shown in Output 10.4.1. Together, these tables summarize important information about the input data that are analyzed, as well as the primary analysis options that you specified. Next, the "Simple Statistics" table in Output 10.4.2 summarizes the means and standard deviations of the analysis variables.
Output 10.4.1: Model Information and Number of Observations
| Model Information | |
|---|---|
| Data Source | JOBRATINGS |
| Data Type | Raw |
| Prior Communalities | Squared Multiple Correlations |
| Factor Extraction | Maximum Likelihood Method |
| Factor Rotation | Quartimin |
| Number of Observations Read | 103 |
|---|---|
| Number of Observations Used | 103 |
Output 10.4.2: Simple Statistics
| Simple Statistics | ||
|---|---|---|
| Variable | Mean | Standard Deviation |
| Communication Skills | 6.65049 | 1.76407 |
| Problem Solving | 6.63107 | 1.59035 |
| Learning Ability | 6.99029 | 1.33941 |
| Judgment under Pressure | 6.73786 | 1.73183 |
| Observational Skills | 6.93204 | 1.76158 |
| Willingness to Confront Problems | 7.29126 | 1.52516 |
| Interest in People | 6.70874 | 1.89235 |
| Interpersonal Sensitivity | 6.62136 | 1.76077 |
| Desire for Self-Improvement | 6.57282 | 1.72980 |
| Appearance | 7.00000 | 1.79869 |
| Dependability | 6.82524 | 1.91704 |
| Physical Ability | 7.20388 | 1.55525 |
| Integrity | 7.21359 | 1.84524 |
Prior communality estimates are shown in the table in Output 10.4.3. For this analysis, the prior communalities are the squared multiple correlations of each analysis variable with the other variables. This is the default setting for PROC EFA. You can use the PRIORS= option to change the default.
Output 10.4.3: Prior Communalities
| Prior Communality Estimates | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Communication Skills | Problem Solving | Learning Ability | Judgment under Pressure | Observational Skills | Willingness to Confront Problems | Interest in People | Interpersonal Sensitivity | Desire for Self-Improvement | Appearance | Dependability | Physical Ability | Integrity |
| 0.62981394 | 0.58657431 | 0.61009871 | 0.63766021 | 0.67187583 | 0.64779805 | 0.75641519 | 0.75584891 | 0.57460176 | 0.45505304 | 0.63449045 | 0.42245324 | 0.68195454 |
The prior communalities represent initial estimates of the common variance for each analysis variable. (For more information about communalities and common variance, see the section The Common Factor Model.) The prior communalities are used to compute the reduced correlation matrix.
Next, the eigenvalues of the reduced correlation matrix are computed. In fact, for ML factor analysis, the eigenvalues of the weighted reduced correlation matrix are computed. The weights that are used are the reciprocals of the unique error variances (that is, one minus the communalities). These eigenvalues are summarized in the "Preliminary Eigenvalues" table in Output 10.4.4. This table suggests that two factors are sufficient to explain approximately 96.6% of the common variance in the original data, whereas three factors are required in order for the cumulative variance explained to exceed 1.0. For a more detailed investigation of the tools that you can use to investigate the number of factors in the jobratings data set, see Example .
Output 10.4.4: Preliminary Eigenvalues
| Preliminary Eigenvalues: Total = 23.3301805 Average = 1.79462927 | ||||
|---|---|---|---|---|
| Eigenvalue | Difference | Proportion | Cumulative | |
| 1 | 17.712722 | 12.878127 | 0.7592 | 0.7592 |
| 2 | 4.834595 | 3.455987 | 0.2072 | 0.9664 |
| 3 | 1.378608 | 0.739974 | 0.0591 | 1.0255 |
| 4 | 0.638634 | 0.096988 | 0.0274 | 1.0529 |
| 5 | 0.541646 | 0.355771 | 0.0232 | 1.0761 |
| 6 | 0.185875 | 0.197306 | 0.0080 | 1.0841 |
| 7 | -0.011431 | 0.109243 | -0.0005 | 1.0836 |
| 8 | -0.120674 | 0.119664 | -0.0052 | 1.0784 |
| 9 | -0.240338 | 0.063988 | -0.0103 | 1.0681 |
| 10 | -0.304326 | 0.056731 | -0.0130 | 1.0551 |
| 11 | -0.361057 | 0.029331 | -0.0155 | 1.0396 |
| 12 | -0.390389 | 0.143296 | -0.0167 | 1.0229 |
| 13 | -0.533685 | -0.0229 | 1.0000 | |
ML factor analysis is an iterative procedure in which the prior communality estimates are used to compute the reduced the correlation matrix, then common factors are extracted from the reduced correlation matrix, and finally those common factors are used to compute updated communalities. This process is repeated until the communalities converge. A summary of this iterative process is shown in Output 10.4.5.
Output 10.4.5: Iteration History
| Iteration | Criterion | Ridge | Change | Communalities | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | 1.1432750 | 0.0000 | 0.1624 | 0.56731 | 0.45839 | 0.54823 | 0.56927 | 0.69972 | 0.67780 | 0.80341 | 0.82730 | 0.56493 | 0.34689 | 0.63350 | 0.26005 | 0.68041 |
| 2 | 1.1413609 | 0.0000 | 0.0162 | 0.55965 | 0.44571 | 0.53917 | 0.56606 | 0.71591 | 0.68063 | 0.80206 | 0.82431 | 0.56910 | 0.34556 | 0.63759 | 0.27106 | 0.68382 |
| 3 | 1.1412755 | 0.0000 | 0.0030 | 0.55778 | 0.44268 | 0.53730 | 0.56480 | 0.71739 | 0.68336 | 0.80261 | 0.82351 | 0.56954 | 0.34464 | 0.63859 | 0.27263 | 0.68463 |
| 4 | 1.1412708 | 0.0000 | 0.0007 | 0.55737 | 0.44220 | 0.53659 | 0.56456 | 0.71792 | 0.68368 | 0.80282 | 0.82321 | 0.56953 | 0.34465 | 0.63873 | 0.27311 | 0.68489 |
PROC EFA computes several significance tests and measures of fit when you specify an ML factor analysis. These are shown in Output 10.4.6.
Output 10.4.6: Significance Tests and Measures of Fit (Two-Factor Model)
| Significance Tests Based on 103 Observations | |||
|---|---|---|---|
| Test | DF | Chi-Square | Pr > ChiSq |
| H0: No common factors | 78 | 852.5129 | <.0001 |
| HA: At least one common factor | |||
| H0: 2 Factors are sufficient | 53 | 108.9914 | <.0001 |
| HA: More factors are needed | |||
| Chi-Square without Bartlett's Correction | 116.40962 |
|---|---|
| Akaike's Information Criterion | 10.40962 |
| Schwarz's Bayesian Criterion | -129.23102 |
| Tucker and Lewis's Reliability Coefficient | 0.89361 |
Output 10.4.7: Canonical Correlations
| Squared Canonical Correlations | |
|---|---|
| Factor1 | Factor2 |
| 0.94849033 | 0.85059176 |
The final weighted reduced correlation matrix is formed by placing the final communalities on the diagonal of the data correlation matrix. The eigenvalues of this final correlation matrix are shown in the "Eigenvalues of the Weighted Reduced Correlation Matrix" table in Output 10.4.8.
Output 10.4.8: Final Eigenvalues
| Eigenvalues of the Weighted Reduced Correlation Matrix: Total = 24.1069015 Average = 1.85437704 | ||||
|---|---|---|---|---|
| Eigenvalue | Difference | Proportion | Cumulative | |
| 1 | 18.413832 | 12.720760 | 0.7638 | 0.7638 |
| 2 | 5.693071 | 4.622958 | 0.2362 | 1.0000 |
| 3 | 1.070113 | 0.613454 | 0.0444 | 1.0444 |
| 4 | 0.456659 | 0.058589 | 0.0189 | 1.0633 |
| 5 | 0.398070 | 0.241829 | 0.0165 | 1.0798 |
| 6 | 0.156241 | 0.147885 | 0.0065 | 1.0863 |
| 7 | 0.008356 | 0.116653 | 0.0003 | 1.0867 |
| 8 | -0.108298 | 0.144262 | -0.0045 | 1.0822 |
| 9 | -0.252560 | 0.047610 | -0.0105 | 1.0717 |
| 10 | -0.300169 | 0.082954 | -0.0125 | 1.0593 |
| 11 | -0.383124 | 0.094605 | -0.0159 | 1.0434 |
| 12 | -0.477729 | 0.089831 | -0.0198 | 1.0235 |
| 13 | -0.567560 | -0.0235 | 1.0000 | |
The factor pattern that corresponds to these communalities is shown in Output 10.4.9. The missing values indicate that the absolute value of the corresponding element in the pattern does not exceed 0.4, as specified by the FUZZ= option. The variance explained by the extracted factors is summarized in Output 10.4.10, and the final communality estimates are shown in Output 10.4.11.
Output 10.4.9: Factor Pattern
| Factor Pattern | ||
|---|---|---|
| Factor1 | Factor2 | |
| Integrity | 0.80231 | . |
| Interest in People | 0.80035 | -0.40283 |
| Dependability | 0.79336 | . |
| Interpersonal Sensitivity | 0.75439 | -0.50407 |
| Judgment under Pressure | 0.74785 | . |
| Communication Skills | 0.72073 | . |
| Desire for Self-Improvement | 0.70799 | . |
| Problem Solving | 0.64047 | . |
| Observational Skills | 0.61118 | 0.58687 |
| Learning Ability | 0.57532 | 0.45334 |
| Appearance | 0.51787 | . |
| Physical Ability | 0.48446 | . |
| Willingness to Confront Problems | 0.57156 | 0.59756 |
| Values less than 0.4 are not printed. |
Output 10.4.10: Variance Explained (Initial Solution)
| Variance Explained by Each Factor | ||
|---|---|---|
| Factor | Weighted | Unweighted |
| Factor1 | 18.413832 | 6.007072 |
| Factor2 | 5.693071 | 1.632118 |
Output 10.4.11: Final Communalities (Initial Solution)
| Final Communality Estimates and Variable Weights | ||
|---|---|---|
| Total Communality: Weighted = 24.106903 Unweighted = 7.639189 | ||
| Variable | Communality | Weight |
| Communication Skills | 0.55727959 | 2.25920908 |
| Problem Solving | 0.44207153 | 1.79275764 |
| Learning Ability | 0.53650447 | 2.15791760 |
| Judgment under Pressure | 0.56450349 | 2.29653380 |
| Observational Skills | 0.71795868 | 3.54514379 |
| Willingness to Confront Problems | 0.68375220 | 3.16130592 |
| Interest in People | 0.80283089 | 5.07138167 |
| Interpersonal Sensitivity | 0.82319143 | 5.65640994 |
| Desire for Self-Improvement | 0.56953539 | 2.32303202 |
| Appearance | 0.34463311 | 1.52589948 |
| Dependability | 0.63877379 | 2.76805050 |
| Physical Ability | 0.27320906 | 1.37572027 |
| Integrity | 0.68494568 | 3.17353979 |
To facilitate the interpretation of the factor solution, it is often helpful to rotate the initial factor pattern. For the current analysis, a factor rotation by the quartimin method was specified. This is an oblique rotation, so the rotated factors are likely to be correlated. The oblique transformation matrix (that is, the matrix that maps the initial factor pattern into the rotated factor pattern) is shown in Output 10.4.12, as is the "Interfactor Correlations" table, which summarizes the correlations between the rotated factors. For this analysis, the two factors are moderately correlated with each other.
Output 10.4.12: Oblique Transformation Matrix
| Oblique Transformation Matrix | ||
|---|---|---|
| 1 | 2 | |
| 1 | 0.50933 | 0.64767 |
| 2 | 1.02518 | -0.94389 |
| Interfactor Correlations | ||
|---|---|---|
| Factor1 | Factor2 | |
| Factor1 | 1.00000 | 0.48670 |
| Factor2 | 0.48670 | 1.00000 |
The rotated factor pattern is shown in Output 10.4.13. Again, the FUZZ= option causes factor loadings whose absolute values are less than 0.4 to be printed as missing. Such smaller factor loadings are not considered to be salient, and printing the values as missing makes it easier to distinguish the relationships between the analysis variables and the computed factors. In the rotated factor pattern, almost all variables load primarily on one factor (Dependability is the exception). The factor pattern can be interpreted as the standardized regression coefficients for predicting the effects of the factors on the variables.
Output 10.4.13: Rotated Factor Pattern
| Rotated Factor Pattern (Standardized Regression Coefficients) | ||
|---|---|---|
| Factor1 | Factor2 | |
| Observational Skills | 0.91294 | . |
| Willingness to Confront Problems | 0.90372 | . |
| Learning Ability | 0.75778 | . |
| Desire for Self-Improvement | 0.62848 | . |
| Communication Skills | 0.56648 | . |
| Appearance | 0.54721 | . |
| Problem Solving | 0.50924 | . |
| Dependability | 0.50323 | 0.42255 |
| Physical Ability | 0.44792 | . |
| Interpersonal Sensitivity | . | 0.96438 |
| Interest in People | . | 0.89859 |
| Integrity | . | 0.71131 |
| Judgment under Pressure | . | 0.55262 |
| Values less than 0.4 are not printed. |
The factor structure is shown in Output 10.4.14. The factor structure represents the correlation between the factors and the variables. This can be an important aid for interpretation when factors are correlated, as in the current example.
Output 10.4.14: Factor Structure
| Factor Structure (Correlations) | ||
|---|---|---|
| Factor1 | Factor2 | |
| Observational Skills | 0.83599 | . |
| Willingness to Confront Problems | 0.80937 | . |
| Learning Ability | 0.73087 | . |
| Desire for Self-Improvement | 0.73162 | 0.51779 |
| Communication Skills | 0.70432 | 0.55893 |
| Appearance | 0.58344 | . |
| Problem Solving | 0.62911 | 0.49414 |
| Dependability | 0.70889 | 0.66747 |
| Physical Ability | 0.51049 | . |
| Interpersonal Sensitivity | . | 0.89988 |
| Interest in People | 0.43202 | 0.89600 |
| Integrity | 0.54666 | 0.80888 |
| Judgment under Pressure | 0.57572 | 0.70192 |
| Values less than 0.4 are not printed. |
When factors are correlated, the common variance explained by each factor is not as straightforward as it is when the factors are uncorrelated. You must either eliminate or ignore the contributions from the other factors. Both computations are shown in Output 10.4.15.
Output 10.4.15: Variance Explained
| Variance Explained by Each Factor, Ignoring Other Factors | ||
|---|---|---|
| Factor | Weighted | Unweighted |
| Factor1 | 14.341750 | 5.349164 |
| Factor2 | 15.895579 | 4.506741 |
| Variance Explained by Each Factor, Eliminating Other Factors | ||
|---|---|---|
| Factor | Weighted | Unweighted |
| Factor1 | 8.211324 | 3.132449 |
| Factor2 | 9.765153 | 2.290025 |
Finally, the final communality estimates for the rotated solution are shown in Output 10.4.16.
Output 10.4.16: Variance Explained
| Final Communality Estimates and Variable Weights | ||
|---|---|---|
| Total Communality: Weighted = 24.106903 Unweighted = 7.639189 | ||
| Variable | Communality | Weight |
| Communication Skills | 0.55727959 | 2.25920908 |
| Problem Solving | 0.44207153 | 1.79275764 |
| Learning Ability | 0.53650447 | 2.15791760 |
| Judgment under Pressure | 0.56450349 | 2.29653380 |
| Observational Skills | 0.71795868 | 3.54514379 |
| Willingness to Confront Problems | 0.68375220 | 3.16130592 |
| Interest in People | 0.80283089 | 5.07138167 |
| Interpersonal Sensitivity | 0.82319143 | 5.65640994 |
| Desire for Self-Improvement | 0.56953539 | 2.32303202 |
| Appearance | 0.34463311 | 1.52589948 |
| Dependability | 0.63877379 | 2.76805050 |
| Physical Ability | 0.27320906 | 1.37572027 |
| Integrity | 0.68494568 | 3.17353979 |
To fully investigate the possibility that three factors rather than just two should be extracted, you can repeat the preceding analysis and change only the number of factors. The following code performs such an analysis:
proc efa data=mylib.jobratings nfactors=3 method=ml
rotate=quartimin reorder fuzz=0.4;
run;
Much of the initial analysis is the same as when two factors are extracted. First, the prior communalities are computed and used to form the reduced correlation matrix. This reduced correlation matrix is the input for an iterative process in which the final communalities and the initial factor pattern are computed.
The tables in Output 10.4.17 show the tests of significance and measures of fit when three factors are extracted from the jobratings data set. You can see that Akaike’s information criterion obtains a lower value for the three-factor model than for the two-factor model. On the other hand, Schwarz’s Bayesian criterion obtains a lower value for the two-factor model. Thus there is still ambiguity regarding the number of factors that should be estimated from the data.
Output 10.4.17: Significance Tests and Measures of Fit (Three-Factor Model)
| Significance Tests Based on 103 Observations | |||
|---|---|---|---|
| Test | DF | Chi-Square | Pr > ChiSq |
| H0: No common factors | 78 | 852.5129 | <.0001 |
| HA: At least one common factor | |||
| H0: 3 Factors are sufficient | 42 | 63.3931 | 0.0181 |
| HA: More factors are needed | |||
| Chi-Square without Bartlett's Correction | 68.18380 |
|---|---|
| Akaike's Information Criterion | -15.81620 |
| Schwarz's Bayesian Criterion | -126.47482 |
| Tucker and Lewis's Reliability Coefficient | 0.94870 |
The initial factor pattern for the three-factor solution is shown in Output 10.4.18. As before, the quartimin rotation is applied to this initial factor pattern. The "Oblique Transformation Matrix" and "Interfactor Correlations" tables are shown in Output 10.4.19. For the three-factor solution, the first and third factors are moderately correlated with each other.
Output 10.4.18: Factor Pattern
| Factor Pattern | |||
|---|---|---|---|
| Factor1 | Factor2 | Factor3 | |
| Integrity | 0.79639 | . | . |
| Interest in People | 0.79293 | -0.42170 | . |
| Dependability | 0.78828 | . | . |
| Judgment under Pressure | 0.76129 | . | . |
| Interpersonal Sensitivity | 0.75185 | -0.50923 | . |
| Communication Skills | 0.73337 | . | . |
| Desire for Self-Improvement | 0.70353 | . | . |
| Problem Solving | 0.67936 | . | -0.48758 |
| Observational Skills | 0.61088 | 0.57367 | . |
| Learning Ability | 0.58935 | 0.46440 | . |
| Appearance | 0.51770 | . | . |
| Physical Ability | 0.48145 | . | . |
| Willingness to Confront Problems | 0.57538 | 0.58409 | . |
| Values less than 0.4 are not printed. |
Output 10.4.19: Oblique Transformation Matrix
| Oblique Transformation Matrix | |||
|---|---|---|---|
| 1 | 2 | 3 | |
| 1 | 0.41909 | 0.58067 | 0.27177 |
| 2 | 0.82170 | -0.92004 | 0.17477 |
| 3 | 0.79867 | 0.17078 | -1.14008 |
| Interfactor Correlations | |||
|---|---|---|---|
| Factor1 | Factor2 | Factor3 | |
| Factor1 | 1.00000 | 0.39510 | 0.52069 |
| Factor2 | 0.39510 | 1.00000 | 0.32454 |
| Factor3 | 0.52069 | 0.32454 | 1.00000 |
The rotated factor pattern is shown in Output 10.4.20. This factor pattern is qualitatively similar to the rotated factor pattern for the two-factor solution. Each factor explains a subset of the analysis variables, and each analysis variable loads primarily on one or two of the common factors.
Output 10.4.20: Rotated Factor Pattern
| Rotated Factor Pattern (Standardized Regression Coefficients) | |||
|---|---|---|---|
| Factor1 | Factor2 | Factor3 | |
| Observational Skills | 0.88114 | . | . |
| Willingness to Confront Problems | 0.77606 | . | . |
| Desire for Self-Improvement | 0.65025 | . | . |
| Dependability | 0.54878 | 0.41841 | . |
| Physical Ability | 0.52291 | . | . |
| Learning Ability | 0.52041 | . | . |
| Appearance | 0.51472 | . | . |
| Interpersonal Sensitivity | . | 0.89025 | . |
| Interest in People | . | 0.86708 | . |
| Integrity | . | 0.71002 | . |
| Judgment under Pressure | . | 0.46714 | 0.44509 |
| Problem Solving | . | . | 0.77844 |
| Communication Skills | . | . | 0.45834 |
| Values less than 0.4 are not printed. |
Finally, the common variance explained by the factors is summarized in the tables in Output 10.4.15.
Output 10.4.21: Variance Explained
| Variance Explained by Each Factor, Ignoring Other Factors | ||
|---|---|---|
| Factor | Weighted | Unweighted |
| Factor1 | 15.184488 | 5.030941 |
| Factor2 | 16.519540 | 4.038321 |
| Factor3 | 11.157355 | 3.441515 |
| Variance Explained by Each Factor, Eliminating Other Factors | ||
|---|---|---|
| Factor | Weighted | Unweighted |
| Factor1 | 6.125759 | 2.123909 |
| Factor2 | 10.228793 | 2.177506 |
| Factor3 | 3.043214 | 0.904367 |
In this example, even after you extract and rotate a two-factor model and a three-factor model, there remains some ambiguity about which solution you should prefer. In this case, you might justify your decision by determining which solution is easier to interpret or is more consistent with existing theory or future experiments. You should also consider the possibility that the common factor model is not appropriate for the current data. In that case, you might consider a more complex model, such as a structural equation model.