pub enum AdfLags {
Aic {
max: Option<usize>,
},
Fixed(usize),
}Expand description
How adf_test chooses the number of lagged differences.
Variants§
Aic
The count from 0 to max with the smallest AIC, every candidate fitted
on the same observations (those the largest count leaves), then the
chosen count refitted on all the observations it leaves. max None
is Schwert’s rule, ⌊12·(n/100)^¼⌋, capped at n / 3.
Fixed(usize)
Exactly this many.
Trait Implementations§
impl Copy for AdfLags
impl Eq for AdfLags
impl StructuralPartialEq for AdfLags
Auto Trait Implementations§
impl Freeze for AdfLags
impl RefUnwindSafe for AdfLags
impl Send for AdfLags
impl Sync for AdfLags
impl Unpin for AdfLags
impl UnsafeUnpin for AdfLags
impl UnwindSafe for AdfLags
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