Definition For a realization z1,z2,…,zn, the sample autocorrelation at lag k is estimated as: rk=∑t=1n(zt−zˉ)2∑t=k+1n(zt−zˉ)(zt−k−zˉ) where zˉ is the sample mean.