Introduction to Univariate Regression and Sum of Squared Errors
Univariate regression is the process of fitting a line that passes through a set of ordered pairs . Specifically, given some data, univariate regression estimates the parameters and (the slope and -intercept) that fit the linear model . The best possible fit minimizes the sum of the squared distance between the fitted line and each data point, which is called the sum of squared errors (SSE). This Demonstration shows the procedure for minimizing the SSE. Click the OLS (ordinary least squares) box to show the optimal result.