pub struct AbResult {
pub rate_a: f64,
pub rate_b: f64,
pub difference: f64,
pub z_statistic: f64,
pub p_value: f64,
pub ci: (f64, f64),
pub confidence: f64,
}Expand description
Result of comparing two conversion rates.
Fields§
§rate_a: f64§rate_b: f64§difference: f64rate_b − rate_a (positive ⇒ B converts better).
z_statistic: f64§p_value: f64Two-sided p-value of “the rates are equal”.
ci: (f64, f64)Confidence interval for the difference rate_b − rate_a.
confidence: f64Trait Implementations§
impl Copy for AbResult
impl StructuralPartialEq for AbResult
Auto Trait Implementations§
impl Freeze for AbResult
impl RefUnwindSafe for AbResult
impl Send for AbResult
impl Sync for AbResult
impl Unpin for AbResult
impl UnsafeUnpin for AbResult
impl UnwindSafe for AbResult
Blanket Implementations§
§impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
Aggregate shares in an MPC protocol.
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more