

Line of best fit (trend line) - A line on a scatter plot which can be drawn near the points to more clearly show Where the summations are again taken over the entire data set

Given any set of n data points in the form (`x_i`, `y_i`),Īccording to this method of minimizing the sum of square errors, the line of best fit is obtained when In this particular equation, the constant m determines the slope or gradient of that line, and the constant term "b" determines the point at which the line crosses the y-axis,

The origin of the name "e linear"e comes from the fact that the set of solutions of such an equation forms a straight line in the plane. Simple linear regression is a way to describe a relationship between two variables through an equation of a straight line,Ĭalled line of best fit, that most closely models this relationship.Ī common form of a linear equation in the two variables x and y is
