Property
A line that fits the data in a scatterplot is called a regression line. To find an equation for a line of best fit, we choose two points on the line whose coordinates we can estimate fairly accurately and use the point-slope formula. These two points need not be any of the original data points.
Examples
A regression line for minimum wage data passes through (5,1.25) and (25,3.35). The slope is m=25β53.35β1.25β=0.105. The equation is y=1.25+0.105(xβ5), which simplifies to y=0.105x+0.725.
For data on study time versus test scores, a line of best fit passes through (1,75) and (4,90). The slope is m=4β190β75β=5. The equation is y=75+5(xβ1), or y=5x+70.