apaConditionalSerialCorrelation(TimeSeries, ConfidenceLevel)
Excel
=apaConditionalSerialCorrelation(TimeSeries, ConfidenceLevel)Result
Calculates the conditional serial correlation, a fraud indicator, by regressing returns on lagged returns and on lagged returns below the mean. Returns the coefficients and their confidence bounds.
Syntax
TimeSeries: r x 1 data vector containing a time series
ConfidenceLevel: confidence level for the statistical hypothesis tests, e.g. 0.95
Algorithm
OLS estimation of the following regression:
The result consists of the parameter values, t-tests at the given confidence level and p-values.
Remarks
Residual variance is SSE/(n − k), i.e. degrees-of-freedom corrected.
