pub fn ljung_box(acf: &[f64], n: usize, h: usize) -> f64
Ljung-Box test statistic for autocorrelation up to lag h. acf[0..h] are sample autocorrelations (from lag 1).