-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Proposed transformation: Loading matrix for factor analysis #72
Comments
Sorry for the late reply. I am not familiar with these methods, so an example would help clarify. |
I actually went and turned my working example into its own small package: https://github.com/ElOceanografo/FactorLoadingMatrices.jl. There's an example in the readme that illustrates the intended usage. Basically the transformation constructs the first Still happy to contribute the transformation here as well if you want! |
Would there be any interest in a "special array" transformation to create loading matrices for factor analysis? i.e., when
n
observed variables are represented bym <= n
latent factors, the loading matrixL
has size(n, m)
and links the latent variablesx
to observed variablesy
asy ~ MvNormal(L * x, sigma)
. When fitting it by MLE/MCMC, all entries above the diagonal are set to zero to ensure the columns are linearly independent. The transform is thus from a vector with(n - m + 2) * m
elements to ann * m
matrix.I've got a working example hacked together that I could turn into a pull request if this would be useful for others...
The text was updated successfully, but these errors were encountered: