hi,
I want to create a pseudo out of sample forecast with a VEC model. But I don't know, how I can save the forecasted values...
Here is a try:
'set sample to modified range
smpl 1994Q3 2010Q1
'define range of pseudo-out-of-sample forecasts (number of periods)
for !horizon=1 to 20
'define sample for initial estimation (automatic update)
smpl 1994Q3 2004Q4+!horizon-1
'define regression
var macro1.ec 1 1 ln_bra_bip ln_oilprice
'define first period for poos forecast (automatic update)
smpl 2005Q1+!horizon-1 2005Q1+!horizon-1
How can I create the forecast and save the estimated values in a vector?
next
pseudo out of sample with VECM?
Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13603
- Joined: Tue Sep 16, 2008 5:38 pm
Re: pseudo out of sample with VECM?
To forecast from a VAR you'll have to make it into a model, then solve the model over the period you wish to forecast.
Who is online
Users browsing this forum: No registered users and 2 guests
