Jump to content

Sum of squared errors (SSE): Difference between revisions

From Wikibase
Created page with "Category:Regression analysis '''Sum of squared errors''' ('''SSE''') is the sum of the squares of the residuals between observed values and fitted values. == Definition == Thus $$ \mathrm{SSE}\ge 0, \qquad \mathrm{SSE}=0 \iff \forall i\in\{1,\dots,n\},\ y_i=\hat y_i. $$"
 
No edit summary
 
Line 3: Line 3:


== Definition ==
== Definition ==
{{#content:Q3085}}


Thus
Thus

Latest revision as of 11:40, 10 November 2026

Languages: English · français · Esperanto

Sum of squared errors (SSE) is the sum of the squares of the residuals between observed values and fitted values.

Definition

Let $\vec y=(y_1,\dots,y_n)^\top$ be observed responses and let $\hat y_i$ be the corresponding fitted values. Define the residual vector $\vec e=(e_1,\dots,e_n)^\top$ by

$$e_i=y_i-\hat y_i.$$

Then

$$ \mathrm{SSE} = \sum_{i=1}^n e_i^2 = \sum_{i=1}^n (y_i-\hat y_i)^2 = \vec e^\top\vec e = \|\vec e\|_2^2. $$

Thus

$$ \mathrm{SSE}\ge 0, \qquad \mathrm{SSE}=0 \iff \forall i\in\{1,\dots,n\},\ y_i=\hat y_i. $$