Mathworks Econometrics Example Does Work?

1 次查看(过去 30 天)
Hi,
I'm trying to use the econometrics toolbox to estimate a GARCH(1,1) model, i.e., the example given here:
But it chucking the following errors for me pasting the code to the command window?
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Error using lagmatrix (line 25) lagmatrix: wrong # of input arguments
Error in arima/estimate>arx0 (line 1671) Y = lagmatrix(YData, L(~isnan(AR))) * AR(~isnan(AR));
Error in arima/estimate (line 732) [AR([I1 I2]),beta,constant,variance,residuals] = arx0(obj, YData, XData);

回答(0 个)

类别

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