Regression Tool

Help Show/Hide

Help: An ordinary least squares regression is a simple way to draw a line through a set of points with the aim of picking the line that is "closest" to all of the points on the line. This can be visualized as drawing a line, and then taking each point that is not actually touched by the line and drawing a square that has two of its corners as the point and a point on the line. Do this for each point, and the areas of all of these squares are added up. Using this process, you can pick the line that will give you the smallest total area. This is considered the best line because it is generally closest to the points.