pub struct KpssResult {
pub statistic: f64,
pub n_lags: usize,
pub p_value: f64,
pub p_value_bound: KpssPValue,
pub critical_values: [f64; 4],
pub rejected: [bool; 4],
}Expand description
Result of the KPSS stationarity test.
Fields§
§statistic: f64The KPSS statistic η / σ̂² (Kwiatkowski et al. 1992, eq. 11).
n_lags: usizeThe truncation lag of the long-run variance.
p_value: f64p-value, linearly interpolated in the table of critical values and
clamped to [0.01, 0.10] — see KpssResult::p_value_bound.
p_value_bound: KpssPValueWhether p_value is interpolated or a bound of the table.
critical_values: [f64; 4]Critical values at 10 %, 5 %, 2.5 % and 1 % (Kwiatkowski et al. 1992, Table 1).
rejected: [bool; 4]statistic > critical_value at each of those levels: stationarity is rejected.
Trait Implementations§
Source§impl Clone for KpssResult
impl Clone for KpssResult
Auto Trait Implementations§
impl Freeze for KpssResult
impl RefUnwindSafe for KpssResult
impl Send for KpssResult
impl Sync for KpssResult
impl Unpin for KpssResult
impl UnsafeUnpin for KpssResult
impl UnwindSafe for KpssResult
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