pub struct CorrelationResult {
pub r: f64,
pub p_value: f64,
pub n: usize,
}Expand description
Result of a correlation computation.
Fields§
§r: f64Correlation coefficient in [-1, 1].
p_value: f64Two-tailed p-value for testing H₀: ρ = 0.
n: usizeSample size.
Trait Implementations§
Source§impl Clone for CorrelationResult
impl Clone for CorrelationResult
Source§fn clone(&self) -> CorrelationResult
fn clone(&self) -> CorrelationResult
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CorrelationResult
impl Debug for CorrelationResult
impl Copy for CorrelationResult
Auto Trait Implementations§
impl Freeze for CorrelationResult
impl RefUnwindSafe for CorrelationResult
impl Send for CorrelationResult
impl Sync for CorrelationResult
impl Unpin for CorrelationResult
impl UnsafeUnpin for CorrelationResult
impl UnwindSafe for CorrelationResult
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