pub struct DistDependStat {
pub test_statistic: f64,
pub distance_correlation: f64,
pub distance_covariance: f64,
pub dvar_x: f64,
pub dvar_y: f64,
pub s: f64,
}Expand description
The full battery of distance-dependence statistics for a pair (X, Y).
Fields§
§test_statistic: f64The basic test statistic n · dCov².
distance_correlation: f64The distance correlation dCor(X, Y) in [0, 1].
distance_covariance: f64The distance covariance dCov(X, Y).
dvar_x: f64The distance variance of X, dVar_x.
dvar_y: f64The distance variance of Y, dVar_y.
s: f64S = ā_{··} · b̄_{··}, the product of the grand means of the two
distance matrices (used by the asymptotic test).
Trait Implementations§
Source§impl Clone for DistDependStat
impl Clone for DistDependStat
Source§fn clone(&self) -> DistDependStat
fn clone(&self) -> DistDependStat
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for DistDependStat
impl RefUnwindSafe for DistDependStat
impl Send for DistDependStat
impl Sync for DistDependStat
impl Unpin for DistDependStat
impl UnsafeUnpin for DistDependStat
impl UnwindSafe for DistDependStat
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