# how can i do Factor analysis with 2 matrix

1 view (last 30 days)
Zuyu An on 19 Aug 2020
I have 2 Matrix, for example
Matrix A ={a1 b1 c1; a2 b2 c2; a3 b3 c3}
Matrix B={x1 y1 z1 m1 n1; x2 y2 z2 m2 n2; x3 y3 z3 m3 n3 }
there must some relationships zwischen Matrix A and B, linear or unlinear, but i don't yet.
i want to do the Factor analysis and this relationships to find.
how kann i do the Factor analysis by Matlab ?
which function should i use ?
Thankyou very very much for your time!

Abdolkarim Mohammadi on 19 Aug 2020
factoran function implements Factor Analysis (FA) in MATLAB. FA is a dimension reduction technique. It is not designed to find the relationship between two datasets. It can only summarize each of your datasets into factors separately. If you want to find the relationship between the factors obtained from your datasets, you should use Structural Equations Modeling (SEM), whom uses FA along other techniques.
Abdolkarim Mohammadi on 28 Aug 2020
Principle components analysis (PCA) is one of the most popular methods for FA. You can refer to the MATLAB's documentation of the function pca(). There you can see that FA is implemented on not more than one matrix. I think you should first read about the basics of FA.

R2019b

### Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!