Skip to main content

pearson_correlation

Function pearson_correlation 

Source
pub fn pearson_correlation(
    x: &[f64],
    y: &[f64],
) -> Result<f64, CointegrationMathError>
Expand description

Pearson correlation coefficient between two series.