Linear regression and modeling problems are presented. The solutions to these problems are at the bottom of the page.
If the plot of n pairs of data (x , y) for an experiment appear to indicate a "linear relationship" between y and x, then the method of least squares may be used to write a linear relationship between x and y.
The least squares regression line is the line that minimizes the sum of the squares of the vertical deviation from each data point to the line (see figure below).
The least square regression line for the set of n data points is given by