CovarianceFunction¶
Sample autocovariance of a numeric time series at a given lag,
(1/n) Sum_{t=1}^{n-|h|} (x_t - xbar)(x_{t+|h|} - xbar).
Lag zero is the variance (with the 1/n normalization).
The autocovariance is symmetric, so a negative lag equals its magnitude.