pub struct RdRobust {
pub coef: [f64; 3],
pub se: [f64; 3],
pub z: [f64; 3],
pub pv: [f64; 3],
pub ci: [[f64; 2]; 3],
pub bws: [[f64; 2]; 2],
}Expand description
Headline rdrobust results, one row per inference method (rows are
Conventional, Bias-Corrected, Robust; ports rdrobust.R:854-863).
The three rows are not three independent estimates. The point estimate
repeats (coef = [tau_cl, tau_bc, tau_bc]: Bias-Corrected and Robust share
tau_bc) and the standard error repeats (se = [se_cl, se_cl, se_rb]:
Conventional and Bias-Corrected share se_cl). z, pv, and ci follow
row-wise from coef and se.
Fields§
§coef: [f64; 3]Point estimates by row: [tau_cl, tau_bc, tau_bc] (Conventional uses the
p-fit estimate; Bias-Corrected and Robust both use the bias-corrected one).
se: [f64; 3]Standard errors by row: [se_cl, se_cl, se_rb] (Conventional and
Bias-Corrected share the conventional SE; Robust uses the CCT robust SE).
z: [f64; 3]z-statistics by row, coef[i] / se[i].
pv: [f64; 3]Two-sided normal p-values by row, 2 * Phi(-|z[i]|).
ci: [[f64; 2]; 3]Confidence intervals by row, each [lower, upper] at level% using the
matching row’s coef and se.
bws: [[f64; 2]; 2]Bandwidths used: rows are h (point estimate) then b (bias correction),
columns are left then right, i.e. [[h_l, h_r], [b_l, b_r]].
Trait Implementations§
impl Copy for RdRobust
impl StructuralPartialEq for RdRobust
Auto Trait Implementations§
impl Freeze for RdRobust
impl RefUnwindSafe for RdRobust
impl Send for RdRobust
impl Sync for RdRobust
impl Unpin for RdRobust
impl UnsafeUnpin for RdRobust
impl UnwindSafe for RdRobust
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
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> ⓘ
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> ⓘ
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 moreSource§impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Scalar for T
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.