Azzera filtri
Azzera filtri

sign of coefficients in eig

2 visualizzazioni (ultimi 30 giorni)
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

Risposta accettata

Hans van der Horn
Hans van der Horn il 12 Ago 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!

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by