pub fn lag1_autocorrelation_m( data: &[f64], stride: usize, n: usize, mean: f64) -> f64
This function computes the lag-1 autocorrelation of the dataset data using the given value of the mean mean.