Find the FPE of a VAR model

3 次查看(过去 30 天)
Nic Whitman
Nic Whitman 2021-3-26
I am trying to find the optimal lag of a VAR model using the FPE. I am using the varm() command which creates a '1x1 varm' object as output. I am able to extract both the AIC and BIC from this object, but it does not calculate the FPE. Is there a way to find the FPE for an object that doesn't automatically calculate it?
EDIT: THIS IS NOT POSSIBLE. YOU CAN CODE YOUR OWN FPE USING THE COVARIANCE MATRIX PRODUCED BY ESTIMATE OF A VARM OBJECT

回答(1 个)

Mahesh Taparia
Mahesh Taparia 2021-3-31
Hi
You can refer to the 'varm'object functions here. Use 'estimate' method to fit a model to data and 'summarize' to display the estimated result, which will display the error as well. You can have a look at an example here.
  1 个评论
Nic Whitman
Nic Whitman 2021-4-3
The estimate function does not produce the FPE. I figured out how to code it myself.

请先登录,再进行评论。

类别

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

标签

Community Treasure Hunt

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

Start Hunting!

Translated by