Skip to main content

ljung_box

Function ljung_box 

Source
pub fn ljung_box(acf: &[f64], n: usize, h: usize) -> f64
Expand description

Ljung-Box test statistic for autocorrelation up to lag h. acf[0..h] are sample autocorrelations (from lag 1).