FGLS innovations covariance estimator

1 次查看(过去 30 天)
Can I get the fgls function to return the innovations covariance matrix used in estimation?

回答(1 个)

Balaji
Balaji 2023-11-7
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

类别

Help CenterFile Exchange 中查找有关 Conditional Mean Models 的更多信息

标签

产品


版本

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by