Author-reviewedEvidence: highv1.0.0

Interpolation

Interpolation estimates a value between observed or modelled data points using an assumed relationship across the interval.

Last reviewed byDr Darrin Baines

Concept Architecture

What interpolation does

It fills an internal gap in a defined domain; estimating beyond the available range is extrapolation and usually requires stronger assumptions.

The method is common in health-economic models when outcomes, costs, utilities, hazards, or calibration targets are available only at selected times or parameter values. The choice of method matters because different interpolants can agree at the known points while producing materially different values between them.

The points that anchor an interpolation

Known locations x0,x1,…,xnx_0,x_1,\ldots,x_n are called nodes, with corresponding values yi=f(xi)y_i=f(x_i). An interpolating function p(x)p(x) is constructed so that it passes through those observations.

p(xi)=yi,i=0,1,…,np(x_i)=y_i,\qquad i=0,1,\ldots,n

Interpolation does not create new empirical information. It distributes information between nodes according to the method's assumptions about shape, smoothness, monotonicity, and scale.

Linear interpolation between two points

Linear interpolation joins two adjacent nodes with a straight line. It is transparent and stable, but it assumes a constant rate of change over the interval.

For x0≤x≤x1x_0\leq x\leq x_1:

p(x)=y0+x−x0x1−x0(y1−y0)p(x)=y_0+\frac{x-x_0}{x_1-x_0}(y_1-y_0)

The weight on the upper node is w=(x−x0)/(x1−x0)w=(x-x_0)/(x_1-x_0), so the same formula can be written as:

p(x)=(1−w)y0+wy1,0≤w≤1p(x)=(1-w)y_0+wy_1,\qquad 0\leq w\leq1

Because the weights are non-negative and sum to one, the interpolated value lies between y0y_0 and y1y_1. This range-preserving property can be useful for bounded outcomes, although it does not guarantee that the straight-line path reflects the real process.

A worked health-utility example

Suppose mean health-state utility is 0.800.80 at month 2 and 0.650.65 at month 5. If a model needs the value at month 3 and assumes linear change between observations, the interpolation weight is (3−2)/(5−2)=1/3(3-2)/(5-2)=1/3.

p(3)=0.80+3−25−2(0.65−0.80)=0.80+13(−0.15)=0.75p(3)=0.80+\frac{3-2}{5-2}(0.65-0.80) =0.80+\frac{1}{3}(-0.15)=0.75

The interpolated utility at month 3 is 0.750.75. This calculation estimates the value at a time point; estimating QALYs over the interval requires integration or a specified within-interval approximation and should not be confused with the interpolation itself.

Piecewise linear interpolation

With several nodes, piecewise linear interpolation applies the two-point formula within each adjacent interval. The resulting curve is continuous at the nodes but usually has a change in slope, or kink, at each internal node.

Piecewise linear interpolation is often appropriate when the available evidence does not justify a smoother shape. It can nevertheless misrepresent processes with pronounced curvature, abrupt changes between measurement times, or known mechanistic constraints.

Polynomial interpolation

A single polynomial of degree at most nn can pass through n+1n+1 distinct nodes. The Lagrange form expresses that polynomial as a weighted sum of the observed values.

pn(x)=∑i=0nyiLi(x)p_n(x)=\sum_{i=0}^{n}y_iL_i(x)

where:

Li(x)=∏j=0j≠inx−xjxi−xjL_i(x)=\prod_{\substack{j=0\\j\neq i}}^{n} \frac{x-x_j}{x_i-x_j}

High-degree global polynomials can oscillate severely between evenly spaced nodes, especially near the boundaries. Adding or moving one node can also change the curve across the entire domain, so passing exactly through every point is not evidence that the interpolation is plausible.

Spline interpolation

Splines use low-degree polynomials in separate intervals and impose continuity conditions where the pieces meet. Cubic splines typically provide a smooth curve while avoiding many of the oscillations associated with one high-degree polynomial.

