Language

Continue on this page in your preferred language.

Settings

Adjust this browser’s reading experience. Changes take effect immediately.

Try an example

Choose an example, change a value and see what happens.

Why do residuals cancel at the mean?

Interactive example

Four observations and their residuals around a chosen centre0246810c = 5.7521527394
Sum of residuals
0
Squared error (SSE)
26.75

At the sample mean, signed residuals sum to zero, while SSE remains positive unless every value is identical.

See the values
Four observations and their residuals around a chosen centre
ObservationValueResidual
12-3.75
25-0.75
371.25
493.25

What to notice

Separate signed residual cancellation from squared error.

Conditions

The four displayed values are treated as a fixed sample.

What this example cannot show

This does not estimate a population parameter or construct an interval.

Sources and context

These sources provide topic context. The values and interaction are authored by AXIOVUM; no institutional endorsement is implied.

IP Geolocation by DB-IP · CC BY 4.0