Linear Regression Estimates the Typical Relationship between Two Variables Least-squares linear regression line for Abramis brama weights and lengths (measured from nose to end of tail). The regression line (blue line) is given by the equation Y = 26.1 + 0.02X. It is the line that minimizes the sum of the squares of the residuals (red lines).