```help sortl
-------------------------------------------------------------------------------

Title

> d by [MV] rotate

Syntax

sortl

Description

To make an interpretation of a factor solution easier, -sortl- sorts the
rotate into the matrix e(r_L). It also sorts the matrix e(Psi) of the
unique or unexplained variances created by [MV] factor or by [MV] pca
into the same order.

unexplained variances of the variables in the Stata Results window,
stores the sorted unique or unexplained variances into the matrix
e(Psis).

Example

. webuse bg2
(Physician-cost data)

. factor bg*, factors(2)
(obs=568)

Factor analysis/correlation                        Number of obs    =      568
Method: principal factors                      Retained factors =        2
Rotation: (unrotated)                          Number of params =       11

--------------------------------------------------------------------------
Factor  |   Eigenvalue   Difference        Proportion   Cumulative
-------------+------------------------------------------------------------
Factor1  |      0.85389      0.31282            1.0310       1.0310
Factor2  |      0.54107      0.51786            0.6533       1.6844
Factor3  |      0.02321      0.17288            0.0280       1.7124
Factor4  |     -0.14967      0.03951           -0.1807       1.5317
Factor5  |     -0.18918      0.06197           -0.2284       1.3033
Factor6  |     -0.25115            .           -0.3033       1.0000
--------------------------------------------------------------------------
LR test: independent vs. saturated:  chi2(15) =  269.07 Prob>chi2 = 0.0000

-------------------------------------------------
Variable |  Factor1   Factor2 |   Uniqueness
-------------+--------------------+--------------
bg2cost1 |   0.2470    0.3670 |      0.8043
bg2cost2 |  -0.3374    0.3321 |      0.7759
bg2cost3 |  -0.3764    0.3756 |      0.7173
bg2cost4 |  -0.3221    0.1942 |      0.8586
bg2cost5 |   0.4550    0.2479 |      0.7315
bg2cost6 |   0.4760    0.2364 |      0.7176
-------------------------------------------------

. rotate, oblique promax

Factor analysis/correlation                        Number of obs    =      568
Method: principal factors                      Retained factors =        2
Rotation: oblique promax (Kaiser off)          Number of params =       11

--------------------------------------------------------------------------
Factor  |     Variance   Proportion    Rotated factors are correlated
-------------+------------------------------------------------------------
Factor1  |      0.75531       0.9120
Factor2  |      0.69865       0.8436
--------------------------------------------------------------------------
LR test: independent vs. saturated:  chi2(15) =  269.07 Prob>chi2 = 0.0000

-------------------------------------------------
Variable |  Factor1   Factor2 |   Uniqueness
-------------+--------------------+--------------
bg2cost1 |   0.4428    0.1682 |      0.8043
bg2cost2 |  -0.0020    0.4730 |      0.7759
bg2cost3 |   0.0014    0.5320 |      0.7173
bg2cost4 |  -0.0907    0.3480 |      0.8586
bg2cost5 |   0.5059   -0.0513 |      0.7315
bg2cost6 |   0.5126   -0.0729 |      0.7176
-------------------------------------------------

Factor rotation matrix

--------------------------------
| Factor1  Factor2
-------------+------------------
Factor1 |  0.8276  -0.7098
Factor2 |  0.5614   0.7045
--------------------------------

. sortl

------------------------------------------------
Variable |  Factor1   Factor2 |  Uniqueness
-------------+--------------------+-------------
bg2cost6 |   0.5126   -0.0729 |      0.7176
bg2cost5 |   0.5059   -0.0513 |      0.7315
bg2cost1 |   0.4428    0.1682 |      0.8043
bg2cost3 |   0.0014    0.5320 |      0.7173
bg2cost2 |  -0.0020    0.4730 |      0.7759
bg2cost4 |  -0.0907    0.3480 |      0.8586
------------------------------------------------

Author

Dirk Enzmann
http://www2.jura.uni-hamburg.de/instkrim/kriminologie/Mitarbeiter/Enzmann/E
> nzmann.html
dirk.enzmann@uni-hamburg.de
```