pub struct RdOptions {Show 16 fields
pub p: usize,
pub q: Option<usize>,
pub kernel: Kernel,
pub bwselect: BwSelect,
pub vce: Vce,
pub nnmatch: usize,
pub level: f64,
pub masspoints: MassPoints,
pub bwcheck: Option<usize>,
pub bwrestrict: bool,
pub stdvars: bool,
pub scaleregul: f64,
pub sharpbw: bool,
pub rho: Option<f64>,
pub scalepar: f64,
pub covs_drop: bool,
}Expand description
Options of rd_bandwidths and rd_estimate, with rdrobust’s
defaults.
Fields§
§p: usizePolynomial order of the point estimate (default 1).
q: Option<usize>Polynomial order of the bias correction (default p + 1).
kernel: Kernel§bwselect: BwSelect§vce: Vce§nnmatch: usizeMinimum number of neighbours for Vce::Nn (default 3).
level: f64Confidence level of the intervals (default 0.95).
masspoints: MassPoints§bwcheck: Option<usize>Minimum number of distinct running-variable values in the pilot bandwidths (default: none, or 10 with detected mass points).
bwrestrict: boolRestrict bandwidths to the range of the running variable (default true).
stdvars: boolStandardise the outcome and running variable for bandwidth selection (default true).
scaleregul: f64Scale of the regularisation term of the bandwidth selectors (default 1).
sharpbw: boolFuzzy design with the bandwidth selector of the sharp design (also used when the treatment does not vary on one side).
rho: Option<f64>Bias bandwidth b = h / rho (default: selected separately).
scalepar: f64Multiplier of the estimate (default 1).
covs_drop: boolDrop collinear covariates (default true).
Trait Implementations§
impl StructuralPartialEq for RdOptions
Auto Trait Implementations§
impl Freeze for RdOptions
impl RefUnwindSafe for RdOptions
impl Send for RdOptions
impl Sync for RdOptions
impl Unpin for RdOptions
impl UnsafeUnpin for RdOptions
impl UnwindSafe for RdOptions
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
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> ⓘ
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 more