FOCUS AREAS

SAS Sample Code



data seriesG;
   set sashelp.air;
   logair = log(air);
run;

ods html style=statistical;
ods graphics on;

proc ucm data = seriesG;
   id date interval = month;
   model logair;
   irregular;
   level;
   slope var = 0 noest;
   season length = 12 type=trig plot=smooth;
   estimate back=24 plot=(acf loess);
   forecast back=12 lead=24 plot=forecasts;
run;

ods graphics off;
ods html close;

Statistics and Operations Research Home Page