How to store output from repeated AR-GARCH estimation in a for loop
조회 수: 1 (최근 30일)
이전 댓글 표시
Hi Guys,
I am fairly new to Matlab. I am struggling to figure out a way to save the output from an ARIMA estimation for multiple series. I have browsed the forums for possible hints, but I am unable to see the light. Following is the command I am trying to run
Mdl = arima('ARLags',1,'D',1,'Variance',garch(1,1));
for i = 1:11
estimate(Mdl,Yields(:,i))
end
As you can see, I am basically estimating an AR(1) model for the mean equation, and GARCH(1,1) model for the variance equation. My data consists of bond yields for 11 different countries. Ideally, I would like to store the coefficient estimates for the AR(1) and GARCH(1,1) for all series along with the respective residuals and variance estimates. I would really appreciate if anyone can help me figure out an efficient way to perform this.
Thanks!
댓글 수: 0
답변 (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!