pub struct LinearFit {
pub slope: f64,
pub intercept: f64,
pub r2: f64,
pub residual_variance: f64,
pub mse_resid: f64,
pub pearson_r: f64,
pub spearman_rho: f64,
pub slope_ci_low: f64,
pub slope_ci_high: f64,
pub sample_count: usize,
}Expand description
Least-squares linear fit with a simple 95% slope confidence interval.
Fields§
§slope: f64§intercept: f64§r2: f64§residual_variance: f64§mse_resid: f64§pearson_r: f64§spearman_rho: f64§slope_ci_low: f64§slope_ci_high: f64§sample_count: usizeTrait Implementations§
Auto Trait Implementations§
impl Freeze for LinearFit
impl RefUnwindSafe for LinearFit
impl Send for LinearFit
impl Sync for LinearFit
impl Unpin for LinearFit
impl UnsafeUnpin for LinearFit
impl UnwindSafe for LinearFit
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