pub struct SimpleRdd {
pub n_obs: usize,
pub p: usize,
pub fuzzy: bool,
pub binary_outcome: bool,
pub cutoff: f64,
pub dim_x: usize,
pub a: f64,
pub tau: f64,
}Expand description
A simple RD design (make_simple_rdd_data): a normal score, uniform
covariates entering through polynomials of order p, effect tau at the
cutoff; sharp or fuzzy, with a continuous or binary outcome.
Fields§
§n_obs: usize§p: usize§fuzzy: bool§binary_outcome: bool§cutoff: f64§dim_x: usize§a: f64§tau: f64Implementations§
Trait Implementations§
impl StructuralPartialEq for SimpleRdd
Auto Trait Implementations§
impl Freeze for SimpleRdd
impl RefUnwindSafe for SimpleRdd
impl Send for SimpleRdd
impl Sync for SimpleRdd
impl Unpin for SimpleRdd
impl UnsafeUnpin for SimpleRdd
impl UnwindSafe for SimpleRdd
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