Short Answer
Interpolation and extrapolation describe two directions an estimate can travel relative to the data that produced it. Interpolation estimates a value that lies between, or within, known values in a sequence of data. Extrapolation estimates a value outside the observed data range by assuming that the inferred pattern continues. The distinction matters because an interpolated estimate is supported by observations on all sides, while an extrapolated estimate rests on an assumption the data itself cannot verify — an assumption that fails often enough to have spoiled bacteria counts, sales forecasts, and population projections alike.
This article explains what each term means, why estimates outside the data range fail so frequently, and how to recognize — in one-variable and multi-variable settings alike — the moment an estimate crosses that boundary.
What the two terms mean
The word roots make the difference easy to remember. ‘Inter-‘ means ‘in between,’ and ‘extra-‘ means ‘in addition to.’ Interpolation is the act of estimating a value within two known values that exist within a sequence; extrapolation is inferring something not explicitly stated from existing information by extending a known sequence of values or facts (TechTarget).
In regression analysis — fitting an equation that relates a response to one or more predictor variables — the safe zone has a formal name. Penn State’s STAT 501 course notes call the range of x values in the sample data used to fit an equation the scope of the model. Using the estimated equation to estimate a mean or predict a new response for x values not in that range is extrapolation beyond the scope of the model. Estimating within the range, by drawing on neighboring observations, is interpolation.
Why extrapolation fails so often
A fitted model summarizes the trend present in the data used to build it. Nothing about that trend is guaranteed to persist outside the observed window: relationships can curve, flatten, saturate, or reverse once conditions move beyond the territory the data covered. Penn State’s notes state the moral plainly: the trend in the data, as summarized by the estimated regression equation, does not necessarily hold beyond it.
Three documented examples show what the failure looks like:
- A trend that reverses. Researchers measured bacteria colony counts at urine concentrations from 0 to 5.80 ml/plate and fitted a straight line. Extrapolating to 11.60 ml/plate — exactly twice the upper edge of the data — predicted about 34.8 colonies. When they ran the experiment at 11.60, the colony count instead decreased dramatically, to roughly 15.1 (Penn State STAT 501).
- A nonsensical value on the fitted line itself. A linear model relating temperature to sports-drink sales, fitted on observations made only above 50°F, extends to an intercept of -405.26 at 0°F. That prediction is not useful: freezing temperatures were never observed, and sales behavior may change at extreme heat or cold (Manning, Grokking Statistics).
- Absurd long-range projections. A common classroom exercise asks students to fit a population-growth model and predict far into the future, producing nonsensical outputs such as trillions of people or a negative number of people (Rick Wicklin, SAS Blogs).
A common thread runs through these failures: goodness-of-fit statistics computed from the observed data say little about the unseen region. As the Grokking Statistics passage warns, a fitted function can oversimplify extreme values, so statistical measures from inside the data range do not vouch for predictions beyond it.
Recognizing when an estimate leaves the data range
One-predictor models: a simple range check
With a single predictor, the test is direct. Compare the value at which you want an estimate against the minimum and maximum of the sample data used to fit the model — the scope of the model. A value inside those bounds is interpolation; a value beyond them is extrapolation and should be treated as uncertain rather than accepted as a continuation of the trend. The bacteria model’s scope ran from 0 to 5.80 ml/plate, so a prediction at 11.60 was unambiguously extrapolation. The sports-drink model was fitted only above 50°F, so any estimate at 0°F was extrapolation from the moment the line was drawn.
Multiple predictors: the convex hull test
With several predictors the check is subtler, and this is where many extrapolation errors hide. Each input variable can be inside its own observed range while the particular combination of values was never seen in the data. On Rick Wicklin’s SAS blog, the rule is stated precisely: interpolation occurs when you evaluate the model inside the convex hull of the training data — the tightest polygon enclosing all the training points, like a rubber band stretched around them. Anything else is an extrapolation.
A labeled hypothetical shows why. Suppose a model is fitted on temperature and pressure, and every experimental run raised both together, so the data points trace a diagonal band. A query at the highest observed temperature combined with the lowest observed pressure sits inside the bounding box — the rectangle spanning each variable’s extremes — but outside the band. Evaluating the model there is extrapolation, even though neither variable individually leaves its observed range. In Wicklin’s words, you might be extrapolating even if you score the model at a point inside the bounding box of the training data. This situation arises whenever predictors are correlated, because correlation leaves whole regions of the bounding box unobserved.
Interpolation versus extrapolation at a glance
| Aspect | Interpolation | Extrapolation |
|---|---|---|
| Position of the estimate | Between or within known values in the observed data | Beyond the observed range of the data |
| Evidence base | Surrounded by observations on all sides | An inferred pattern assumed to continue |
| Reliability | More defensible within the collected range, though model misfit is still possible | Can become unreliable; documented cases include reversed trends and nonsensical values |
| Single-predictor check | Query value lies between the minimum and maximum of the sample data | Query value lies outside that range |
| Multi-predictor check | Query point lies inside the convex hull of the training data | Query point lies outside the convex hull, even if inside the bounding box of each variable |
The last two rows are the operational core: the convex hull criterion, not the per-variable bounding box, defines the boundary in multi-variable problems.
Common mistakes and misconceptions
Checking each variable separately. Confirming that every input is within its observed range feels like a sufficient check, but for multi-predictor models it is not. The binding test is the convex hull: a point can pass the per-variable check and still be extrapolation (SAS Blogs).
Trusting fit statistics alone. A model can fit the observed data well and still fail badly outside it. Plot the data and inspect the fitted model before trusting statistical measures, because a fitted function can oversimplify behavior at extremes (Manning).
Assuming a more complex model solves the problem. The extrapolation problem is not an artifact of simple straight lines; the same problem affects more complex machine-learning models (Manning). Any model, however sophisticated, is trained on observed data and carries no guarantee about values beyond it.
Treating all extrapolation as worthless. Extrapolation is not inherently invalid — forecasting, by its nature, extends patterns beyond current observations. The workable rule is honesty about status: treat an out-of-range prediction as uncertain rather than assuming the trend continues, and state that assumption explicitly when the result is reported (Manning).
A practical checklist
- Record the scope. For each predictor, note the minimum and maximum of the data actually used to fit the model.
- Check the query point. With one predictor, compare against that range. With several, think in terms of the convex hull of the training data, not the per-variable bounding box.
- Plot before predicting. Graph the data with the fitted model and mark the query point; visual inspection exposes curvature and oversimplification that summary statistics hide.
- Label uncertainty. If the estimate falls outside the observed range, present it as an assumption-dependent extension, not a well-supported prediction.
- Cover the region of interest with data. The most reliable remedy is evidence collected where the estimate is actually needed — the bacteria researchers only discovered the reversal by running the experiment at 11.60 ml/plate.
Interpolation borrows strength from surrounding evidence; extrapolation spends credibility on an assumption. Knowing which side of the boundary an estimate sits on — the observed range for one predictor, the convex hull for many — is the first step toward using each for what it can legitimately deliver.
FAQ
What is the difference between interpolation and extrapolation?
Interpolation estimates a value between or within known values in the observed data. Extrapolation estimates a value outside the observed data range by extending the inferred pattern. The prefixes capture it: inter- means 'in between' and extra- means 'in addition to'.
Why is extrapolation considered risky?
A fitted model summarizes the trend within the observed data, and that trend is not guaranteed to continue outside it. Documented failures include a bacteria model that predicted 34.8 colonies at 11.60 ml/plate while the experiment showed the count dropping dramatically to about 15.1, and a sales model whose fitted line implied a nonsensical negative value at 0°F despite being fitted only above 50°F.
What is the convex hull test for multivariate models?
For models with several predictors, interpolation occurs only when the query point lies inside the convex hull of the training data — the tightest polygon enclosing all data points. Anything else is extrapolation, including points that sit inside the bounding box of each individual variable.
Is extrapolation ever appropriate?
Yes — forecasting inherently extends patterns beyond current observations. The practical rules are to treat out-of-range predictions as uncertain rather than assuming the trend continues, to state that assumption explicitly, and to plot and inspect the data and model rather than relying on fit statistics alone.
Leave a Reply