pub struct TwoFold {
pub unexplained: f64,
pub explained: f64,
pub gap: f64,
}Expand description
Two-fold (“pooled”) Blinder-Oaxaca decomposition of the mean gap.
Fields§
§unexplained: f64Effect attributable to differences in coefficients (and the constant), i.e. the part not explained by the covariate endowments.
explained: f64Effect attributable to differences in covariate endowments.
gap: f64The raw mean gap ȳ_f − ȳ_s (non-negative after the group swap).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TwoFold
impl RefUnwindSafe for TwoFold
impl Send for TwoFold
impl Sync for TwoFold
impl Unpin for TwoFold
impl UnsafeUnpin for TwoFold
impl UnwindSafe for TwoFold
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