Resources

Model Estimation

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

                    SAS Sample Library

        Name: x12ex02.sas
 Description: Example program from SAS/ETS User's Guide,
              The X12 Procedure
       Title: Model Estimation
     Product: SAS/ETS Software
        Keys: seasonal adjustment of time series
        PROC: X12
       Notes:

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

data sales;
   set sashelp.air;
   sales = air;
   date = intnx( 'month', '01sep78'd, _n_-1 );
   format date monyy.;
run;

proc x12 data=sales date=date;
   var sales;
   transform power=0;
   arima model=( (0,1,1)(0,1,1) );
   estimate;
run ;