Why my biplot shows opposite values in component 1?

4 次查看(过去 30 天)
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

采纳的回答

Afiq Azaibi
Afiq Azaibi 2017-3-23
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."

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Dimensionality Reduction and Feature Extraction 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by