
DATASET ACTIVATE Conjunto_de_datos2.

* Gráficos de secuencia.
TSPLOT VARIABLES=P_CACAO_MES
  /NOLOG
  /FORMAT NOFILL NOREFERENCE.

ACF VARIABLES=P_CACAO_MES
  /NOLOG
  /MXAUTO 36
  /SERROR=IND
  /PACF.

ACF VARIABLES=P_CACAO_MES
  /NOLOG
  /SDIFF=1
  /MXAUTO 36
  /SERROR=IND
  /PACF.


ACF VARIABLES=P_CACAO_MES
  /NOLOG
  /MXAUTO 36
  /SERROR=IND
  /PACF.

ACF VARIABLES=P_CACAO_MES
  /NOLOG
  /SDIFF=1
  /MXAUTO 36
  /SERROR=IND
  /PACF.

PREDICT THRU END.
* Modelizador de series temporales.
TSMODEL
   /MODELSUMMARY  PRINT=[MODELFIT]
   /MODELSTATISTICS  DISPLAY=YES MODELFIT=[ SRSQUARE]
   /MODELDETAILS  PRINT=[ PARAMETERS]  PLOT=[ RESIDACF RESIDPACF]
   /SERIESPLOT OBSERVED FORECAST
   /OUTPUTFILTER DISPLAY=ALLMODELS
   /AUXILIARY  CILEVEL=95 MAXACFLAGS=24
   /MISSING USERMISSING=EXCLUDE
   /MODEL DEPENDENT=P_CACAO_MES
      PREFIX='Modelo'
   /ARIMA AR=[1]  DIFF=0  MA=[1]  ARSEASONAL=[0]  DIFFSEASONAL=1  MASEASONAL=[1]
      TRANSFORM=NONE  CONSTANT=YES
   /AUTOOUTLIER DETECT=ON  TYPE=[ADDITIVE LEVELSHIFT SEASONALADDITIVE].

