| FA | R Documentation |
Performs Factor Analysis using Principal Component Analysis (PCA) to extract factors and loadings.
FA(X, r)
X |
The observation data matrix of dimension |
r |
The number of factors to estimate. |
A list containing:
F |
The estimated factors matrix of dimension |
L |
The estimated factor loadings matrix of dimension |
Jiaqi Hu
Bai, J., & Ng, S. (2002). Determining the number of factors in approximate factor models. Econometrica, 70(1), 191-221.
X <- matrix(rnorm(100*20), 100, 20)
res <- FA(X, r = 2)
head(res$F)
head(res$L)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.