pub struct RegressionResult<S: Scalar> {
pub coefficients: Vec<S>,
pub r_squared: S,
pub residuals: Vec<S>,
pub std_errors: Vec<S>,
pub p_values: Vec<S>,
}Expand description
Result of a regression analysis.
Fields§
§coefficients: Vec<S>Coefficients: [intercept, slope1, slope2, …].
r_squared: SCoefficient of determination R^2.
residuals: Vec<S>Residuals (y - y_hat).
std_errors: Vec<S>Standard errors of coefficients.
p_values: Vec<S>p-values for each coefficient (two-tailed t-test).
Trait Implementations§
Auto Trait Implementations§
impl<S> Freeze for RegressionResult<S>where
S: Freeze,
impl<S> RefUnwindSafe for RegressionResult<S>where
S: RefUnwindSafe,
impl<S> Send for RegressionResult<S>
impl<S> Sync for RegressionResult<S>
impl<S> Unpin for RegressionResult<S>where
S: Unpin,
impl<S> UnsafeUnpin for RegressionResult<S>where
S: UnsafeUnpin,
impl<S> UnwindSafe for RegressionResult<S>where
S: UnwindSafe,
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