Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

Simmetry constraints in multivariate regression.

1 Ansicht (letzte 30 Tage)
Mario
Mario am 24 Jan. 2025
Geschlossen: John D'Errico am 25 Jan. 2025
Hi everyone! I wanted to know if there is the possibility of doing a multivariate regression, forcing the resulting matrix to be symmetrical.

Antworten (1)

John D'Errico
John D'Errico am 24 Jan. 2025
Bearbeitet: John D'Errico am 24 Jan. 2025
Sure. In fact, I can think of at least 3 ways to do so, almost trivially.
  1. Just estimate the upper (or lower half) of the matrix. Then copy the upper part into the lower part. It is now symmetrical by force.
  2. If your question really is that you want your matri to be SPD (Symmetric & Positive Definite) then estimate what amounts to a Cholesky factor of the matrix, then use that factor to recover the complete matrix, which will now be SPD, again by force.
  3. Finally, symmetriy as a constraint can easily be enforced in terms of linear equality constraints. And almost any of the optimizers in the optimiization or global optimization tools offer linear equality constraints. You do not want to try to force a matrix to be SPD using constraints however. Do that by use of the Cholesky factor trick I mention in #2

Diese Frage ist geschlossen.

Tags

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by