pub struct SmoothingForecast {
pub step: usize,
pub mean: f64,
pub lower: Option<f64>,
pub upper: Option<f64>,
pub cumulative_mean: f64,
pub cumulative_lower: Option<f64>,
pub cumulative_upper: Option<f64>,
}Expand description
One forecast of a smoother: step periods after the last observation.
Fields§
§step: usizeSteps ahead, from 1.
mean: f64The point forecast.
lower: Option<f64>Lower end of the prediction interval; None when the smoother has no
closed-form interval (multiplicative seasonality) or no one-step errors
to estimate σ from.
upper: Option<f64>Upper end of the prediction interval.
cumulative_mean: f64The point forecast of the total over steps 1..=step.
cumulative_lower: Option<f64>Lower end of the total’s prediction interval (None as for lower).
cumulative_upper: Option<f64>Upper end of the total’s prediction interval.
Trait Implementations§
Source§impl Clone for SmoothingForecast
impl Clone for SmoothingForecast
impl Copy for SmoothingForecast
Source§impl Debug for SmoothingForecast
impl Debug for SmoothingForecast
Source§impl PartialEq for SmoothingForecast
impl PartialEq for SmoothingForecast
impl StructuralPartialEq for SmoothingForecast
Auto Trait Implementations§
impl Freeze for SmoothingForecast
impl RefUnwindSafe for SmoothingForecast
impl Send for SmoothingForecast
impl Sync for SmoothingForecast
impl Unpin for SmoothingForecast
impl UnsafeUnpin for SmoothingForecast
impl UnwindSafe for SmoothingForecast
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more