On Jueves, 3 de Septiembre de 2009 12:27:49 Ignacio Diaz-Emparanza escribió:
On Jueves, 3 de Septiembre de 2009 01:42:32 Wolfgang Polasek
escribió:
> After ARIMA:
> Is there a trick to save the forecast e.g. from 2010 to 2015 after the
> observed data until 2009?Thanks Wolf
Using the GUI you may do what you want by clicking over the "+" icon in the
text results window.
If you are running a script you can do as in the following example:
<script>
open data3-6.gdt
arima 1 0 0 ; 1 --x-12-arima
addobs 4
fcast Ct
smpl 1995 ;
series Ctpred=Ct
smpl --full
</script>
Or also:
<script>
open data3-6.gdt
arima 1 0 0 ; 1 --x-12-arima
addobs 4
fcast Ct
series Ctpred=Ct*(obs>1994)+NA*(obs<=1994)
</scrip>
--
Ignacio Diaz-Emparanza
DEPARTAMENTO DE ECONOMÍA APLICADA III (ECONOMETRÍA Y ESTADÍSTICA)
UPV/EHU
Avda. Lehendakari Aguirre, 83 | 48015 BILBAO
T.: +34 946013732 | F.: +34 946013754
www.et.bs.ehu.es