Borrar filtros
Borrar filtros

FGLS innovations covariance estimator

1 visualización (últimos 30 días)
Fernando Cardoso
Fernando Cardoso el 2 de Mayo de 2019
Respondida: Balaji el 7 de Nov. de 2023
Can I get the fgls function to return the innovations covariance matrix used in estimation?

Respuestas (1)

Balaji
Balaji el 7 de Nov. de 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

Categorías

Más información sobre Conditional Mean Models en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by