皮尔逊相关系数 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.