Tutorials › Regression Analysis (Undergraduate) › Point Predictions and the Unobserved Error

Prediction Intervals for New Outcomes · Tutorial 718 of 991

Point Predictions and the Unobserved Error

Learn what a fitted mean predicts, why a new individual outcome can differ from it, and how the two sources of uncertainty are distinct.

Intermediate 9 min read

What You'll Learn

  • Define the conditional mean and the point prediction for a new case.
  • Separate uncertainty in an estimated mean from the future outcome’s residual variation.
  • Interpret a new outcome as its conditional mean plus an unobserved error.
  • Distinguish training-data residuals from a future case’s error.
  • Identify what a point prediction does and does not tell you about an individual.
  • Check the assumptions that give a fitted mean its predictive meaning.

What Does a Regression Point Prediction Predict?

A regression model can give a predicted outcome for a specified set of predictor values. The key question is what that number represents. If the goal is to predict one new person’s outcome, it is tempting to treat the fitted value as the outcome that person will have. But the fitted value targets the conditional mean: the average outcome among cases with those predictor values, according to the model. A particular new outcome can differ from that mean.

There are two distinct reasons for uncertainty. The regression mean is estimated from data, so another sample could produce a different estimated mean. In addition, even if the conditional mean were known exactly, a new individual outcome would still vary around it. This tutorial focuses on why the fitted mean is a point prediction rather than a complete description of an individual future outcome.

Definition: At predictor profile \(x_0\), the conditional mean is \(\mu(x_0)=E(Y\mid X=x_0)\), the mean outcome for cases whose predictors equal \(x_0\). Its fitted estimate, \(\hat{\mu}(x_0)\), is the point prediction from the fitted regression model. A new outcome at that profile can be written \(Y_{\text{new}}=\mu(x_0)+\varepsilon_{\text{new}}\), where \(\varepsilon_{\text{new}}\) is the new case’s error from the conditional mean.

The Model Has a Mean Part and an Error Part

A useful way to describe the regression setting is to write each outcome as its conditional mean plus an error:

$$ Y_i=\mu(x_i)+\varepsilon_i $$

Here \(x_i\) denotes the predictor values for case \(i\), \(\mu(x_i)\) is the model’s conditional mean at those values, and \(\varepsilon_i\) is the case’s deviation from that mean. For a standard regression model, the errors have conditional mean zero: \(E(\varepsilon_i\mid x_i)=0\). This means the mean function describes the center of the outcome distribution at each predictor profile; it does not say every outcome equals that center.

For the usual regression interpretation, observations are independent, the mean function is correctly specified for the predictor profiles of interest, and the error variation is stable across those profiles. A normal-error assumption is not needed simply to calculate or interpret a point prediction. These assumptions support the model’s description of the conditional mean and its errors; they do not make an individual error vanish.

In practice, \(\mu(x_0)\) is unknown, so the fitted model estimates it with \(\hat{\mu}(x_0)\). Because the data used to fit the model could have been different, \(\hat{\mu}(x_0)\) is itself uncertain. But a future case also has its own \(\varepsilon_{\text{new}}\), which is not known when the point prediction is made. These are separate ideas: uncertainty about where the mean is, and variation of individual outcomes around that mean.

Why the Conditional Mean Is a Natural Point Prediction

The conditional mean is the best single-number prediction when prediction errors are judged by squared error. This result explains why regression commonly reports a fitted mean as its point prediction. It does not imply that this number will be close to every individual outcome.

Justification: Suppose \(Y\) has conditional mean \(\mu(x_0)\) and finite conditional variance at \(x_0\). For any proposed point prediction \(a\), its expected squared prediction error is
$$ E\left[(Y-a)^2\mid X=x_0\right] = \operatorname{Var}(Y\mid X=x_0)+\left(\mu(x_0)-a\right)^2. $$

To see this, write \(Y-a=(Y-\mu(x_0))+(\mu(x_0)-a)\), square both sides, and take the conditional expectation. The cross-term has expectation zero because \(E[Y-\mu(x_0)\mid X=x_0]=0\). The first term becomes the conditional variance, leaving the squared distance between the proposed prediction and the mean. The variance does not depend on \(a\), while the squared distance is minimized at \(a=\mu(x_0)\). Thus the conditional mean minimizes expected squared error. Since the true mean is generally unknown, the fitted mean is used as its estimate.

The variance term in this decomposition remains even when \(a\) equals the true mean. In other words, predicting the mean perfectly would still leave individual outcomes dispersed around it. Estimating the mean introduces another source of uncertainty; it does not replace or remove the new case’s outcome variation.

Worked Example: A Fitted Mean Is Not an Individual Guarantee

Suppose a hypothetical study models an exam score \(Y\), in points, using study time \(x\), in hours. The fitted mean function is \(\hat{\mu}(x)=50+5x\). Find the point prediction for a new student who studies 4 hours, and explain what the number means.

Point prediction. Substitute \(x=4\) hours into the fitted mean function:

$$ \hat{\mu}(4)=50+5(4)=50+20=70\text{ points}. $$

The point prediction is 70 points. It estimates the model’s average exam score for students with 4 hours of study time. It is not a claim that every such student will score exactly 70.

For a new student, the model’s conceptual decomposition is \(Y_{\text{new}}=\mu(4)+\varepsilon_{\text{new}}\). The fitted value 70 estimates \(\mu(4)\); the student’s error is not known before the exam. If the student’s eventual score were 64 points, the observed deviation from the fitted mean would be \(64-70=-6\) points. That example illustrates a possible deviation; it is not information available when making the prediction.

