FGLS innovations covariance estimator
1 回表示 (過去 30 日間)
古いコメントを表示
Can I get the fgls function to return the innovations covariance matrix used in estimation?
0 件のコメント
回答 (1 件)
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
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Conditional Mean Models についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!