#[non_exhaustive]pub struct LinregressResult {
pub slope: f64,
pub intercept: f64,
pub rvalue: f64,
pub pvalue: f64,
pub stderr: f64,
pub intercept_stderr: f64,
}Expand description
The result of linregress.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.slope: f64§intercept: f64§rvalue: f64Pearson’s correlation coefficient.
pvalue: f64Two-sided p-value for the hypothesis that the slope is zero (t-test, n − 2 degrees of
freedom).
stderr: f64Standard error of the slope.
intercept_stderr: f64Trait Implementations§
Source§impl Clone for LinregressResult
impl Clone for LinregressResult
impl Copy for LinregressResult
Source§impl Debug for LinregressResult
impl Debug for LinregressResult
Source§impl PartialEq for LinregressResult
impl PartialEq for LinregressResult
impl StructuralPartialEq for LinregressResult
Auto Trait Implementations§
impl Freeze for LinregressResult
impl RefUnwindSafe for LinregressResult
impl Send for LinregressResult
impl Sync for LinregressResult
impl Unpin for LinregressResult
impl UnsafeUnpin for LinregressResult
impl UnwindSafe for LinregressResult
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