Struct linregress::RegressionModel [−][src]
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(&self) -> RegressionModel
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for RegressionModel
[src]
Auto Trait Implementations
impl RefUnwindSafe for RegressionModel
impl Send for RegressionModel
impl Sync for RegressionModel
impl Unpin for RegressionModel
impl UnwindSafe for RegressionModel
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
[src]
type Output = T
Should always be Self
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]
SS: SubsetOf<SP>,
pub fn to_subset(&self) -> Option<SS>
[src]
pub fn is_in_subset(&self) -> bool
[src]
pub unsafe fn to_subset_unchecked(&self) -> SS
[src]
pub fn from_subset(element: &SS) -> SP
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,