How to get GARCH parameters into a vector

My question is fairly simply but i havent been able to find a solultion, how do i automatically save my GARCH model parameter estimates ?
I am using the econometrics toolbox and code similar to
model = garch(0,9);
fit = estimate(model,data);
Because i have to estimate the model 1000 times day after day i figure i could speed up the computation by given the previous days estimates as initial guesses. But how do i get these into a vector ?
Thanks!

回答 (1 件)

Hang Qian
Hang Qian 2014 年 3 月 30 日

0 投票

To save the GARCH estimator as a vector, add a line to the above codes:
estParams = [cell2mat(fit.GARCH), cell2mat(fit.ARCH)];

カテゴリ

ヘルプ センター および File ExchangeConditional Variance Models についてさらに検索

質問済み:

2013 年 4 月 8 日

回答済み:

2014 年 3 月 30 日

Community Treasure Hunt

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

Start Hunting!

Translated by