Skip to content

ENH/Review procrustes in factor_rotation #4171

Open

Description

@josef-pkt

Note: this is not ours, it is copied from the factor_rotation package

numerically: this solve the least squares problem, should use a better method linalg.solve or linalg.pinv

algorithm:

Stata has several algorithms, most of them iterative
scipy has https://docs.scipy.org/doc/scipy-0.19.1/reference/generated/scipy.spatial.procrustes.html
and https://docs.scipy.org/doc/scipy-0.19.1/reference/generated/scipy.linalg.orthogonal_procrustes.html

we need oblique

issue: there is most likely a problem with rotations "promax" that doesn't match Stata nor R. One likely possibility is that the procrustes rotation differs. (the rest of the promax code is either verified, e.g. using varimax as prerotation, or looks simple, power target matrix)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions