皮爾遜相關係數 r 用兩變數離差乘積之和除以各自離差平方和之積的平方根,衡量線性相關的強度與方向:r 取值 −1 到 1,絕對值越大線性關係越強,符號表示正相關或負相關。r = 0 表示無線性相關。
Enter paired X and Y data to compute the Pearson correlation coefficient r, measuring the strength and direction of a linear relationship, with a significance check.