pub struct KalmanResult {
pub level: Series,
pub slope: Series,
pub innovation_variance: Series,
pub kalman_gain: Series,
pub normalized_innovation: Series,
}Expand description
Kalman filter result containing all five output series.
Fields§
§level: SeriesFiltered price level.
slope: SeriesTrend direction and strength.
innovation_variance: SeriesPrediction error variance — low = trending, high = choppy.
kalman_gain: SeriesAdaptation speed (level component of Kalman gain, bounded [0, 1]).
normalized_innovation: SeriesInnovation divided by sqrt(innovation_variance) — regime separation signal.
Implementations§
Trait Implementations§
Source§impl Clone for KalmanResult
impl Clone for KalmanResult
Source§fn clone(&self) -> KalmanResult
fn clone(&self) -> KalmanResult
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for KalmanResult
impl Debug for KalmanResult
Source§impl PartialEq for KalmanResult
impl PartialEq for KalmanResult
impl Eq for KalmanResult
impl StructuralPartialEq for KalmanResult
Auto Trait Implementations§
impl Freeze for KalmanResult
impl RefUnwindSafe for KalmanResult
impl Send for KalmanResult
impl Sync for KalmanResult
impl Unpin for KalmanResult
impl UnsafeUnpin for KalmanResult
impl UnwindSafe for KalmanResult
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