pub struct VifDetail {
pub variable: String,
pub vif: f64,
pub rsquared: f64,
pub interpretation: String,
}Expand description
Detailed VIF result for a single predictor variable.
Contains the Variance Inflation Factor and associated statistics for one predictor.
§Fields
variable- Name of the predictor variablevif- Variance Inflation Factor (VIF > 10 indicates high multicollinearity)rsquared- R-squared from regressing this predictor on all othersinterpretation- Human-readable interpretation of this VIF value
§Example
use linreg_core::diagnostics::VifDetail;
let detail = VifDetail {
variable: "x1".to_string(),
vif: 1.2,
rsquared: 0.17,
interpretation: "Low multicollinearity".to_string(),
};Fields§
§variable: String§vif: f64§rsquared: f64§interpretation: StringTrait Implementations§
Auto Trait Implementations§
impl Freeze for VifDetail
impl RefUnwindSafe for VifDetail
impl Send for VifDetail
impl Sync for VifDetail
impl Unpin for VifDetail
impl UnsafeUnpin for VifDetail
impl UnwindSafe for VifDetail
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