pub struct FirstPassage {
pub threshold: f64,
pub probability: f64,
pub quantiles: Vec<(f64, Option<f64>)>,
pub paths: usize,
}Expand description
When the forecast total first reaches a level: over simulated futures of
the fitted model (SesResult::first_passage and the
same method of the other additive smoothers).
Fields§
§threshold: f64The level the total over steps 1, 2, … reaches: from below when positive, from above when negative.
probability: f64Share of the simulated futures whose total reaches it within the horizon.
quantiles: Vec<(f64, Option<f64>)>(q, time) for each quantile asked: the time, in steps after the last
observation, by which a share q of the futures has reached the level
– interpolated within the step it is reached in (the total is taken to
grow evenly through a step). None when fewer than that share reach it
within the horizon.
paths: usizeThe number of futures simulated.
Trait Implementations§
Source§impl Clone for FirstPassage
impl Clone for FirstPassage
Source§impl Debug for FirstPassage
impl Debug for FirstPassage
Source§impl PartialEq for FirstPassage
impl PartialEq for FirstPassage
impl StructuralPartialEq for FirstPassage
Auto Trait Implementations§
impl Freeze for FirstPassage
impl RefUnwindSafe for FirstPassage
impl Send for FirstPassage
impl Sync for FirstPassage
impl Unpin for FirstPassage
impl UnsafeUnpin for FirstPassage
impl UnwindSafe for FirstPassage
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