[][src]Struct linregress::RegressionModel

pub struct RegressionModel {
    pub parameters: RegressionParameters,
    pub se: RegressionParameters,
    pub ssr: f64,
    pub rsquared: f64,
    pub rsquared_adj: f64,
    pub pvalues: RegressionParameters,
    pub residuals: RegressionParameters,
    pub scale: f64,
}

A fitted regression model.

Is the result of FormulaRegressionBuilder.fit().

If a field has only one value for the model it is given as f64.

Otherwise it is given as a RegressionParameters struct.

Fields

parameters: RegressionParameters

The model's intercept and slopes (also known as betas).

se: RegressionParameters

The standard errors of the parameter estimates.

ssr: f64

Sum of squared residuals.

rsquared: f64

R-squared of the model.

rsquared_adj: f64

Adjusted R-squared of the model.

pvalues: RegressionParameters

The two-tailed p-values for the t-statistics of the params.

residuals: RegressionParameters

The residuals of the model.

scale: f64

A scale factor for the covariance matrix.

Note that the square root of scale is often called the standard error of the regression.

Trait Implementations

impl Clone for RegressionModel[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for RegressionModel[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Same for T

type Output = T

Should always be Self

impl<SS, SP> SupersetOf for SP where
    SS: SubsetOf<SP>,