Skip to main content

pacf

Function pacf 

Source
pub fn pacf(data: &[f64], max_lag: usize) -> Vec<f64>
Expand description

Partial autocorrelation function (PACF) using the Yule-Walker equations.

Returns a vector of length max_lag + 1 where index 0 is always 1.0 and index 1 equals acf(data, 1)[1].