Calculates the sample autocorrelation function of a stationary
time series.
Syntax
TS_AUTOCORRELATION (timeseries_expression, lagmax, lag_elem)
OVER (window-spec)
Note: This function is available only with RAP – The Trading Edition Enterprise. See
the Time Series Guide for detailed information on this function.