FGLS innovations covariance estimator

Can I get the fgls function to return the innovations covariance matrix used in estimation?

답변 (1개)

Balaji
Balaji 2023년 11월 7일

0 개 추천

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

제품

릴리스

R2018a

태그

질문:

2019년 5월 2일

답변:

2023년 11월 7일

Community Treasure Hunt

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

Start Hunting!

Translated by