Filter löschen
Filter löschen

FGLS innovations covariance estimator

1 Ansicht (letzte 30 Tage)
Fernando Cardoso
Fernando Cardoso am 2 Mai 2019
Beantwortet: Balaji am 7 Nov. 2023
Can I get the fgls function to return the innovations covariance matrix used in estimation?

Antworten (1)

Balaji
Balaji am 7 Nov. 2023
Hi Fernando,
The `fgls` function does not directly provide the option to return the innovations covariance matrix used in estimation. However, you can compute the innovations covariance matrix manually using the residuals obtained from the `fgls` estimation.
Here's an example of how you can compute the innovations covariance matrix:
Mdl1 = fgls(Mdl, y);
residuals = Mdl1.Residuals.Raw;
innovationsCov = cov(residuals);
Thanks,
Balaji

Kategorien

Mehr zu Conditional Mean Models finden Sie in Help Center und File Exchange

Tags

Produkte


Version

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by