Explore modules

Linear Regression

Fitting a line to data by minimizing the sum of squared residuals.

Free theory article

Fitting a line to data by minimizing the sum of squared residuals.

Concept & interpretation

Linear regression is the foundation of statistical modeling and machine learning. It models the relationship between a dependent variable y and one or more independent variables x by fitting a straight line that minimizes the sum of squared differences between observed and predicted values. Despite its simplicity, linear regression remains one of the most widely used and interpretable models in science, engineering, and business.

Read the full free theory article