pub struct ConfoundedIrm {
pub n_obs: usize,
pub theta: f64,
pub gamma_a: f64,
pub beta_a: f64,
pub linear: bool,
pub dim_x: usize,
pub trimming_threshold: f64,
pub var_eps_y: f64,
}Expand description
A binary treatment with an unobserved confounder A, as
make_confounded_irm_data (Sant’Anna and Zhao covariates), with oracle
confounding strengths for sensitivity analysis.
Fields§
§n_obs: usize§theta: f64§gamma_a: f64§beta_a: f64§linear: bool§dim_x: usize§trimming_threshold: f64§var_eps_y: f64Implementations§
Source§impl ConfoundedIrm
impl ConfoundedIrm
pub fn generate(&self, seed: u64) -> Result<ConfoundedIrmSimulated>
Trait Implementations§
Source§impl Clone for ConfoundedIrm
impl Clone for ConfoundedIrm
Source§impl Debug for ConfoundedIrm
impl Debug for ConfoundedIrm
Source§impl Default for ConfoundedIrm
impl Default for ConfoundedIrm
Source§impl PartialEq for ConfoundedIrm
impl PartialEq for ConfoundedIrm
impl StructuralPartialEq for ConfoundedIrm
Auto Trait Implementations§
impl Freeze for ConfoundedIrm
impl RefUnwindSafe for ConfoundedIrm
impl Send for ConfoundedIrm
impl Sync for ConfoundedIrm
impl Unpin for ConfoundedIrm
impl UnsafeUnpin for ConfoundedIrm
impl UnwindSafe for ConfoundedIrm
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