Time Series Analysis Package
Example
This example uses the TSMODEL procedure to accumulate a monthly time series into a yearly time series:
proc tsmodel data=mycas.air outarray=mycas.outarray;
id date interval=month;
var air;
outarrays yearavg_expand yearid_expand;
require tsa;
submit;
declare object TSA(tsa);
rc=TSA.ACCUMULATE2(date, air, 'YEAR', yearid_expand, yearavg_expand,
'AVERAGE', , );
endsubmit;
run;
Copyright © SAS Institute Inc. All rights reserved.
Last updated: June 14, 2018