How to get GARCH parameters into a vector
조회 수: 1 (최근 30일)
이전 댓글 표시
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!
댓글 수: 0
답변 (1개)
Hang Qian
2014년 3월 30일
To save the GARCH estimator as a vector, add a line to the above codes:
estParams = [cell2mat(fit.GARCH), cell2mat(fit.ARCH)];
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Conditional Variance Models에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!