Effacer les filtres
Effacer les filtres

sign of coefficients in eig

2 vues (au cours des 30 derniers jours)
Hans van der Horn
Hans van der Horn le 11 Août 2022
Dear experts,
I am aware that the coefficients in PCA componentes are arbitrary (and can be flipped which still has the same meaning). However, I am still a little puzzled. Is there a rule or convention behind the signs in eigenvectors in the output of the eig function? (and determining which part of the elements gets which sign?) Does the strength (absolute) values of coefficients have any influence?
Thanks very much for your help,
Best
Hans van der Horn

Réponse acceptée

Hans van der Horn
Hans van der Horn le 12 Août 2022
I'd like to comment on my own question.
I'm analyzing functional MRI data, and extract the first eigenvector from 4D connectivity matrices. I noticed sign flips now and then, that look strange. Now I'm using eigenshuffle.m by John D'Errico, and this tackles the problem. Great code, thanks so much!

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by