The RSQ function calculates the square of the Pearson product moment correlation coefficient (see PEARSON). The formula is equivalent to:
SQR(PEARSON(array_x, array_y)
See also:
Other statistical functions