Time Series Analysis Package
Example
This example uses the TSMODEL procedure to compute the autocorrelation of lag 3 of the time series Air:
proc tsmodel data=mycas.air outscalar=mycas.outscalars
outarray=mycas.outarray;
id date interval=month;
var air;
outscalars mu;
outarrays acf acov lags df acfstd;
require tsa;
submit;
declare object TSA(tsa);
rc=TSA.ACF(air, 3, lags, df, mu, acov, acf, acfstd, , , , );
endsubmit;
run;
Copyright © SAS Institute Inc. All rights reserved.
Last updated: June 14, 2018