GARCH detrend return data

Dear All,
I am trying to GARCH detrend return data, that is, as my series exhibits conditional heteroscedasdcity I want to take it out, in order to have stationary data. Let "archtimeseries" be a vector of about 4000 observations of returns for a company.
Mdl = garch(1,1);
EstMdl = estimate(Mdl,archtimeseries);
variance = infer(EstMdl,archtimeseries);
archtimeseries = archtimeseries./sqrt(variance);
But Matlab returns HUGE standard errots (10^5-10^12) and warns that:
Warning: Linear inequality constraints are active; standard errors may be inaccurate.
Did anyone ever run into this problem and knows a solution?
thanks in advance!

답변 (0개)

카테고리

도움말 센터File Exchange에서 Conditional Variance Models에 대해 자세히 알아보기

질문:

2016년 5월 29일

Community Treasure Hunt

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

Start Hunting!

Translated by