I am forecasting monthly data each month and would like to combine the forecast observations with the actual observations for the out of sample period (add 2012M8 forecast, say, to a series ending 2012M7) automatically. At present I do this manually, using the "fill" command, but that requires specifying the data to begin the fill. Is there a way of specifying the "o" option in fill in a way that automatically finds the last non-missing observation in the actual series and begins the fill from there (the date value of @last for the actual series plus one should do it, but I can't figure out the syntax)? What am I missing?
Should I use @recode()? If so, how?
Some other method? Thanks!!
Combining actual and forecast data in one series
Moderators: EViews Gareth, EViews Steve, EViews Moderator, EViews Jason
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13604
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Combining actual and forecast data in one series
By default when you perform a forecast, EViews will fill in the actual values for any periods that are not in the forecast sample.
-
EViews Glenn
- EViews Developer
- Posts: 2682
- Joined: Wed Oct 15, 2008 9:17 am
Re: Combining actual and forecast data in one series
Notice Gareth says, by default. You may explicitly ask EViews to fill the out-of-forecast-sample values with NAs.
Re: Combining actual and forecast data in one series
Resetting the sample forecast period does the trick. Thanks!
Who is online
Users browsing this forum: No registered users and 2 guests
