pub enum PlivVariant {
PartialX,
PartialZ,
PartialXZ,
}Expand description
What Pliv partials out.
Variants§
PartialX
Partial X out of Y, D and every instrument. With several
instruments the treatment residual is projected on the instrument
residuals (two-stage least squares). Learners ml_l (E[Y | X]),
ml_m (E[Z | X], one fit per instrument), ml_r (E[D | X]).
PartialZ
Use E[D | X, Z] (ml_r) as instrument; no other learner.
PartialXZ
Partial out both: ml_m learns E[D | X, Z], ml_r the projection of
its in-sample predictions on X, ml_l learns E[Y | X].
Trait Implementations§
Source§impl Clone for PlivVariant
impl Clone for PlivVariant
impl Copy for PlivVariant
Source§impl Debug for PlivVariant
impl Debug for PlivVariant
Source§impl Default for PlivVariant
impl Default for PlivVariant
impl Eq for PlivVariant
Source§impl PartialEq for PlivVariant
impl PartialEq for PlivVariant
impl StructuralPartialEq for PlivVariant
Auto Trait Implementations§
impl Freeze for PlivVariant
impl RefUnwindSafe for PlivVariant
impl Send for PlivVariant
impl Sync for PlivVariant
impl Unpin for PlivVariant
impl UnsafeUnpin for PlivVariant
impl UnwindSafe for PlivVariant
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