Time Series Analysis Package
Example
This example uses the TSMODEL procedure to analyze the frequency of the time series Air:
proc tsmodel data=mycas.air outobj=(of=mycas.outfreq(replace=YES));
var air;
id date interval=month;
require tsa;
submit;
declare object f(FREQ);
declare object of(OUTFREQ);
rc = f.Initialize();
rc = f.SetOption("SEASONALITY",12);
rc = f.SetY(air);
rc = f.Run();
rc = of.Collect(f);
endsubmit;
run;
Copyright © SAS Institute Inc. All rights reserved.
Last updated: June 14, 2018