The line’s interpretation depends on the model being a reasonable description of the conditional mean at 4 hours and on the study’s observations being independent with mean-zero errors. Those conditions do not require the student’s individual score to equal the mean.

Mean-Estimate Uncertainty and New-Outcome Variation

The fitted mean changes from sample to sample. A standard error for a fitted mean describes the sampling uncertainty in \(\hat{\mu}(x_0)\): it summarizes how much the estimated mean would typically vary across repeated samples under the model. It is not the spread of individual outcomes at \(x_0\).

The error \(\varepsilon_{\text{new}}\), by contrast, belongs to the new case. It represents the difference between that case’s outcome and the conditional mean at its predictor profile. Before the outcome is observed, this error is unobserved. A model may have a small standard error for the fitted mean and still have substantial individual variation, or the reverse. The two quantities answer different questions and should not be described interchangeably.

Worked Example: Two Different Uncertainty Measures

A hypothetical regression of appointment duration on a patient’s age gives a fitted mean of 144 minutes for a specified age profile. The model output reports a standard error of 3 minutes for that fitted mean, and a residual standard deviation of 12 minutes. Interpret the point prediction and each uncertainty measure.

The point prediction is 144 minutes. It estimates the average appointment duration for cases at the specified age profile.

The 3-minute standard error describes the uncertainty in estimating that average from the sample. If comparable samples were repeatedly collected and the model refitted, the fitted mean at this profile would vary from sample to sample. The standard error measures that variation in the estimated mean.

The 12-minute residual standard deviation describes the typical scale of individual deviations from the conditional mean under the model. It concerns outcome variation around the mean, not how precisely the mean was estimated.

Therefore, it would be incorrect to report “144 minutes, with 3 minutes of individual variation” or to treat 12 minutes as the standard error of the fitted mean. The first confuses mean-estimate uncertainty with individual variation; the second reverses their roles. To interpret these figures, assume the mean function is adequate at the profile and that the errors are independent, centered at zero, and have roughly stable variation. The values alone do not establish that those assumptions hold.

Observed Residuals Are Not the Future Error

For a case already in the data, its fitted value is \(\hat{\mu}(x_i)\), and its residual is \(e_i=y_i-\hat{\mu}(x_i)\). A residual is calculated after observing that case’s outcome. It records how far the observed outcome is from the fitted value. The future error \(\varepsilon_{\text{new}}\) is different: it is the deviation of an as-yet-unobserved outcome from its conditional mean.

Residuals can help assess whether the model’s assumptions are plausible and can provide information about the scale of unexplained variation. But a particular training-case residual is not the new case’s error. Knowing the residuals from earlier cases does not reveal exactly how far the next outcome will lie from its mean.

Worked Example: Predicting a New Patient’s Measurement

A hypothetical model predicts a follow-up measurement \(Y\), in units, from a baseline measurement \(x\), also in units. Its fitted mean function is \(\hat{\mu}(x)=30+1.2x\). A new patient has baseline value \(x=15\). Find the point prediction and state what remains unknown.

Substituting the baseline value gives:

$$ \hat{\mu}(15)=30+1.2(15)=30+18=48\text{ units}. $$

Thus, 48 units is the fitted estimate of the average follow-up measurement among cases with baseline value 15 units. For this particular new patient, the model represents the outcome as the conditional mean plus an individual error. The mean is estimated by 48 units, while the individual error is not observed until the follow-up measurement is available.

For the point prediction to have this interpretation, the model must describe the conditional mean adequately near a baseline value of 15, and its errors must be centered at zero. The value 15 should also be within a range where the fitted relationship is supported by data; otherwise the interpretation depends on extending the model beyond the observed predictor values. Even with a well-supported model, the point prediction alone does not specify how far an individual outcome may be from 48 units.

Why the Distinction Matters

A point prediction is useful because it gives a concise, interpretable summary of the model’s estimated center at a predictor profile. But reporting it as though it were a guaranteed individual outcome overstates what regression has established. For questions about one future case, a complete account must address both the uncertainty in the estimated mean and the outcome’s variation around that mean. The construction and calibration of prediction intervals are separate tasks; the point prediction alone is not an interval.

A common mistake is to say, “The fitted value is 70, so the next student will score 70,” or to add a residual from an earlier observation and call the result the new student’s prediction. The correction is to say, “The fitted value estimates the conditional mean at this profile; an individual outcome may differ because its error is unobserved.” This wording is both precise and appropriately cautious.

Key takeaway: A fitted regression value \(\hat{\mu}(x_0)\) is a point estimate of the conditional mean, not a known future outcome. Uncertainty in that estimated mean and residual variation in a new individual outcome are distinct sources of uncertainty.

Check Your Understanding

Answer each question in context, distinguishing the mean from an individual outcome.

  1. A fitted model predicts a mean score of 82 points for a specified profile. What does 82 estimate, and what does it not guarantee?
  2. Explain the difference between the standard error of a fitted mean and the residual standard deviation.
  3. For a new case, what does \(\varepsilon_{\text{new}}\) represent, and when would its value become observable?
  4. A student’s observed score is 77 points when the fitted mean is 82 points. Calculate the observed deviation from the fitted mean and explain why it is not the future error for another student.
  5. Why does the conditional mean minimize expected squared prediction error, and why can individual outcomes still differ from it?