Sample autocorrelation function (source code)

= Sample autocorrelation function
{title2=$\widehat\rho(h)$}

The sample autocorrelation function replaces the mean and lagged covariance in $\rho(h)$ by their empirical counterparts.