如果系数等于 1 或 -1,则所有点都位于一条直线上。如果相关系数为零,则 x 和 y 之间不存在线性关系。然而,这并不一定意味着两个变量之间完全没有关系。例如,可能存在非线性关系。
正相关意味着两个变量向同一方向移动。 x 值越高,y 值越高,反之亦然。
负关系意味着两个变量向相反的方向移动。较低的 x 值对应较高的 y 值,反之亦然。
这里有一些示例:
There are several correlation coefficients. The most commonly used, and the one that is referred to as "the one" is Pearson's product moment correlation.
A correlation coefficient shows the degree of linear dependence of x and y. In other words, the coefficient shows how close two variables lie along a line.
If the coefficient is equal to 1 or -1, all the points lie along a line. If the correlation coefficient is equal to zero, there is no linear relation between x and y. however, this does not necessarily mean that there is no relation at all between the two variables. There could e.g. be a non-linear relation.
A positive relationship means that the two variables move into the same direction. A higher value of x corresponds to higher values of y, and vice versa.
A negative relationship means that the two variables move into the opposite directions. A lower value of x corresponds to higher values of y, and vice versa.
发布评论
评论(1)
有几个相关系数。最常用且被称为“唯一”的一种是皮尔逊乘积矩相关性。
相关系数显示 x 和 y 的线性相关程度。换句话说,该系数显示两个变量沿一条线的接近程度。
如果系数等于 1 或 -1,则所有点都位于一条直线上。如果相关系数为零,则 x 和 y 之间不存在线性关系。然而,这并不一定意味着两个变量之间完全没有关系。例如,可能存在非线性关系。
正相关意味着两个变量向同一方向移动。 x 值越高,y 值越高,反之亦然。
负关系意味着两个变量向相反的方向移动。较低的 x 值对应较高的 y 值,反之亦然。
这里有一些示例:
There are several correlation coefficients. The most commonly used, and the one that is referred to as "the one" is Pearson's product moment correlation.
A correlation coefficient shows the degree of linear dependence of x and y. In other words, the coefficient shows how close two variables lie along a line.
If the coefficient is equal to 1 or -1, all the points lie along a line. If the correlation coefficient is equal to zero, there is no linear relation between x and y. however, this does not necessarily mean that there is no relation at all between the two variables. There could e.g. be a non-linear relation.
A positive relationship means that the two variables move into the same direction. A higher value of x corresponds to higher values of y, and vice versa.
A negative relationship means that the two variables move into the opposite directions. A lower value of x corresponds to higher values of y, and vice versa.
Here you have a handful of examples: