19 Uncertainty Analysis for Numerical Methods#
In this chapter the measurement uncertainty framework outlined in the Guide to the expression of uncertainty in measurement is introduced. This will be adapted to the numerical methods covered in this course more directly in each of the chapters dedicated to the numerical methods.
In this chapter works from the Joint Committee for Guides in Metrology (JCGM) are used, specifically:
“Guide to the expression of uncertainty in measurement” (GUM) [U1]
“International vocabulary of metrology” (VIM) [U2]
Additional GUM supplements
The context for the GUM framework is metrology - the science of measurement (normally physical). The terminology will reflect the physical nature of this framework, and much of our uses for it are adaptations or extensions of the framework.
What is a measurement?
The objective of a measurement is to determine the unique value of a physical quantity called the measurand.
We cannot know the value of the measurand with absolute certainty due to:
Limitations in the definition of the measurement
Limitations from the nature of the measurement (apparatus, etc)
The result of a measurement is usually quoted as the best approximation of the measurand, along with an estimated uncertainty of the measurand. The standard uncertainty is the uncertainty of a measurement expressed as a standard deviation.
Important
Some people use the term "error" interchangeably with "uncertainty". In these notes the term "standard uncertainty" will be used precisely as described in the GUM. The term "error" will be used in more general cases:
- Errors as flaws in code (syntax / runtime errors)
- Errors as resulting from approximations / truncations in numerical methods (truncation error)
- Errors as the difference between an approximated value and the analytical value (true error / absolute error)
What is the uncertainty of a measurement?
From the GUM [U1] and VIM [U2]:
The uncertainty parameter, associated with the result of a measurement, that characterizes the dispersion of the values that could reasonably be attributed to the measurand.
Sources of Uncertainty#
The sources of uncertainty depend entirely on the context of the measurement. For example, for physical measurements some sources may be:
Precision of measurement instruments
Randomness due to uncontrollable complexities in a physical system
For numerical algorithms, some sources of uncertainty may be:
Floating point precision (often negligible)
Truncation errors (from specific algorithm used)
Randomness from sampling random variables
Methods of Uncertainty Evaluation#
To determine the standard uncertainty of a measurand, knowledge of what the possible measurand values is needed. This is often in the form on a probability distribution function (PDF).
There are two types of methodologies on the GUM framework for evaluating the uncertainty of a measurement result:
Type A evaluation of uncertainty
Evaluating uncertainty by statistical analysis of a series of observations. The PDF is derived from the observed frequency distribution of measurements.
Type B evaluation of uncertainty
Evaluation of uncertainty by other means (includes single measurements). The PDF is assumed based on knowledge of measurement.
Mathematical Notation#
We will be using a consistent mathematical notation for measurements and uncertainty in these notes. Given a measurand \(X\):
An estimation of this (as resulting from a measurement) is denoted as \(x\).
The standard uncertainty of this estimation will be denoted by \(u(x)\). Note that this should not necessarily be interpreted as a “function of \(x\)”.
References#
BIPM, IEC, IFCC, ILAC, ISO, IUPAC, IUPAP, and OIML. Evaluation of measurement data — Guide to the expression of uncertainty in measurement. Joint Committee for Guides in Metrology, JCGM 100:2008. URL: https://www.bipm.org/documents/20126/2071204/JCGM\_100\_2008\_E.pdf/cb0ef43f-baa5-11cf-3f85-4dcd86f77bd6.
BIPM, IEC, IFCC, ILAC, ISO, IUPAC, IUPAP, and OIML. International vocabulary of metrology — Basic and general concepts and associated terms (VIM). Joint Committee for Guides in Metrology, JCGM 200:2012. (3rd edition). URL: https://www.bipm.org/documents/20126/2071204/JCGM_200_2012.pdf/f0e1ad45-d337-bbeb-53a6-15fe649d0ff1.