This function returns the Pearson correlation coefficient between two number sequences.
The two sequences must be of identical size of at least 2.
Parameters
Number sequence |
tabX |
Number sequence |
Mandatory |
Number sequence |
tabY |
Number sequence |
Mandatory |
For example
<#assign tabX = [1.1, 0.5, -5.89]/> <#assign tabY = [2.5, -5.4, 1.23]/> ${ hardisCore.pearsonsCorrelation(tabX, tabY) }