Am 09.12.2016 um 00:39 schrieb George Matysiak:
I have an independent time series variable x for which I would like
to
vary future input values in order to make forecasts - scenario type
forecasts. So, if I want to forecast four, say, future values of the
dependent variable what would the best way to add the four data values
of x into my script?
dataset addobs 4
sounds good
scalar x?
why scalar? No, you want to extend an already existing series with these
scenario values. So maybe save the different scenario paths under
(series) names x1, x2, etc., and then for each scenario do something
like (with pre-defined forecast sample start end end obs):
smpl fcstart fcstop
x = x1 # or x2, ...
smpl estimstart estimstop # perhaps redundant; have to be defined before
fcast fcstart fcstop
hth,
sven