Extrapolation
Intermediate
What you need first. Nothing else on this path comes first. This page is part of Statistical inference.
In statistical inference, an extrapolation is an estimate of a response at an explanatory value outside the observed set. A line fitted on family incomes between a few thousand dollars and about a quarter of a million dollars will produce a number if one plugs in an income of a million. Extrapolation is that step: using the fitted relation at an explanatory value outside the set of values that were observed. The arithmetic is the same as interpolation. The justification is not, because nothing in the sample showed that the relation still holds out there.[1][2]
Extrapolation
| Fact | Value |
|---|---|
| Topic | Statistical inference |
| Listed on | Statistical inference |
| Worked example | 1 |
Motivating example
Elmhurst College’s aid to a sample of freshmen is summarised by , with incomes in the scatter running up to roughly . Substituting a family income of gives . The formula says the student would receive negative aid. The college does not bill a negative grant. The line was a local description of aid against income inside the observed window. Outside that window it is an extrapolation, and the extrapolation has left the process the data were able to describe.[2]
Definition
An extrapolation is an estimate of the dependent variable at values of the independent variable that lie outside the set of observed values. A simple linear regression fitted to pairs can be evaluated at an beyond the smallest and largest sample , and a multiple regression can be evaluated at a covariate vector outside the observed cloud. In a time series, extrapolation is the use of a model determined from values at times to produce a value at a later time.[1]
The operation is distinguished from evaluation inside the observed range. Inside the range, the data have at least had a chance to contradict the fitted shape. Outside it, the fit is being trusted on the hypothesis that the model does not change for the new explanatory values. That hypothesis is not checked by the residual sum of squares of the original fit.[1][2]
A fitted line is an approximation on the range where the points sit. The slope is an average tilt over that range. Beyond the last point, the tilt can change, flatten, or hit a boundary the linear formula cannot represent, such as aid that cannot be negative. Time series make the same bet one step past the last time index: the model fitted on is asked for time . The forecast exists as a number whenever the formula can be evaluated. Its claim to be a description of the series is the claim that the mechanism has not changed.[1][2]
Smooth curves can fail more sharply than straight lines. A polynomial, or a spline beyond its boundary knots, is free to bend in a region where there are no observations to restrain it. The pointwise variance of a least-squares spline fit shows the uncertainty blowing up past the boundary, and the point estimate itself can swing more wildly than the global polynomial of the same degree.[3]
Properties
The formula used to extrapolate is whatever formula was fitted. For the Elmhurst line the extrapolated aid is the same linear expression, and it decreases by dollars of aid per extra dollar of income without a floor. Nothing in the least-squares algebra inserts a warning when leaves the sample. The warning is a property of the scientific claim, not of the minimiser.[2][4]
For kernel and local-polynomial smoothers, boundary behaviour is an asymptotic question as well as a practical one. Asymptotic mean-squared-error comparisons favour local linear fits over local quadratic fits when the interest is the boundary, because the boundary is where extrapolation, or near-extrapolation, is most sensitive to the degree of the local polynomial. A global cubic polynomial fitted to the interior is already a poor guide past the last observation; a spline that continues as a polynomial beyond the outer knots exaggerates the problem.[3]
A prediction interval computed from a linear model at an extrapolated widens because the leverage of a remote is large. The widening accounts for sampling uncertainty in the fitted mean and, in a prediction interval, for a new residual. It does not account for a change in the form of the mean. Coverage statements for the interval are statements inside the model that was fitted.[2]
Before reporting a fitted value, compare the requested explanatory point with the observed range of each covariate, not only with the range of the response. If the point is outside, say so, and treat the number as an extrapolation whose validity is the claim that the fitted mechanism persists. In forecasting, the same discipline applies one step ahead and becomes stricter several steps ahead, where the path depends on the fitted dynamics remaining stable. Multiple regression does not remove the issue: a point can lie inside every one-dimensional range and still sit outside the observed joint cloud.[1]
Prefer a summary that is honest about the edge when the edge is the scientific question. For a smooth regression, a local linear fit is the more reliable default if the analysis must approach the boundary. A natural constraint, such as aid that cannot be negative, is a change of model, not a property that least squares will discover from interior points.[3][2]
Worked example
The Elmhurst line gives, at a family income of ,
The extrapolated aid is . At an income of , which the scatter still reaches, the same line gives , an ordinary fitted value inside the window. The two evaluations use one formula. Only the first is an extrapolation. The sign change is the model leaving the region where aid grants, in this college’s practice, live.[2][1]
Your turn. Using , compute the fitted aid at a family income of .
. The fitted aid is . Whether is inside the original sample’s income range decides whether this number is an interpolation or an extrapolation. The arithmetic does not decide that.
Assumptions and limits
The fitted model is being assumed to persist at the new explanatory value. That assumption is extra. Least squares, as a numerical method, only minimises squared error on the points it was given. Time-series extrapolation adds the assumption that the temporal structure estimated up to still governs . If a constraint such as non-negativity binds outside the sample, the unconstrained fit will not respect it. Checking a few points near the edge of the sample is a sensitivity check, not a proof that the next point beyond the edge obeys the same line.[1][4]
A high on the observed sample does not validate an extrapolation. The coefficient of determination summarises residuals inside the fit. Extrapolation fails when the mean function changes outside the sample, which those residuals do not see. A prediction interval at a remote is not a remedy for a wrong mean function. Polynomials and splines are not safer than lines at the edge; past the boundary knots they are often less safe. Multiple regression is not exempt.[2][3][1]
Check yourself
Try these questions before opening an answer.
Negative aid
Using aid = 24319 - 0.0431 times income, what aid does an income of 1000000 produce?
The extrapolated aid is -18781.
Inside a larger income
Using the same line, what aid does an income of 200000 produce?
The fitted aid is 15699.
Four hundred thousand
Using the same line, what aid does an income of 400000 produce?
The fitted aid is 7079.
History
The operation is as old as using a fitted relationship to fill a value that was not measured. Encyclopedic usage defines it as estimation of the dependent variable off the observed set of the independent variable, and notes the standard setting in time series, where a model on times is asked for . The caution attached to that definition is unchanged in modern regression teaching: the number is computed from the hypothesis that the model does not change, and a linear formula will happily produce a negative grant, or a temperature no climate produces, once the explanatory value leaves the window that was studied. Spline and kernel methods made the boundary problem quantitative, by showing how fast variance grows and how local polynomial degree changes the bias just where the data stop.[1][2][3]
Ordinary least squares produces the line that is so often evaluated past the data. A prediction interval widens with leverage but stays inside the fitted model. Forecasting in a time series is extrapolation along the time index. Asymptotic analysis of local polynomials is one place the boundary, where extrapolation begins, changes the preferred degree of fit.
See also
Line chart · Apriori algorithm · Asymptotic analysis · Average treatment effect · Base rate · Bayesian inference · Bayesian model · Bayesian probability
References
- ^ a b c d e f g h i a. (p. 195) b. (p. 195) c. (p. 195) d. (p. 195) e. (p. 195) f. (p. 195) g. (p. 195) h. (p. 195) i. (p. 195) Dodge, Yadolah (2008). The Concise Encyclopedia of Statistics. Springer. https://doi.org/10.1007/978-0-387-32833-1
- ^ a b c d e f g h i j a. (Ch. 8, §8.2.6, p. 322) b. (Ch. 8, §8.2.6, p. 322) c. (Ch. 8, §8.2.6, p. 322) d. (Ch. 8, §8.2.6, p. 322) e. (Ch. 8, §8.2.6, p. 322) f. (Ch. 8, §8.2.6, p. 322) g. (Ch. 8, §8.2.6, p. 322) h. (Ch. 8, §8.2.6, p. 322) i. (Ch. 8, §8.2.6, p. 322) j. (Ch. 8, §8.2.6, p. 322) Diez, D. M., Çetinkaya-Rundel, M. & Barr, C. D. (2019). OpenIntro Statistics (4th ed.). OpenIntro. https://www.openintro.org/book/os/
- ^ a b c d e a. (Ch. 5, §5.2.1, p. 144) b. (Ch. 5, §5.2.1, p. 144; Ch. 6, §6.1.2, p. 198) c. (Ch. 6, §6.1.2, p. 198) d. (Ch. 5, §5.2.1, p. 144) e. (Ch. 5, §5.2.1, p. 144; Ch. 6, §6.1.2, p. 198) Hastie, T., Tibshirani, R. & Friedman, J. (2009). The Elements of Statistical Learning. Springer. https://doi.org/10.1007/978-0-387-84858-7
- ^ a b a. (§4.1.4.1) b. (§4.1.4.1) NIST/SEMATECH (2002). NIST/SEMATECH e-Handbook of Statistical Methods, §4.1.4.1: Linear Least Squares Regression. National Institute of Standards and Technology. https://www.itl.nist.gov/div898/handbook/pmd/section1/pmd141.htm
Cite this page
StatWiki (2026). "Extrapolation." StatWiki. Last updated 2 December 2026. https://www.statwiki.io/articles/extrapolation.html
@misc{statwiki_extrapolation,
author = {{StatWiki}},
title = {{Extrapolation}},
year = {2026},
url = {https://www.statwiki.io/articles/extrapolation.html},
urldate = {2026-12-02},
note = {StatWiki, last updated 2 December 2026}
}