arima estimate error with garch
Ältere Kommentare anzeigen
I am attempting to estimate an arima model using the following data and code and I receive an error that I cannot explain. It says that Q cannot be zero, but it isn't. I have set Q to 1 in the model parameters.
Vacancy = [0.00560410649477194;0.00524853168475042;0.00238308339410447;0.00853974938881424;0.00908073791573352;0.00691790589264439;0.00303000179373218;0.00234702676185684;0.00308768370467530;0.000404948868887228;0.00151098376431826;-0.000719726188241399;0.00358057285276520;-0.000903514492771818;0.000486432830662964;-0.00281521882134218;-0.00194152296552609;-0.000720527452380812;0.000878011283635613;-0.00394684134056665;-0.00164891229969798;-0.00184849694448057;-0.00204229556740551;-0.00174202975109919;-0.000471920351107463;-0.00138653335938199];
N = length(Vacancy);
model = arima('ARLags',1,'Variance',garch(1,1));
fit = estimate(model,Vacancy);
Warning: Lower bound constraints are active; standard errors may be inaccurate.
> In arima.estimate at 1094
Estimated variance model is invalid.
Caused by:
Error using garch/validateModel (line 782)
Non-zero degree P requires a non-zero degree Q.
Akzeptierte Antwort
Weitere Antworten (1)
Karl-Martin
am 16 Mär. 2015
Allthough you did specify Q=1, the parameter can be excluded from the model.
In the 'garch.m' function of the Econometrics toolbox it is stated:
% o The coefficients GARCH and ARCH are each associated with an
% underlying lag operator polynomial and subject to a near-zero
% tolerance exclusion test. That is, each coefficient is compared to
% the default zero tolerance 1e-12, and is included in the model only
% if the magnitude is greater than 1e-12; if the coefficient magnitude
% is less than or equal to 1e-12, then it is sufficiently close to zero
% and excluded from the model. See LagOp for additional details.
So if the Q parameter is too close to zero it is excluded and you end up with an invalid GARCH(1,0) model which leads to the error.
Kategorien
Mehr zu Conditional Mean Models finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!