A cubic spline can enforce continuity of the fitted value, first derivative, and second derivative at internal knots. Boundary conditions—such as natural, clamped, or not-a-knot rules—affect the curve near the ends and must be stated when they can influence results.

Standard cubic splines may overshoot observed ranges or violate monotonicity. Shape-preserving methods, such as monotone piecewise cubic interpolation, are preferable when the quantity must remain ordered, non-negative, or within a clinically meaningful bound.

Interpolating on a transformed scale

The scale of interpolation encodes an assumption about how the quantity changes. Linear interpolation on the original scale is not equivalent to linear interpolation after a logarithmic, logit, or complementary log-log transformation.

For two positive values, log-linear interpolation is:

log⁡p(x)=(1−w)log⁡y0+wlog⁡y1\log p(x)=(1-w)\log y_0+w\log y_1

which gives:

p(x)=y01−wy1wp(x)=y_0^{1-w}y_1^w

Log interpolation preserves positivity and represents proportional rather than additive change. For probabilities, interpolation on the logit scale can preserve values within (0,1)(0,1), but values exactly equal to zero or one require a justified treatment rather than an arbitrary numerical adjustment.

Interpolation in two dimensions

Models sometimes require a value between grid points defined by two inputs, such as age and time or dose and baseline risk. Bilinear interpolation performs linear interpolation along each dimension within one rectangular grid cell.

Let u=(x−x0)/(x1−x0)u=(x-x_0)/(x_1-x_0) and v=(y−y0)/(y1−y0)v=(y-y_0)/(y_1-y_0). For corner values f00f_{00}, f10f_{10}, f01f_{01}, and f11f_{11}:

f(x,y)=(1−u)(1−v)f00+u(1−v)f10+(1−u)vf01+uvf11f(x,y)=(1-u)(1-v)f_{00} +u(1-v)f_{10} +(1-u)vf_{01} +uvf_{11}

The four weights are non-negative and sum to one when the target lies inside the grid cell. Bilinear interpolation is continuous across grid cells but generally does not produce continuous first derivatives at their boundaries.

How interpolation error behaves

Interpolation error depends on node spacing, the curvature or smoothness of the underlying function, data error, and the selected method. Dense nodes do not guarantee accuracy when observations are biased, noisy, or poorly located relative to rapid changes.

For linear interpolation of a twice-differentiable function, there is some ξ\xi between the nodes such that:

f(x)−p(x)=f′′(ξ)2(x−x0)(x−x1)f(x)-p(x)=\frac{f''(\xi)}{2}(x-x_0)(x-x_1)

The expression shows that error is zero at the nodes and increases with curvature and interval width. In practice, f′′(ξ)f''(\xi) is usually unknown, so empirical validation, alternative methods, and sensitivity analysis are often more informative than a theoretical bound alone.

Interpolation is not smoothing

An interpolating curve passes through the supplied data values, whereas a smoothing method is allowed to miss individual observations to estimate an underlying trend. This distinction matters when the data include sampling error or measurement noise.

Exact interpolation of noisy observations can reproduce noise as though it were signal. Regression splines, penalised splines, Gaussian processes, or other smoothing models may be more appropriate when the objective is estimation rather than exact passage through every point.

Interpolation is not extrapolation

Interpolation stays inside the range supported by surrounding nodes, while extrapolation projects outside that range. The same formula may be computable outside the interval, but its evidential meaning changes and the error can grow rapidly.

Spreadsheet formulas should explicitly flag values below the minimum or above the maximum node rather than silently extending the end segment. When extrapolation is required, it should use a separately justified model and be labelled as extrapolation.

Time interpolation in economic models

