Follow us on Twitter and LinkedIn to get the latest updates from the dev team!
This function computes the lag-1 autocorrelation of the dataset data.
\[a_1 = {\sum_{i = 2}^{n} (x_{i} - \hat{\mu}) (x_{i-1} - \hat{\mu}) \over \sum_{i = 1}^{n} (x_{i} - \hat{\mu}) (x_{i} - \hat{\mu})}\]
This function computes the lag-1 autocorrelation of the dataset data using the given value of the mean mean.
previous
Higher moments (skewness and kurtosis)
next
Covariance