GARCH specification, Error when computing Estimates
显示 更早的评论
Hey everyone,
I am recently encountering many problems with my implementation of a GARCH(1,1) model and I do not know how to solve them:
My data consists of returns (with no NaN Values) and I am performing rolling regressions on a 60 month basis. So the return column vector I create is of the form (1,60) for each asset.
I now define my GARCH model:
Mdl = egarch(1,1);
and now when I try to estimate the model using the data I unfortunately cannot move forward:
EstMdl = estimate(Mdl,return_vector);
as MATLAB returns the error message:
Estimated GARCH model is invalid.
Caused by: Error using garch/validateModel (line 782) Non-zero degree P requires a non-zero degree Q.
It also does not work when de-meaning my data and I am seriously stuck with this for quite a while now..
I really appreciate any help!
Thanks already!
EDIT: I guess I could even provide more info on my data:
I found this piece of code online which works perfectly:
load Data_MarkPound
r = price2ret(Data);
pR = 100*r;
T = length(r);
Mdl = garch(1,1);
EstMdl = estimate(Mdl,pR);
now, the only difference in my opinion is the length of the returns (and the fact that they have been created with the price2ret function and mine are directly from CRSP) now, the data of one of the stocks that I have issues with are as follows:

EDIT2:
I have now noticed that for some assets the GARCH estimation works, however it delivers unplausible results such as ARCH and GARCH values of -0.6 and -0.6. Also in the cases where the GARCH model does not work, I am able to use a eGARCH. This as well delivers disillusional results as above.
I have come to the conclusion, that my returns need to be transformed somehow, but I do not know what the exact problem is....
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Conditional Variance Models 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!