5. Analyzing Lines of Fit
Sign In
To do a linear regression we push STAT, scroll right to CALC, and then choose the fourth option in the list, LinReg.
We can see the equation for the line of best fit. y=- 0.2x+20
Therefore the correlation coefficient is approximately r=- 0.968. This tells us that correlation is both negative and very strong. We know that it is strong because it is extremely close to -1. A correlation of -1 would be a direct correlation explained by a line that goes through all of the points.
y= 15.5
LHS-20=RHS-20
LHS * (- 5)=RHS* (- 5)
Rearrange equation
This means that the mileage of the car with a price of $15 500 is 22 500 miles.
This means that the price of a car with 6000 miles on it is $18 800.