pub struct EffectEstimate {
pub average_treatment_effect: f64,
pub confidence_interval: (f64, f64),
pub sample_size: usize,
}Expand description
Estimated causal effect of an intervention on a single variable.
Fields§
§average_treatment_effect: f64Average Treatment Effect: mean(intervened) - mean(baseline).
confidence_interval: (f64, f64)Percentile-based confidence interval for the ATE.
sample_size: usizeNumber of samples used for the estimate.
Trait Implementations§
Source§impl Clone for EffectEstimate
impl Clone for EffectEstimate
Source§fn clone(&self) -> EffectEstimate
fn clone(&self) -> EffectEstimate
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for EffectEstimate
impl RefUnwindSafe for EffectEstimate
impl Send for EffectEstimate
impl Sync for EffectEstimate
impl Unpin for EffectEstimate
impl UnwindSafe for EffectEstimate
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