Statistics

Residual Standard Error

Students use a small ruler to measure vertical gaps between dots and a fitted line.

Residual Standard Error definition

The residual standard error estimates the typical scatter of individual responses around a fitted regression.

In Spanish
error estándar residual
Topic
Regression and model diagnostics

Residual Standard Error in a picture

Residual Standard Error diagramWith SSE = 80, 22 observations, and two fitted coefficients, the residual standard error is 2.Squared residuals sum to 80Square and add the residualsResidual degrees of freedom: 20Subtract 2 from 22Residual standard error: 2Take the square root of 80/20
With SSE = 80, 22 observations, and two fitted coefficients, the residual standard error is 2.

How it works

In ordinary least squares, compute √[SSE/(n − p)], where SSE is the sum of squared residuals, n is the number of observations, and p is the number of fitted coefficients in a full-rank model, including any intercept. This estimates the common error standard deviation when the constant-variance model applies.

Worked examples

Find the residual standard error when SSE = 45, n = 8, and p = 3.

Calculate √[45/(8 − 3)] = 3.

Responses are measured in seconds. What are the units of the residual standard error?

Seconds. The square root returns the scale of the response.

What does a residual standard error of 2 seconds summarize?

An estimated error standard deviation of 2 seconds around the fitted mean.

Common mistake

Use n − p in the denominator. A root mean square of fitted residuals with denominator n is a different calculation.

Quick check

What is the residual standard error when SSE = 36 and n − p = 4?

What does p include for simple linear regression with an intercept?

Show answer

The two fitted coefficients, slope and intercept.

Does the residual standard error have squared units?

Show answer

No. It has the original response units.

Sources

Flashcard

Residual Standard Error

Reveal the definition

The residual standard error estimates the typical scatter of individual responses around a fitted regression.

Effortless Math. “Residual Standard Error.” Math Dictionary.