Why my biplot shows opposite values in component 1?

6 views (last 30 days)
Hi, I tried to draw biplot for the loadings. But with data like this:
It shows the biplot like this, in which all the component 1 value are *-1.
Although it doesn't change the relative correlation between all the variables. It still bothers me.... Thanks for your kind suggestions! Yiheng

Accepted Answer

Afiq Azaibi
Afiq Azaibi on 23 Mar 2017
As you mentioned, this effect does not change the relative correlation between all variables and this is expected behavior. The following is noted in the documentation:
"Biplot imposes a sign convention, forcing the element with largest magnitude in each column of coefs to be positive. This flips some of the vectors in coefs to the opposite direction, but often makes the plot easier to read. Interpretation of the plot is unaffected, because changing the sign of a coefficient vector does not change its meaning."

More Answers (0)

Categories

Find more on Dimensionality Reduction and Feature Extraction in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!