The most common and easiest way to display the relationship between two variables, x and y, is a scatter plot. A scatter plot shows the direction of a relationship between the variables. A clear direction happens when there is either:
One can determine the strength of the relationship by looking at the scatter plot and seeing how close the points are to a line, a power function, an exponential function, or to some other type of function. For a linear relationship, there is an exception. Consider a scatter plot where all the points fall on a horizontal line providing a "perfect fit." The horizontal line would, in fact, show no relationship.
When looking at a scatterplot, one must notice the overall pattern and any deviations, if any.
考虑有关房屋价格及其相应地面面积的定量数据。这种具有两个变量的定量数据称为双变量数据。
充当原因的变量称为自变量,而显示响应的另一个变量称为因变量。
可以使用散点图来可视化一个变量对另一个变量的这种依赖性。在这里,自变量 (地面面积) 沿 X 轴表示,因变量 (房屋价格) 沿 Y 轴表示。
标记与地面区域对应的价格。然后,绘制最佳拟合线,使这条线的上方和下方的点数几乎相等。这些点共同构成了标识两个变量之间相关性的模式。
请注意,地面面积的增加会导致房屋价格的上涨。这种增长趋势表示正相关。
相反,如果观察到下降趋势,则表明负相关。没有趋势意味着没有相关性。
Related Videos
Summarizing and Visualizing Data
9.0K 浏览
Summarizing and Visualizing Data
20.7K 浏览
Summarizing and Visualizing Data
7.7K 浏览
Summarizing and Visualizing Data
11.0K 浏览
Summarizing and Visualizing Data
58.2K 浏览
Summarizing and Visualizing Data
6.9K 浏览
Summarizing and Visualizing Data
5.6K 浏览
Summarizing and Visualizing Data
13.4K 浏览
Summarizing and Visualizing Data
5.5K 浏览
Summarizing and Visualizing Data
6.9K 浏览
Summarizing and Visualizing Data
4.4K 浏览
Summarizing and Visualizing Data
16.6K 浏览
Summarizing and Visualizing Data
5.2K 浏览
Summarizing and Visualizing Data
6.7K 浏览
Summarizing and Visualizing Data
14.2K 浏览