For a numerical reference value and a computed value , the signed approximation error is . Stating the reference matters: comparison with a measured value assesses agreement with that value, rather than with an unknown exact value.
An error bound is an established upper bound on a specified approximation error, on a stated domain and under stated assumptions. A numerical comparison at selected points can test an approximation but does not by itself establish a bound throughout that domain. An absolute error bound controls ; a relative error bound additionally specifies the reference scale.
The absolute error is the absolute value of the approximation error, , measured in the same units as the numerical reference . For example, approximating by gives absolute error .
For a nonzero reference value , the relative error is the absolute error divided by the reference's absolute value:
It is dimensionless and expresses the size of the error compared with the quantity being approximated. Approximating by has absolute error and relative error . The definition is unavailable when the reference is zero; use an absolute error or a separately stated scale in that case.
For a nonzero reference transfer function , the complex relative gain error is the relative error
It measures the distance from the complex ratio to one, so it responds to both amplitude error and phase error. A vector vector network analyzer measures both quantities; replacing its complex result by a magnitude discards part of the measured information.[ref]
Write , where and is the phase difference. Multiplying by the complex conjugate gives
Thus a pure five-degree phase error has , about , even though the magnitude ratio is exactly one. For small and small measured in radians, . Adding the two unsigned errors is generally not the same operation.
The metric also controls signals. Suppose two linear time-invariant systems have frequency responses and act on the same input in L2 space. On its frequency support assume almost everywhere and almost everywhere. Applying the norm bound for a Fourier multiplier on L2 to the reference output yields
This is an output-relative bound, so input frequencies suppressed by a zero of require separate treatment. Near a reference zero, a small absolute error can produce an enormous complex relative error; an absolute or explicitly fixed-scale tolerance is then more informative.
The signed relative error is for a nonzero reference . Its absolute value is the relative error. For a positive reference, a negative signed relative error means underestimation, and a positive one means overestimation. For a negative reference that interpretation reverses, so retain the displayed definition when interpreting its sign.

Articles by others on the same topic (1)

Approximation error refers to the difference between a value produced by an approximate method and the exact or true value that one is trying to estimate or calculate. In various fields such as mathematics, statistics, computer science, and engineering, approximation errors occur when simplified models, numerical methods, or algorithms are used to estimate more complex systems or functions.