#[non_exhaustive]pub enum Evidence {
Sequential {
p_value: f64,
z: f64,
critical_z: Option<f64>,
alpha: f64,
},
Bayesian {
probability_variant_better: f64,
expected_loss_adopt: f64,
expected_loss_keep: f64,
decision_probability: f64,
},
}Expand description
The evidence behind the primary metric’s verdict (spec 3.5 §7.12, §13 Q8).
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Sequential
The always-valid sequential test.
Fields
Bayesian
The Bayesian analysis.
Trait Implementations§
impl Copy for Evidence
Source§impl<'de> Deserialize<'de> for Evidence
impl<'de> Deserialize<'de> for Evidence
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Evidence
Auto Trait Implementations§
impl Forget for Evidence
impl Freeze for Evidence
impl Move for Evidence
impl RefUnwindSafe for Evidence
impl Send for Evidence
impl Sync for Evidence
impl Unpin for Evidence
impl UnsafeUnpin for Evidence
impl UnwindSafe for Evidence
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