필터 지우기
필터 지우기

Why would vgxsim and vgxpred yield different forecasts?

조회 수: 2 (최근 30일)
Hector
Hector 2014년 1월 2일
답변: Hang Qian 2014년 3월 30일
I have estimated a VAR(2) model and need to forecast 6 variables, which can be easily done with vgxpred. I also used vgxsim to verify that the mean path was equal to the deterministic forecast obtained by vgxpred. Why would vgxsim and vgxpred yield different forecasts (i.e.the mean paths of the simulation are different from the deterministic forecast)?
Thanks!

답변 (1개)

Hang Qian
Hang Qian 2014년 3월 30일
I think vgxsim and vgxpred will produce the same forecasts as long as the presample values are specified. For a VAR(p) model, vgxpred forecasts future variables conditional on the most recent p observations, while vgxsim simulates variables conditional on p presample values. For example, If the data Y serve as both observations for vgxpred and presample values for vgxsim, they should produce similar forecasts:
load Data_VARMA22
Yf = vgxpred(Spec, 5, [], Y);
Ysim = vgxsim(Spec,5,[],Y,[],10000);
Then mean(Ysim,3) is supposed to be very close to Yf.

카테고리

Help CenterFile Exchange에서 Detect and Diagnose Faults에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by