Info

This question is closed. Reopen it to edit or answer.

Identifying the component in biplot

1 view (last 30 days)
Guilherme Lopes de Campos
Closed: MATLAB Answer Bot on 20 Aug 2021
Hello MATLAB community,
I am using the Factor Analysis in MATLAB, I would to identifying the each variable in biplot of lambda and factor, like that:
%Example help MATLAB Factor Analysis
X = [Acceleration Displacement Horsepower MPG Weight];
X = X(all(~isnan(X),2),:);
[Lambda,Psi,T,stats,F] = factoran(X,2,'scores','regression');
inv(T'*T); % Estimated correlation matrix of F, == eye(2)
Lambda*Lambda' + diag(Psi); % Estimated correlation matrix
Lambda*inv(T); % Unrotate the loadings
F*T';
biplot(Lambda,'LineWidth',2,'MarkerSize',20)
I would to identifying each circle with the name of variable in the biplot,
How I can made this?
Thank you,
Guilherme Lopes

Answers (0)

This question is closed.

Community Treasure Hunt

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

Start Hunting!