pub enum Vce {
Nn,
Hc0,
Hc1,
Hc2,
Hc3,
Cr1,
Cr2,
Cr3,
}Expand description
Variance estimator, as rdrobust’s vce. As in rdrobust, the
cluster-robust estimators need cluster labels and the others are switched
to them when labels are given: Nn, Hc0 and Hc1 to Cr1, Hc2 to
Cr2 and Hc3 to Cr3; without labels Cr1, Cr2 and Cr3 fall back
to Hc1, Hc2 and Hc3.
Variants§
Nn
Nearest-neighbour residuals (with at least nnmatch neighbours).
Hc0
Hc1
Hc2
Hc3
Cr1
Cluster-robust with the degrees-of-freedom correction.
Cr2
Bell and McCaffrey (2002) bias-reduced cluster-robust (CRV2).
Cr3
Pustejovsky and Tipton (2018) cluster-robust (CRV3).
Trait Implementations§
impl Copy for Vce
impl Eq for Vce
impl StructuralPartialEq for Vce
Auto Trait Implementations§
impl Freeze for Vce
impl RefUnwindSafe for Vce
impl Send for Vce
impl Sync for Vce
impl Unpin for Vce
impl UnsafeUnpin for Vce
impl UnwindSafe for Vce
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