Tutorials › Exam SRM - Statistics for Risk Modeling › Residual White Noise as a Model Adequacy Criterion

Exam SRM · Time-Series Model Selection · Tutorial 515 of 926

Residual White Noise as a Model Adequacy Criterion

Learn to assess whether time-series residuals behave like unpredictable innovations and why small fitting errors alone do not establish model adequacy.

Advanced 10 min read

What You'll Learn

  • Define white noise and distinguish uncorrelated errors from independent errors
  • Explain why a correctly specified model should leave innovation-like residuals
  • Identify residual bias and serial patterns that suggest missing structure
  • Calculate and interpret residual summaries without treating them as proof
  • Avoid confusing a low residual sum of squares with model adequacy

Why Residuals Matter After a Time-Series Fit

A time-series model is useful when it captures the systematic information in past observations and leaves the remaining errors unpredictable. A small fitting error is not enough: a model can stay close to the data overall while repeatedly missing in the same direction, or while leaving a pattern that could have helped predict the next observation. Residuals provide a way to check for those omissions.

For a fitted model, let \(y_t\) be the observed value at time \(t\), and let \(\hat{y}_{t|t-1}\) be the forecast made for time \(t\) using information available before observing \(y_t\). The one-step forecast residual is \(e_t=y_t-\hat{y}_{t|t-1}\). A fitted residual may instead be defined by subtracting the model's fitted value at time \(t\). The precise residuals depend on the fitting method, but in either case their order in time must be retained.

Definition: A white-noise sequence \(\{\varepsilon_t\}\) has constant mean zero, constant finite variance \(\sigma^2\), and zero covariance between distinct times: \(E[\varepsilon_t]=0\), \(\operatorname{Var}(\varepsilon_t)=\sigma^2\), and \(\operatorname{Cov}(\varepsilon_t,\varepsilon_s)=0\) for \(t\ne s\). Independent, identically distributed errors with mean zero and finite variance are white noise. The converse is not generally true: zero covariance does not by itself imply independence.

In time-series model checking, residuals are often expected to look approximately like white noise. This is a practical adequacy condition: after the modeled trend, seasonality, or dependence has been accounted for, there should be no substantial predictable structure left. It is not a claim that a finite set of residuals can prove the model correct.

Why a Correct Model Should Leave Innovation-Like Errors

Suppose a series follows a model \(y_t=m_t(\theta_0)+\varepsilon_t\), where \(m_t(\theta_0)\) is the correctly specified systematic component and \(\theta_0\) is its true parameter. Assume the innovations \(\varepsilon_t\) have mean zero, constant finite variance, and no serial covariance. If the parameters and model form were known, subtracting the systematic component would give

$$ e_t=y_t-m_t(\theta_0)=\varepsilon_t. $$

The residuals would therefore inherit the innovations' lack of systematic temporal structure. In practice, parameters are estimated from the same observations, so fitted residuals are not exactly the unobserved innovations. Estimation can impose constraints on residuals and affect their finite-sample behavior. The adequacy question is consequently whether the residuals are reasonably consistent with an innovation sequence, not whether they are perfectly independent in a short sample.

The distinction between white noise and independent errors also matters. If the innovations are jointly Gaussian, zero covariance at distinct times implies independence. Without that Gaussian assumption, uncorrelated errors can still be dependent. A residual check for serial dependence addresses one important form of predictability; it does not, on its own, establish normality, constant variance, or every other assumption a model may require.

Key idea: Residuals should not contain information that the fitted model could have used to improve its forecasts. A nonzero residual mean suggests systematic bias; serial structure suggests that some time-related feature may remain unmodeled. Neither finding identifies a unique replacement model by itself.

Worked Examples

Worked Example: A Small Error With a Repeating Pattern

A hypothetical service center records a daily workload. For six days, a fitted trend model gives predictions \(100,100,102,102,104,104\), while the observed workloads are \(101,99,103,101,105,103\). Calculate the residual mean and mean squared residual, then decide whether the small errors alone make the model adequate.

Method. Subtract each prediction from its matching observation, then summarize error size and inspect the order. This avoids treating a low average error as evidence that no predictable pattern remains.

The residuals are \(101-100=1\), \(99-100=-1\), \(103-102=1\), \(101-102=-1\), \(105-104=1\), and \(103-104=-1\). Thus the ordered residual sequence is \(1,-1,1,-1,1,-1\).

Their sum is \(1-1+1-1+1-1=0\), so the residual mean is \(0/6=0\). The squared residuals are all \(1\), giving a residual sum of squares of \(1+1+1+1+1+1=6\) and a mean squared residual of \(6/6=1\).

Despite zero mean and modest error size relative to predictions near 100, the residual signs alternate perfectly. Once a positive residual occurs, the next residual is negative, and vice versa. This is an ordered pattern, not evidence of unpredictable errors. A residual plot over time would make the alternation clear. The calculations check: the six residuals sum to zero, and their six squares sum to 6.

Worked Example: Checking Adjacent Residual Products

A hypothetical model for daily equipment demand has eight consecutive residuals \(2,2,-2,-2,2,-2,-2,2\), in demand units. Calculate their mean, sum of squares, and the sum of products of adjacent residuals. What can these summaries establish?

Method. Calculate the summaries directly from the ordered sequence. Adjacent products are a compact descriptive check of whether neighboring residuals tend to have a consistent relationship; they are not, by themselves, a formal test or proof of dependence.

