autokovarians
Autokovarians, or autocovariance, is a statistical measure of how a time series values at one time point relate to values at a later time, after removing the mean. For a weakly stationary process X_t with mean mu and finite variance, the autocovariance at lag h is defined as gamma(h) = Cov(X_t, X_{t+h}) = E[(X_t - mu)(X_{t+h} - mu)]. When h = 0, gamma(0) equals the variance of the process.
If the process is stationary, gamma(h) depends only on the lag h, not on the specific time
Examples help illustrate behavior. For white noise, gamma(h) = 0 for all nonzero h. For an AR(1) process
Estimation in samples uses the sample autocovariance gamma_hat(h) = (1/(n-h)) sum_{t=1}^{n-h} (X_t - X_bar)(X_{t+h} - X_bar) if the mean