Given
x=12,4,4,12,7,4,3,7,7,7
y=20,15,15,19,18,17,15,18,16,19
An equation of the least squares regression line; plotting the points on a scatter plot, we can find the line of best fit
This scatter plot is shown below:
The parameters of the best fit
m= 0.495114 and C= 13.8827
The general equation of a line is y = mx + c
Therefore, the equation of the least-squares regression line
is