Studentized Residual — Definition, Formula & Example
A studentized residual is a regression residual rescaled by its own estimated standard deviation. This puts every point's error on a common scale, so you can judge whether it is unusually large.
In a least-squares regression with observations and estimated parameters, the residual has variance , where is the leverage of observation . The internally studentized residual is , where is estimated from all observations, including observation . The externally studentized (deleted) residual instead uses , computed with observation removed. Some textbooks and software, such as R's rstandard(), call the standardized residual, so check which definition your source uses.
Key Formula
Where:
- = Studentized residual for observation i (unitless)
- = Ordinary residual, observed minus predicted value
- = Residual standard error, the square root of SSE/(n − p)
- = Leverage of observation i, between 0 and 1; larger when is far from the mean
- = Number of observations
- = Number of estimated parameters (2 for a line: slope and intercept)
- = Mean of the x-values
Worked Example
Problem: A simple linear regression predicts monthly electric bills (in dollars) from home size (in hundreds of square feet) for homes. The x-values have mean and . The residual standard error is . One 2,600-square-foot home () has a residual of $24. Find its studentized residual.
Step 1: Find the leverage of this home. It sits 8 units above the mean size, which raises its leverage.
Step 2: Find the estimated standard deviation of this particular residual.
Step 3: Divide the residual by that standard deviation.
Answer: The studentized residual is 3. That is well beyond the common cutoff of 2 and reaches the stricter cutoff of 3, so you should investigate this home as a possible outlier.
Why It Matters
Regression output in a statistics or econometrics course lists studentized residuals because raw residuals cannot be compared fairly. Points far from the mean of x pull the fitted line toward themselves, which shrinks their residuals. Studentizing corrects for this, so analysts in fields like quality control and finance can flag observations with or before trusting a model.
Common Mistakes
Mistake: Dividing the residual by alone and ignoring leverage. In the example, this gives instead of 3.
Correction: Each residual has its own standard deviation, . A high-leverage point has a smaller residual variance, so dividing only by understates how unusual its residual is.
