pub struct KupiecTest {
pub exceptions: usize,
pub observations: usize,
pub expected: f64,
pub lr_statistic: f64,
pub rejected: bool,
}Expand description
Result of a Kupiec POF likelihood-ratio test.
Fields§
§exceptions: usizeObserved VaR exceptions.
observations: usize§expected: f64Exceptions implied by the VaR level.
lr_statistic: f64Likelihood-ratio statistic (chi-squared with 1 dof under H0).
rejected: boolTrue when the model is rejected at the 95% test level (LR > 3.841).
Trait Implementations§
Source§impl Clone for KupiecTest
impl Clone for KupiecTest
Source§fn clone(&self) -> KupiecTest
fn clone(&self) -> KupiecTest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for KupiecTest
Auto Trait Implementations§
impl Freeze for KupiecTest
impl RefUnwindSafe for KupiecTest
impl Send for KupiecTest
impl Sync for KupiecTest
impl Unpin for KupiecTest
impl UnsafeUnpin for KupiecTest
impl UnwindSafe for KupiecTest
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