Propagation of uncertainty

From Free net encyclopedia

In statistics, propagation of uncertainty (or propagation of error) is the effect of variables' uncertainties (or errors) on the uncertainty of a function based on them. Mainly, the variables are measured in an experiment, and have uncertainties due to measurement limitations (e.g. instrument precision) which propagate to the result.

The uncertainty is usually defined by the absolute error — a variable that is probable to get the values x±Δx is said to have an uncertainty (or margin of error) of Δx. In other words, for a measured value x, the true value is probable to be in [x−Δx, xx]. Uncertainties can also be defined by the relative error, Δx/x, and then it is usually written as percentage. It is assumed that the probability of the true value to be in distinct distances from the measured value is normally distributed, with the uncertainty being the standard deviation.

This article explains how to calculate the uncertainty of a function, if the variables' uncertainties are known.

Contents

General formula

Let <math>f(x_1,x_2,...,x_n)</math> be a function which depends on <math>n</math> variables <math>x_1,x_2,...,x_n</math>. The uncertainty of each variable is given by <math>\Delta x_j</math>:

<math>x_j \pm \Delta x_j\, .</math>

If the variables are uncorrelated, we can calculate the uncertainty Δf of f that results from the uncertainties of the variables:

<math>\Delta f = \Delta f \left(x_1, x_2, ..., x_n, \Delta x_1, \Delta x_2, ..., \Delta x_n \right) = \left( \sum_{i=1}^n \left(\frac{\partial f}{\partial x_i}\Delta x_i \right)^2 \right)^{1/2} \, ,</math>

where <math>\frac{\partial f}{\partial x_j}</math> designates the partial derivative of <math>f</math> for the <math>j</math>-th variable.

If the variables are correlated, the covariance between variable pairs, Ci,k := cov(xi,xk), enters the formula with a double sum over all pairs (i,k):

<math>\Delta f = \left( \sum_{i=1}^n \sum_{k=1}^n \left(\frac{\partial f}{\partial x_i}\frac{\partial f}{\partial x_k}C_{i,k} \right) \right)^{1/2}\, ,</math>

where Ci,i = var(xi) = Δxi².

After calculating <math>\Delta f</math>, we can say that the value of the function with it's uncertainty is:

<math>f \pm \Delta f \, .</math>

Example formulas

This table shows the uncertainty of simple functions, resulting from uncorrelated variables A, B, C with uncertainties ΔA, ΔB, ΔC, and a precisely-known constant c.

function function uncertainty
X = A ± B X)² = (ΔA)² + (ΔB
X = cA X) = cA)
X = c(A×B) or X = c(A/B) X/X)² = (ΔA/A)² + (ΔB/B
X = c(A×B×C) or X = c(A/BC X/X)² = (ΔA/A)² + (ΔB/B)² + (ΔC/C
X = cAn X/X) = |n| (ΔA/A)
X = ln cA ΔX = (ΔA/A)
X = exp A X/X) = ΔA

Example application: Resistance measurement

A practical application is an experiment in which one measures current, I, and voltage, V, on a resistor in order to determine the resistance, R, using Ohm's law, <math>R = V / I.</math>

Given the measured variables with uncertainties, I±ΔI and V±ΔV, the uncertainty in the computed quantity, ΔR is

<math>\Delta R = \left( \left(\frac{\Delta V}{I}\right)^2+\left(\frac{V}{I^2}\Delta I\right)^2\right)^{1/2} = R\sqrt{\left(\frac{\Delta V}{V}\right)^2+\left(\frac{\Delta I}{I}\right)^2}.</math>

Thus, in this simple case, the relative error ΔR/R is simply the square root of the sum of the squares of the two relative errors of the measured variables.

External links

See also