Clinical outcomes may be observed at visits that do not align with a model's cycle boundaries. Interpolation can map those observations to required time points, but the mapping must respect the meaning and timing of each measure.

  • Health utilities may be interpolated between assessments when a within-interval trajectory is clinically plausible.
  • Cumulative incidence or survival should be interpolated on a scale consistent with the event process and must preserve monotonicity.
  • Hazards and rates should not be treated as probabilities; the relevant time unit and transformation must be retained.
  • Costs may accrue discretely at events rather than smoothly, making interpolation inappropriate for some resource items.
  • Treatment effects may wane, begin after a delay, or change abruptly, requiring a clinically justified time function rather than automatic straight lines.

Interpolating a survival probability linearly can differ from interpolating cumulative hazard and transforming back. The method should match the model's structural assumptions and be tested for its effect on life-years, QALYs, and costs.

Preserving constraints

Many health-economic quantities have mathematical or clinical constraints that a generic interpolant can violate. A method should be selected and validated against those constraints, not only against visual smoothness.

QuantityRequired or expected constraintPossible safeguard
Probability or utilityUsually bounded between 0 and 1Use a bounded or transformed-scale method and check every generated value.
Survival functionNon-increasing from 1 toward 0Interpolate a monotone representation such as cumulative hazard when justified.
Cumulative hazard or cumulative costUsually non-decreasingUse a monotone interpolant and investigate any reversal in source data.
Rate or costOften non-negativeUse a positivity-preserving method or justified transformation.
Transition matrix rowProbabilities sum to 1Interpolate coherently and renormalise only with a documented rationale and validation.
Ordered clinical categoriesCategory order must be preservedInterpolate an appropriate latent or cumulative quantity rather than category labels.

Clipping invalid values after interpolation can conceal a poor method and create flat regions or biased totals. It is better to use an interpolant that respects the constraint by construction and to document any remaining boundary treatment.

Uncertainty in interpolated values

An interpolated point is often treated as deterministic even though the node values and assumed curve are uncertain. Ignoring this uncertainty can make downstream model results appear more precise than the evidence supports.

Probabilistic analysis should preserve dependence among node values and apply the interpolation consistently within each simulation draw. Structural sensitivity analysis can compare linear, transformed-linear, spline, and clinically specified shapes where the choice is genuinely uncertain.

If interpolation parameters are fitted from data, their estimation uncertainty should be propagated using an appropriate covariance structure, bootstrap, posterior distribution, or other method consistent with the model. Independently sampling neighbouring node values can create implausible zigzags when the source estimates are correlated.

Spreadsheet implementation

A transparent spreadsheet should separate node data, interval selection, interpolation weights, generated values, and validation checks. Lookup logic must identify the two correct surrounding nodes and must not silently use approximate matches on unsorted data.

For linear interpolation, an auditable calculation records x0x_0, x1x_1, y0y_0, y1y_1, the weight ww, and the resulting p(x)p(x). Required checks include duplicate node locations, missing node values, division by zero when x0=x1x_0=x_1, targets outside the supported range, discontinuities, boundary violations, and exact recovery of every input node.

Spreadsheet chart trendlines are not a substitute for a documented interpolation algorithm. Displayed curves may use rendering rules that are difficult to audit and may not match the values used in the economic model.

A practical workflow

A defensible interpolation begins by identifying why an internal estimate is needed and what behaviour is plausible between observations. The following workflow makes the mathematical and health-economic assumptions traceable.

  1. Define the target variable, units, domain, time scale, and reason interpolation is required.
  2. Inspect node order, spacing, precision, missingness, uncertainty, outliers, and measurement timing.
  3. State required bounds, monotonicity, continuity, smoothness, and mechanistic constraints.
  4. Choose the original or transformed scale on which change is assumed to be simple.
  5. Select the simplest interpolation method that respects the evidence and constraints.
  6. Calculate values with full precision and preserve the exact input nodes.
  7. Validate boundary behaviour, continuity, constraints, special cases, and independently calculated examples.
  8. Compare plausible alternative methods where curve choice could change a decision-relevant result.
  9. Propagate node and structural uncertainty through the downstream model.
  10. Document nodes, method, scale, software, assumptions, checks, and the treatment of out-of-range requests.

