Given the following data points what is the equation of the

Given the following data points, what is the equation of the best fit straight line through them? What will be the R^2 value? Data point 1: x = 1, y = 3 Data point 2: x = 5, y = 10

Solution

>> Let equation of required straight line => y = m*x + c

>> Now, Using Data Entry 1, x = 2 and y = 3

=> 3 = 2*m + c ................(1)...........

>> Now, Using Data Entry 2, x = 5 and y = 10

=> 10 = 5*m + c ................(2)...........

>> Solving (1) & (2),

=> m = 7/3

and, c = -5/3

So, best equation of straight line >> 3y = 7x - 5

 Given the following data points, what is the equation of the best fit straight line through them? What will be the R^2 value? Data point 1: x = 1, y = 3 Data p

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site