Clear Filters
Clear Filters

GARCH detrend return data

1 view (last 30 days)
roblocks
roblocks on 29 May 2016
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!

Answers (0)

Categories

Find more on Conditional Variance Models in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!