## FANDOM

34,325 Pages

In statistics, propagation of uncertainty (or propagation of error) is the affect 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.

## General formula Edit

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

$x_j \pm \Delta x_j\, .$

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

$\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} \, ,$

where $\frac{\partial f}{\partial x_j}$ designates the partial derivative of $f$ for the $j$-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):

$\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}\, ,$

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

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

$f \pm \Delta f \, .$

## Example formulas Edit

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</td> X/X) = ΔA

## Example application: Resistance measurement Edit

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, $R = V / I.$

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

$\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}.$

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.

## Edit

Community content is available under CC-BY-SA unless otherwise noted.