The residual sum is \(2+2-2-2+2-2-2+2=0\), so the mean is \(0/8=0\). Each squared residual is \(4\), so the sum of squares is \(8(4)=32\).

The seven adjacent products are \(2(2)=4\), \(2(-2)=-4\), \((-2)(-2)=4\), \((-2)(2)=-4\), \(2(-2)=-4\), \((-2)(-2)=4\), and \((-2)(2)=-4\). Their sum is

$$ 4-4+4-4-4+4-4=-4. $$

The mean of these seven adjacent products is \(-4/7\), approximately \(-0.5714\). The zero residual mean does not make the sequence independent: in the displayed order, the signs occur in repeated pairs and changes. The product summary is only one small-sample description, however, and does not establish a stable dependence pattern or identify its cause.

Common arithmetic trap. Summing the seven products as \(-8\) is incorrect. Grouping them gives three positive products totaling \(12\) and four negative products totaling \(-16\), so the correct total is \(12-16=-4\). This agrees with adding the products in order.

Worked Example: Removing Bias Does Not Remove a Trend

A hypothetical analyst uses the constant prediction 50 for six successive observations. The observations are \(51,52,54,54,57,56\). Calculate the residuals and their mean. Then recenter the predictions by adding the residual mean and determine whether that correction alone resolves the apparent time pattern.

Method. First calculate residuals from the original predictions. Then remove their average by shifting the constant prediction. This distinguishes correcting a level bias from modeling a changing level.

The original residuals are \(1,2,4,4,7,6\). Their sum is \(1+2+4+4+7+6=24\), so the residual mean is \(24/6=4\). The residual sum of squares is \(1+4+16+16+49+36=122\), and the mean squared residual is \(122/6\), approximately \(20.3333\).

Adding 4 to each prediction changes the constant prediction from 50 to 54. The corrected residuals are \(51-54=-3\), \(52-54=-2\), \(54-54=0\), \(54-54=0\), \(57-54=3\), and \(56-54=2\). Their sum is \(-3-2+0+0+3+2=0\). Their sum of squares is \(9+4+0+0+9+4=26\), so their mean squared residual is \(26/6\), approximately \(4.3333\).

The level adjustment substantially reduces the squared error and removes the residual mean, but the corrected residuals still tend to be lower earlier and higher later. The constant model has not captured all the time-related structure. The check is internally consistent: subtracting the mean from each original residual reduces the sum of squares from 122 by \(6(4^2)=96\), leaving \(122-96=26\).

Common mistake. Concluding that the model is adequate because the corrected residual mean is zero confuses absence of average bias with absence of temporal pattern. A level correction addresses the former; a model must also account for remaining predictable structure.

Interpreting Residual Evidence Carefully

A residual sequence should be assessed in time order. Useful first questions include whether it is centered near zero, whether its spread appears reasonably stable, and whether runs, alternation, cycles, or gradual changes are visible. These are clues, not automatic model-selection rules. A few unusual residuals may occur by chance, and a short series gives limited evidence about dependence.

The residual white-noise criterion complements measures of fit. A sum of squared errors or another error measure summarizes closeness, but discards much of the order information. Two models can have similar error sizes and very different residual sequences. Conversely, a sequence with no obvious serial pattern may still be problematic if residual variance changes over time or a distributional assumption needed for a particular analysis is not plausible.

When residual structure appears, the appropriate response is to ask what modeled feature may be missing: perhaps a changing level, a trend, a seasonal effect, or dependence across time. The pattern does not justify adding terms indiscriminately. A more complicated model can lower in-sample error simply by fitting noise. Reassess the model's purpose and assumptions, and compare candidate models using appropriate evidence rather than residual error alone.

  • Residual mean: a value far from zero can indicate systematic under- or overprediction.
  • Residual order: repeated runs, alternating signs, or gradual changes can indicate remaining temporal structure.
  • Residual size: unusually changing spread can signal a variance issue even when the mean is near zero.
  • Scope of the conclusion: residual checks support or challenge adequacy; they do not prove a model correct.

The practical standard is therefore not “the residuals are small,” but “the residuals show no material structure that the model should have captured.” This standard encourages a model to explain predictable behavior while keeping a distinction between a useful approximation and a fully verified stochastic specification.

Check Your Understanding

For each problem, keep the residuals in chronological order and separate error size from evidence about temporal structure.

  1. A model produces residuals \(1,-1,1,-1\). Find the residual mean and explain whether the sequence supports a white-noise description. (Answer: Mean \(0\); the exact alternation is a temporal pattern, so zero mean alone is insufficient.)
  2. Six residuals are \(0,1,0,-1,0,1\). Calculate their sum and mean, and state one reason the model may still need review. (Answer: Sum \(1\), mean \(1/6\); the mean is not zero, and the ordered sequence should also be checked for structure.)
  3. For residuals \(1,1,-1,-1\), calculate the three adjacent products and their sum. (Answer: \(1,-1,1\), with sum \(1\).)
  4. Model A has mean squared residual 4 and a clear repeating sign pattern. Model B has mean squared residual 5 and no obvious pattern in its residual sequence. Can the lower error alone establish that A is more adequate? (Answer: No; lower error alone does not outweigh remaining predictable structure or establish adequacy.)
  5. A model's residual mean is corrected to zero by shifting every prediction by the same amount, but the residuals still rise over time. What does this imply about the correction? (Answer: It removed average bias but did not address the remaining time-related structure.)
Clinical Biostats