* Least Squares line is also called Line of Regression.
We need to find the average of all these points to find the best fit.
The equation for the Least Square line is :
where m= slope of the line
c= y-intercept
Equation to find the slope and y-intercept are:
where n=number of data points
Plugging these values to the equation of line we get:
--------------------------> Required least squares line.
Since it gives the average of all the data points it going to be the best fit.
* Slope of a line or Gradient of a line always represents the direction and steepness of a line.In equation form
change in y-value
change in x-value.
* If you take any data points from the table and plug in the value of X, you will get a y-value close to that indicated in the table.
ex: Take X=44.64
Y= 36.8042* 44.64 + 16.39
= 1659 ( which is a value near to that given 1631. This point (44.64,1659) has the least perpendicular distance to the regression line we just found out).
Thus this model can be held for years to get the best fit.
Thanks!!!
The chart below contains a portion of the fuel consumption information for a 2002 Toyota Echo...