Interpreting and reporting interpolated results

An interpolated value is conditional on the observed nodes and the assumed behaviour between them. Extra decimal places reflect computation, not necessarily additional empirical precision.

Reporting should identify the node source, interpolation method, transformation, constraints, validation tests, uncertainty treatment, and whether any requested value required extrapolation. Common errors include confusing interpolation with extrapolation, using a high-degree polynomial because it fits every node, ignoring non-linearity or bounds, interpolating incompatible quantities, and presenting generated values as new observations.

Library

Publications

1
  • Journal article

    Parameter Estimation and Uncertainty: A Report of the ISPOR-SMDM Modeling Good Research Practices Task Force-6 — Briggs, Weinstein, Fenwick, Karnon, Sculpher & Paltiel, Task Force Report 6 ed., 2012 (Value in Health / Medical Decision Making)

    Best-practice guidance on parameter estimation and the characterisation of uncertainty in decision models, covering probabilistic sensitivity analysis, distributional choices, and correlation between parameters.

Frequently Asked Questions (6)

  • What is interpolation?

    A mathematical technique estimating an unknown value falling between two known data points, based on an assumed relationship between them.

    Source: Press et al. 2007

  • What assumption does interpolation rely on?

    Interpolation estimates a value between known data points by assuming the quantity behaves in a particular way between them, most simply that it changes at a steady rate so the points can be joined by a straight line. More elaborate versions assume a smooth curve instead. The estimate is only as good as that assumption, so interpolation is reliable when the underlying quantity really does vary smoothly and gently between the known points. Where it jumps or bends sharply, the assumption fails. Press and colleagues (2007) describe these methods.

    Source: Press et al. 2007

  • How does interpolation work?

    Interpolation works by fitting a function through the known data points and using it to estimate values between them. Linear interpolation assumes a straight line between two adjacent points, estimating an intermediate value proportionally. Higher-order methods, such as polynomial or spline interpolation, fit smooth curves through several points for greater accuracy where the relationship is not linear. The chosen method determines the assumed shape between points, so the estimate reflects how the values are assumed to vary in the gap.

    Source: Press et al. 2007

  • How does interpolation differ from extrapolation?

    Interpolation estimates values within the range of the known data points, between points where data exist, whereas extrapolation estimates values outside that range, beyond the observed data. Interpolation is generally more reliable, since it is constrained by data on both sides, while extrapolation is riskier, relying on assumptions about behaviour where no data exist. The distinction matters because extrapolation, common in projecting model outcomes beyond trial follow-up, carries greater uncertainty than interpolation between observed points.

    Source: Press et al. 2007

  • Where is interpolation used in modelling?

    In modelling, interpolation is used to estimate values between known data points, such as filling in costs, probabilities, or utility values for ages or times where only some values are tabulated, or reading values from a function known only at certain points. It is also used within numerical methods. By providing estimates between known points, interpolation lets models use continuous or finely spaced inputs derived from coarser data, though the assumed relationship between points affects the estimates.

    Source: Press et al. 2007

  • What are the limitations of interpolation?

    Interpolation depends on the assumed relationship between the known points, so it can be inaccurate if the true behaviour differs from the assumption, for instance if a straight line is assumed where the relationship curves. Sparse or noisy data points give less reliable interpolation, and higher-order methods can oscillate between points. Interpolation is only valid within the range of the data; estimating beyond it is extrapolation, which is riskier. These limitations mean the method and its assumptions are chosen to suit the data.

    Source: Press et al. 2007

Trust Record

Verified by Dr Darrin Baines

British health economist

Professional identity: darrinbaines.org

Verification date: 24 Sep 2026

Content version: 1.0.0

Canonical Identity

Term code
HE-EM-MP-018

Stable URI · Machine-readable · Resolvable · CC BY 4.0