FGLS innovations covariance estimator

1 回表示 (過去 30 日間)
Fernando Cardoso
Fernando Cardoso 2019 年 5 月 2 日
回答済み: Balaji 2023 年 11 月 7 日
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 Center および File ExchangeConditional Mean Models についてさらに検索

タグ

製品


リリース

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by