pub struct LplrLzz2020 {
pub n_obs: usize,
pub dim_x: usize,
pub alpha: f64,
pub balanced_r0: bool,
pub treatment: LplrTreatment,
}Expand description
Liu, Zhang and Zhou (2020): a binary outcome with
P(y = 1) = expit(αd + r₀(x)), equicorrelated covariates (0.2) clipped
to [−2, 2]. generate also returns the outcome probabilities.
Fields§
§n_obs: usize§dim_x: usize§alpha: f64§balanced_r0: bool§treatment: LplrTreatmentImplementations§
Trait Implementations§
Source§impl Clone for LplrLzz2020
impl Clone for LplrLzz2020
Source§impl Debug for LplrLzz2020
impl Debug for LplrLzz2020
Source§impl Default for LplrLzz2020
impl Default for LplrLzz2020
Source§impl PartialEq for LplrLzz2020
impl PartialEq for LplrLzz2020
impl StructuralPartialEq for LplrLzz2020
Auto Trait Implementations§
impl Freeze for LplrLzz2020
impl RefUnwindSafe for LplrLzz2020
impl Send for LplrLzz2020
impl Sync for LplrLzz2020
impl Unpin for LplrLzz2020
impl UnsafeUnpin for LplrLzz2020
impl UnwindSafe for LplrLzz2020
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