hth autocovariance
γt,h=E[(Yt-E(Yt))(Yt-h-E(Yt-h))]
Long run mean of AR(1)
(https://www.daowen.com)
Long run mean of AR(P)
Box-Pierce Statistic and Ljung-Box Statistic