pub struct AR {
pub p: usize,
pub coeffs: Vec<f64>,
pub intercept: f64,
}
Expand description
Fit the AR(p) model to the data using the Yule-Walker equations.
Given some data, predict the value for a single timestep ahead.
Predict n values ahead. For forecasts after the first forecast, uses previous forecasts as
“data” to create subsequent forecasts.
Formats the value using the given formatter. Read more
Formats the value using the given formatter. Read more
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
Converts the given value to a String
. Read more
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.