/*--------------------------------------------------------------

                    SAS Sample Library

        Name: hpfex06.sas
 Description: Example program from SAS Forecast Server
              Procedures User's Guide,
              The HPF Procedure
       Title: Illustration of ODS Graphics
     Product: SAS Forecast Server Procedures Software
        Keys: time series forecast
        PROC: HPF
       Notes:

--------------------------------------------------------------*/

ods graphics on;

proc hpf data=sashelp.air out=_null_
         lead=20
         back=20
         print=all
         plot=all;
   id date interval=month;
   forecast air / model=best transform=auto criterion=mape;
run;