Interpolation and Fitting with Noisy Observations

An interpolant reproduces selected data values exactly. A fitted model can leave residuals while representing a simpler relationship.

Source
Anbloq
Language
English
Created
Updated
Chapters
4
Reading time
1 min
In this article4 chapters
  1. Trace three points
  2. Choose by the source of variation
  3. Compare exact passage through samples with a shared trend
  4. Decide what measurement error means for the problem

Trace three points

For observations (0,0), (1,2), and (2,2), a line cannot pass exactly through all three. A degree-two polynomial can. A least-squares line may instead be chosen to minimize squared residuals. See interpolation uniqueness.

Choose by the source of variation

If points contain measurement noise, exact agreement at observed positions can amplify it between them. Least squares and QR give one stable fitting method.[1][2]

Compare exact passage through samples with a shared trend

Data \((0,0),(1,2),(2,2)\) can be interpolated by joining consecutive points. At \(x=1\) the result is exactly two. Their ordinary unweighted least-squares line is \(y=x+1/3\) and gives \(4/3\) there, with nonzero residuals by design. See least squares through the origin.

Points (0,0),(1,2),(2,2)
Piecewise interpolation at 1: 2
Line with slope 1 and intercept 1/3: 4/3
Fit residuals at x=0,1,2: -1/3, 2/3, -1/3

Decide what measurement error means for the problem

Interpolation is useful for points meant to be honored exactly. A fitted model can represent a smoother trend under noisy observations. Evaluate it using appropriate held-out or independently trusted values.

References

  1. Tobin A. Driscoll and Richard J. Braun, Fundamentals of Numerical Computation ↩
  2. Nicholas J. Higham, Accuracy and Stability of Numerical Algorithms ↩