![]() |
|
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
![]()
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.
![]() |