FactorRotations.jl

Rotation methods for factor analysis and principal component analysis in Julia
Author p-gw
Popularity
7 Stars
Updated Last
3 Months Ago
Started In
January 2024

FactorRotations.jl

Stable Dev Build Status Coverage

FactorRotations.jl implements factor rotations by the gradient projections algorithms described in Bernaards & Jennrich (2005).

Installation

To install FactorRotations.jl you can use the Julia package manager,

] add FactorRotations

Getting started

FactorRotations.jl provides methods to rotate factor loading matrices, e.g. from exploratory factor analysis or principle component analysis.

Assume you aquired a factor loading matrix L then you can rotate the matrix by calling the rotate function. The rotate function takes the factor loading matrix as the first argument and an instance of a rotation method as the second argument.

L = [
    0.830 -0.396
    0.818 -0.469
    0.777 -0.470
    0.798 -0.401
    0.786  0.500
    0.672  0.458
    0.594  0.444
    0.647  0.333
]

rotate(L, Varimax())

For a complete list of available methods see the Rotation Methods section of the documentation.

For a fully worked example see the Guides section of the documentation.

References

Bernaards, C. A., & Jennrich, R. I. (2005). Gradient projection algorithms and software for arbitrary rotation criteria in factor analysis. Educational and psychological measurement, 65(5), 676-696.

Used By Packages

No packages found.