#[non_exhaustive]pub enum AnalysisMethod {
Sequential,
Bayesian(BayesianConfig),
}Expand description
How the primary metric is analysed (spec 3.5 §7.12, §13 Q8).
Guardrails always use the sequential test, whatever the primary metric’s method: a breach is a safety stop and does not depend on a prior.
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 with a fixed error budget (the default).
Bayesian(BayesianConfig)
Posterior probabilities, credible intervals and expected loss. It has no type I error guarantee when looked at repeatedly.
Trait Implementations§
Source§impl Clone for AnalysisMethod
impl Clone for AnalysisMethod
impl Copy for AnalysisMethod
Source§impl Debug for AnalysisMethod
impl Debug for AnalysisMethod
Source§impl Default for AnalysisMethod
impl Default for AnalysisMethod
Source§impl<'de> Deserialize<'de> for AnalysisMethod
impl<'de> Deserialize<'de> for AnalysisMethod
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
Source§impl PartialEq for AnalysisMethod
impl PartialEq for AnalysisMethod
Source§impl Serialize for AnalysisMethod
impl Serialize for AnalysisMethod
impl StructuralPartialEq for AnalysisMethod
Auto Trait Implementations§
impl Forget for AnalysisMethod
impl Freeze for AnalysisMethod
impl Move for AnalysisMethod
impl RefUnwindSafe for AnalysisMethod
impl Send for AnalysisMethod
impl Sync for AnalysisMethod
impl Unpin for AnalysisMethod
impl UnsafeUnpin for AnalysisMethod
impl UnwindSafe for AnalysisMethod
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