pub struct Bootstrap { /* private fields */ }Expand description
Bootstrap distribution of the t-statistics of a DmlFit.
Keeps its own copy of the per-repetition estimates (small (k, n_rep)
arrays), so it is independent of the fit it came from.
Implementations§
Source§impl Bootstrap
impl Bootstrap
Sourcepub fn t_stats(&self) -> ArrayView3<'_, f64>
pub fn t_stats(&self) -> ArrayView3<'_, f64>
Bootstrapped t-statistics, shape (n_boot, k, n_rep).
Sourcepub fn critical_values(&self, level: f64) -> Result<Array1<f64>>
pub fn critical_values(&self, level: f64) -> Result<Array1<f64>>
Per-repetition critical values: the level quantile of max_j |t*_j|.
Sourcepub fn joint_confint(&self, level: f64) -> Result<Array2<f64>>
pub fn joint_confint(&self, level: f64) -> Result<Array2<f64>>
Simultaneous confidence intervals covering all treatments jointly at
level, shape (k, 2).
Sourcepub fn romano_wolf(&self) -> Array1<f64>
pub fn romano_wolf(&self) -> Array1<f64>
Romano–Wolf step-down adjusted p-values (median over repetitions).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Bootstrap
impl RefUnwindSafe for Bootstrap
impl Send for Bootstrap
impl Sync for Bootstrap
impl Unpin for Bootstrap
impl UnsafeUnpin for Bootstrap
impl UnwindSafe for Bootstrap
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