Sunday, October 7, 2007

Use SAS to fit the ARIMA model with the Box-Jenkins methodology

proc arima data=test;
by id
identify var=trend scan;
run;

estimate p=2 q=1 ;
run;

forecast
lead=10 out=predicttrend printall;
run;
quit;

No comments: