pub struct AposFit { /* private fields */ }Expand description
Fitted Apos: the average potential outcome of every level, with joint
inference, and contrasts between levels.
Implementations§
Source§impl AposFit
impl AposFit
pub fn levels(&self) -> &[f64]
Sourcepub fn causal_contrast(&self, reference_levels: &[f64]) -> Result<DmlFit>
pub fn causal_contrast(&self, reference_levels: &[f64]) -> Result<DmlFit>
Average effects of each level against each reference level,
θ(d) − θ(d_ref), named "d vs d_ref", as DoubleML’s
causal_contrast: for every reference level in turn, all levels not yet
used as a reference. Inference accounts for the correlation between the
estimates; sensitivity analysis combines the elements of both levels
(average σ², summed ν²), as DoubleML.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AposFit
impl RefUnwindSafe for AposFit
impl Send for AposFit
impl Sync for AposFit
impl Unpin for AposFit
impl UnsafeUnpin for AposFit
impl UnwindSafe for AposFit
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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