Linear Regression (OLS)
Estimates a linear relationship by choosing coefficients that minimize the sum of squared residuals.
Method
Minimize ||Xβ − y||². When X has full column rank, β = (XᵀX)⁻¹Xᵀy; QR or SVD solvers avoid explicitly forming the inverse.
Applications
Economic relationships, demand and cost estimation, valuation drivers, scientific calibration.
Advantages
Fast, interpretable, analytically tractable; useful baseline.
Limitations
Linearity concerns the conditional mean. Normal errors are not required to compute least squares; classical exact small-sample inference makes stronger assumptions. Outliers, dependence and collinearity need checks.
Alternatives
Robust regression, generalized linear models, ridge regression, tree ensembles.
Example
House price vs size: price = 50k + 200 * sqft.
Editorial clarification
Corrected or qualified against standard references; bundled concepts are distinguished.
Sources
Educational reference only, not professional advice.
All algorithms