Casa » Method of Ordinary Least Squares (OLS)

Method of Ordinary Least Squares (OLS)

1805
  • Adrien-Marie Legendre
  • Carl Friedrich Gauss
Historical office scene depicting the Method of Ordinary Least Squares in mathematical statistics.

A standard approach for approximating solutions to overdetermined systems by finding model parameters that minimize the sum of the squared differences between observed and predicted values. This sum is known as the sum of squared residuals (SSR). The goal is to find the parameters [latex]\hat{\beta}[/latex] that minimize the function [latex]S(\beta) = \sum_{i=1}^{n} (y_i – x_i^T \beta)^2[/latex].

IL metodo of ordinary least squares is a cornerstone of regression analysis. It provides a direct way to estimate the unknown parameters in a linear model. The principle is to find the line (or hyperplane in multiple regression) that is closest to all the data points simultaneously. ‘Closest’ is defined in terms of minimizing the vertical distances from each point to the line, specifically, the sum of the squares of these distances (residuals).

This minimization problem can be solved using calculus. By taking the derivative of the sum of squared residuals function [latex]S(\beta)[/latex] with respect to the parameter vector [latex]\beta[/latex] and setting it to zero, we derive a set of equations known as the ‘normal equations’. In matrix form, these are expressed as [latex]X^T X \hat{\beta} = X^T y[/latex], where [latex]X[/latex] is the matrix of independent variables and [latex]y[/latex] is the vector of the dependent variable.

The solution for the estimated coefficient vector is then given by [latex]\hat{\beta} = (X^T X)^{-1} X^T y[/latex]. This closed-form solution is computationally efficient and provides a unique estimate, provided that the matrix [latex]X^T X[/latex] is invertible (i.e., there is no perfect multicollinearity among the independent variables). Geometrically, the OLS solution corresponds to an orthogonal projection of the outcome vector [latex]y[/latex] onto the vector subspace spanned by the columns of the predictor matrix [latex]X[/latex]. While powerful, OLS is sensitive to outliers, as squaring the residuals gives large errors a disproportionately large influence on the final fit.

UNESCO Nomenclature: 1209
- Statistiche

Tipo

Software/Algoritmo

Interruzione

Sostanziale

Utilizzo

Uso diffuso

Precursori

  • Linear algebra (matrix operations)
  • Differential calculus (for finding minima)
  • Theory of errors in observation (developed by astronomers)
  • Analytic geometry (Descartes)

Applicazioni

  • parameter estimation in linear regression models
  • elaborazione del segnale and digital filtering
  • control theory for system identification
  • econometrics for modeling economic relationships
  • astronomical calculations of orbits

Brevetti:

NA

Potenziali idee innovative

Livelli! Iscrizione richiesta

Per accedere a questo contenuto devi essere un membro di !Professionals (100% free)!

Iscriviti ora

Siete già membri? Accedi
Related to: least squares, OLS, parameter estimation, sum of squared residuals, optimization, normal equations, linear algebra, regression analysis, curve fitting, data fitting.

Lascia un commento

Il tuo indirizzo email non sarà pubblicato. I campi obbligatori sono contrassegnati *

DISPONIBILE PER NUOVE SFIDE
Ingegnere meccanico, responsabile di progetto, ingegneria di processo o ricerca e sviluppo
Sviluppo efficace del prodotto

Disponibile per una nuova sfida con breve preavviso.
Contattami su LinkedIn
Integrazione di componenti elettronici in plastica e metallo, progettazione in base ai costi, GMP, ergonomia, dispositivi e materiali di consumo di medio-alto volume, produzione snella, settori regolamentati, CE e FDA, CAD, Solidworks, Lean Sigma Black Belt, ISO 13485 in ambito medico

Stiamo cercando un nuovo sponsor

 

La tua azienda o istituzione si occupa di tecnica, scienza o ricerca?
> inviaci un messaggio <

Ricevi tutti i nuovi articoli
Gratuito, no spam, email non distribuita né rivenduta

oppure puoi ottenere la tua iscrizione completa -gratuitamente- per accedere a tutti i contenuti riservati >Qui<

Contesto storico

(se la data non è nota o non è rilevante, ad esempio "meccanica dei fluidi", viene fornita una stima approssimativa della sua notevole comparsa)

Principi di invenzione, innovazione e tecnica correlati

Torna in alto

Potrebbe anche piacerti