Why my biplot shows opposite values in component 1?

조회 수: 4 (최근 30일)
Yiheng Du
Yiheng Du 2017년 3월 16일
댓글: Yiheng Du 2017년 3월 23일
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