Introduction: Linear regression is a method to investigate the relation between two variables.
Model: The regression line y=ax+b gives the linear relation between the independent variable x and the dependent variable y, where (a,b) is the minimum location of the function
z(a,b)=[q1−(ap1+b)]2+[q2−(ap2+b)]2+…+[qn−(apn+b)]2,
with (p1,q1),(p2,q2),…,(p3,q3) the observations of the values of (x,y).
Model: The regression line y=ax+b gives the linear relation between the independent variable x and the dependent variable y, where (a,b) is the minimum location of the function
z(a,b)=[q1−(ap1+b)]2+[q2−(ap2+b)]2+…+[qn−(apn+b)]2,
with (p1,q1),(p2,q2),…,(p3,q3) the observations of the values of (x,y).