Previous Page | Next Page

The TIMESERIES Procedure

SEASON Statement

SEASON statistics < / options > ;
A SEASON statement can be used with the TIMESERIES procedure to specify options that are related to seasonal analysis of the time-stamped transactional data. Only one SEASON statement is allowed. The options specified affect all variables specified in the VAR statements. Seasonal analysis can be performed only when the length of the seasonal cycle specified by the PROC TIMESERIES statement SEASONALITY= option or implied by the ID statement INTERVAL= option is greater than one.

The following seasonal statistics are available:

NOBS

number of observations

N

number of nonmissing observations

NMISS

number of missing observations

MINIMUM

minimum value

MAXIMUM

maximum value

RANGE

range value

SUM

summation value

MEAN

mean value

STDDEV

standard deviation

CSS

corrected sum of squares

USS

uncorrected sum of squares

MEDIAN

median value

If none of the season statistics are specified, the default is as follows:

   season n min max mean std;

The following option can be specified in the SEASON statement following the slash (/):

TRANSPOSE= NO | YES

TRANSPOSE=YES specifies that the OUTSEASON= data set be recorded with the seasonal indices as the column names instead of with the statistics as the column names. The TRANSPOSE=NO option is useful for graphing the seasonal analysis results with SAS/GRAPH procedures. The TRANSPOSE=YES option is useful for analyzing the seasonal analysis results using other SAS procedures or SAS Enterprise Miner. The default is TRANSPOSE=NO.

Previous Page | Next Page | Top of Page