Navigation
Synopsis Pearson product-moment correlation coefficient.
Function num PearsonsCorrelation(lrel[num x,num y] values)
Usage import analysis::statistics::Correlation;
Description Compute the Pearson product-moment correlation coefficient. It is a measure of the strength of the linear dependence between two variables.
Pitfalls Pearson's correlation can only be applied when there is a linear dependence between the two variables. Use SpearmansCorrelation when there is a monotonous dependence between the two variables.
Is this page unclear, or have you spotted an error? Please add a comment below and help us to improve it. For all other questions and remarks, visit ask.rascal-mpl.org.