CORR inputVector inputVector resultVariable

Replaces the contents of the result variable with the Pearson's product moment correlation coefficient of the two input vectors.

COPY (1.2 2.3 3.4 4.5 5.6) A
COPY (5 6 8 14 20) B
CORR A B C
PRINT C

The above program produces the following output:

C: 0.9523839435224625