Performs the lack-of-fit test for a univariate time series
or transfer function, given the appropriate correlation function.
Syntax
TS_LACK_OF_FIT (timeseries_expression, p_value, q_value, lagmax, [tolerance])
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.