Introduction to Univariate Regression and Sum of Squared Errors

Initializing live version
Download to Desktop

Requires a Wolfram Notebook System

Interact on desktop, mobile and cloud with the free Wolfram Player or other Wolfram Language products.

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.

Contributed by: Ben Dempe (August 2019)
Open content licensed under CC BY-NC-SA



Feedback (field required)
Email (field required) Name
Occupation Organization
Note: Your message & contact information may be shared with the author of any specific Demonstration for which you give feedback.