pub enum StationarityMethod {
FirstDifference,
SecondDifference,
SeasonalDifference(usize),
LinearDetrend,
PolynomialDetrend(usize),
LogTransform,
BoxCox(Float),
CombinedDifference(usize),
MovingAverageDetrend(usize),
}Expand description
Stationarity transformation methods
Variants§
FirstDifference
First-order differencing: x_t - x_{t-1}
SecondDifference
Second-order differencing: (x_t - x_{t-1}) - (x_{t-1} - x_{t-2})
SeasonalDifference(usize)
Seasonal differencing with specified period
LinearDetrend
Linear detrending using least squares
PolynomialDetrend(usize)
Polynomial detrending with specified degree
LogTransform
Log transformation to stabilize variance
BoxCox(Float)
Box-Cox transformation with lambda parameter
CombinedDifference(usize)
Combined first difference and seasonal difference
MovingAverageDetrend(usize)
Moving average detrending with window size
Trait Implementations§
Source§impl Clone for StationarityMethod
impl Clone for StationarityMethod
Source§fn clone(&self) -> StationarityMethod
fn clone(&self) -> StationarityMethod
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 StationarityMethod
impl Debug for StationarityMethod
Source§impl Default for StationarityMethod
impl Default for StationarityMethod
Source§impl PartialEq for StationarityMethod
impl PartialEq for StationarityMethod
impl Copy for StationarityMethod
impl StructuralPartialEq for StationarityMethod
Auto Trait Implementations§
impl Freeze for StationarityMethod
impl RefUnwindSafe for StationarityMethod
impl Send for StationarityMethod
impl Sync for StationarityMethod
impl Unpin for StationarityMethod
impl UnwindSafe for StationarityMethod
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more