Why a Predicted Value Is Not the Whole Story
When a regression analysis has missing predictor values, a fitted model can use other recorded variables to estimate them. This can be more informative than filling every gap with the same overall mean: records with different observed characteristics can receive different predicted values. But a prediction is not the same as the unobserved value. Even records with identical predictors can differ from the regression’s predicted average.
That distinction matters in a completed data set. Replacing each missing covariate by its predicted conditional mean gives a smooth, reproducible fill, but it leaves out the residual variation around that mean. Adding a residual draw puts some of that variation back. Neither step, by itself, represents all the uncertainty involved in estimating the imputation model and completing missing data.
The Model Behind a Regression Imputation
Suppose \(X_i\) is a covariate with some missing values and \(Z_i\) denotes observed information used to predict it. A simple linear model for the observed values of \(X\) is
The fitted conditional mean for a record with observed \(Z_i\) is \(\hat{X}_i=\hat{\beta}_0+\hat{\beta}_1Z_i\). Deterministic regression imputation assigns this value to a missing \(X_i\). Residual-augmented imputation instead assigns \(\hat{X}_i+e_i^*\), where \(e_i^*\) is a residual draw intended to represent the remaining variation in \(X\) among records with similar \(Z\).
These procedures rely on a useful model for the conditional distribution of \(X\) given the included information. The fitted conditional mean should be reasonably specified, and the observed records used to fit it should provide relevant information about records with missing \(X\). For instance, if missingness depends on observed variables, those variables may need to be represented in the imputation model. If records with missing \(X\) have predictor values outside the range of the observed cases, the model is extrapolating, so its predictions deserve particular caution.
A residual-draw method has an additional requirement: the residuals used as draws should reasonably represent the residual variation for the records being imputed. A common simple approach assumes roughly constant residual spread across the predictor range. If that spread changes substantially with \(Z\), a single residual distribution may not be suitable. Normality is needed for a method that draws errors from a normal distribution, but not for the basic idea of adding resampled residuals.
Worked Example: Filling a Missing Covariate With Its Predicted Mean
In a hypothetical data set, weekly exercise time \(X\), in minutes, is available for most participants. A linear regression fitted to records with observed exercise time gives \(\hat{X}=90+1.2A\), where \(A\) is age in years. One participant is 50 years old but has missing exercise time. The fitted model’s residual standard deviation is reported as 12 minutes.
Check the prediction conditions. For this illustration, assume the fitted linear mean is reasonable over the ages being imputed, the 50-year-old is within the observed age range, and the observed exercise-time records provide relevant information for this participant. The residual standard deviation describes variation around the fitted mean; it does not change the mean prediction itself.
Calculate the deterministic imputation.
The deterministic procedure fills in 150 minutes per week. This is the model’s estimated average exercise time for participants aged 50, not a claim that the missing value was exactly 150. A particular 50-year-old could exercise more or less than that amount.
What Deterministic Imputation Leaves Out
The reason for concern can be stated using the law of total variance. If the conditional mean model is appropriate, then the variation in \(X\) has two components: variation in the conditional mean across values of \(Z\), and residual variation among records with the same \(Z\).
A deterministic imputation sets a missing \(X_i\) to its estimated conditional mean. For the imputed records, it therefore treats the residual around that mean as zero. In effect, it omits the second component, \(E[\operatorname{Var}(X\mid Z)]\), from the variation represented by those filled-in values. This does not mean the overall variance in every particular completed sample must decrease by a fixed amount; it means the imputed cases do not carry the conditional spread that the model says exists.
The consequence can reach beyond a summary of \(X\). Regression coefficients in a later analysis depend on the covariate values and their relationships with other variables. Replacing missing values by conditional means can alter those relationships. The direction and size of the effect depend on the data and analysis; deterministic imputation does not guarantee that a later slope will move toward zero or in any other fixed direction.
Adding Residual Variation
A residual-augmented imputation starts from the same predicted mean and adds variation. One approach draws a residual from the fitted model’s residuals and adds it to the prediction. Another approach draws an error from a stated distribution, such as a normal distribution with a fitted residual standard deviation, when that distribution is justified. In either case, the result is a plausible draw under the chosen model, not a recovered observation.
For the method to represent residual variation appropriately, the residuals must be suitable for the records being imputed. Resampling residuals without regard to \(Z\) is questionable if residual spread or shape changes with \(Z\). A model that predicts only a conditional mean can also fail to represent important features of the conditional distribution, such as skewness or bounds. The imputed value should be checked for plausibility in the variable’s units and range.
Worked Example: Adding a Residual Draw
Use the exercise-time model from the previous example. For a 50-year-old, the fitted mean is 150 minutes per week. Suppose, for a simplified illustration, that a residual-augmented method draws one residual from a centered empirical pool containing \(-12\), \(-6\), \(0\), \(6\), and \(12\) minutes. Assume these residuals are suitable for this participant’s age, and that the draw is made with equal probability from the five values.
Make one draw. Suppose the draw is \(6\) minutes. The imputed value is
Another permitted draw from this pool could produce 138, 144, 150, or 162 minutes. The procedure therefore reflects residual spread that the deterministic fill omitted. It does not establish which value is the participant’s actual exercise time, and one draw does not account for uncertainty in the fitted coefficients or in the model choice.
Why Residual Noise Is Not All the Uncertainty
Adding residual variation addresses one source of uncertainty: individuals with the same recorded predictors can have different covariate values. But the regression model itself was estimated from a finite set of observed cases. Its fitted coefficients are uncertain, and the estimated residual distribution is uncertain too. A procedure that holds the fitted coefficients fixed and only draws residuals does not include those sources of uncertainty.
There are also uncertainties about whether the model form is adequate, whether the records used to fit it are informative about those with missing values, and whether the assumptions about missingness are reasonable. Residual noise cannot repair a poorly chosen predictor set, an unsuitable functional form, or a mismatch between observed and missing cases. These are distinct issues from whether a random residual was added.
Worked Example: A Single Draw Can Change a Later Slope
Consider a hypothetical outcome \(Y\) and predictor \(X\), with four records having complete pairs \((X,Y)\): \((2,4)\), \((4,7)\), \((6,8)\), and \((8,11)\). A fifth record has \(Y=10\) and missing \(X\). For illustration, suppose an imputation model gives this record a conditional mean of 6, and a suitable residual draw for it is \(3\). The example compares the downstream least-squares slope after deterministic imputation with the slope after this residual draw; it does not establish that either imputation model is appropriate for an actual analysis.
With deterministic imputation, the five \(X\) values are \(2,4,6,8,6\), and the \(Y\) values are \(4,7,8,11,10\). Their means are \(\bar{x}=5.2\) and \(\bar{y}=8\). The least-squares slope is \(b_1=S_{xy}/S_{xx}\), where \(S_{xy}=\sum (x_i-\bar{x})(y_i-\bar{y})\) and \(S_{xx}=\sum (x_i-\bar{x})^2\). Thus,
With the residual draw of 3, the fifth \(X\) value is \(6+3=9\). Now \(\bar{x}=5.8\) while \(\bar{y}\) remains 8. The sums become
The two slopes differ because the completed covariate values differ. This calculation illustrates why an imputation can affect downstream regression, not which slope is preferable. In a real analysis, the imputation model and assumptions must be considered before interpreting a result.
Common Mistake: Treating Noise as a Complete Fix
A common mistake is to argue, “I added a random residual, so the imputed values now include all relevant uncertainty.” That conclusion is too strong. Residual draws can restore some within-predictor variation, provided the residual model is suitable. They do not, on their own, represent uncertainty in the fitted regression coefficients, uncertainty about the model, or uncertainty associated with the missing-data process.
The correction is to describe exactly what the imputation method does. A deterministic prediction fills a gap with an estimated conditional mean. A residual-augmented prediction adds a draw intended to represent residual variation. Neither should be presented as the known value or as a complete accounting of uncertainty. When the goal includes representing multiple sources of uncertainty in regression inference, repeated plausible completions and their analysis require a broader procedure than one residual-augmented fill.
Check Your Understanding
Answer each question using the distinctions in this tutorial.
- A fitted model predicts a missing covariate to be 24 units. What does this value represent, and what does it not establish?
- Why does deterministic regression imputation omit within-predictor residual variation for the records it fills?
- A method adds a randomly selected residual to each fitted mean. Name one condition that would make this residual-draw approach questionable.
- Give two sources of imputation uncertainty that residual draws alone do not capture.
- Why can two different plausible fills for the same missing covariate lead to different downstream regression slopes?