module GSL::Stats
Defined in:
gsl/maths/statistics/correlation.crClass Method Summary
-
.correlation(vector1 : GSL::Vector, vector2 : GSL::Vector)
computes the Pearson correlation coefficient between the datasets
vector1andvector2which must both be of the same length. -
.spearman(vector1 : GSL::Vector, vector2 : GSL::Vector)
computes the Spearman rank correlation coefficient between the datasets
vector1andvector2which must both be of the same length.
Class Method Detail
computes the Pearson correlation coefficient between the datasets vector1 and vector2 which must both be of the same length.
computes the Spearman rank correlation coefficient between the datasets vector1 and vector2 which must both be of the same length.