pub enum KpssLags {
Hobijn,
Schwert,
Fixed(usize),
}Expand description
The truncation lag of the Newey-West long-run variance in kpss_test.
Variants§
Hobijn
Hobijn, Franses & Ooms (1998): chosen from the residuals’ own
autocovariances (statsmodels’ default, nlags="auto").
Schwert
Schwert (1989): ⌈12·(n/100)^¼⌉ (statsmodels nlags="legacy").
Fixed(usize)
Exactly this many, below n.
Trait Implementations§
impl Copy for KpssLags
impl Eq for KpssLags
impl StructuralPartialEq for KpssLags
Auto Trait Implementations§
impl Freeze for KpssLags
impl RefUnwindSafe for KpssLags
impl Send for KpssLags
impl Sync for KpssLags
impl Unpin for KpssLags
impl UnsafeUnpin for KpssLags
impl UnwindSafe for KpssLags
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