- Propagation of uncertainty
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. When the variables are the values of experimental measurements they have uncertainties due to measurement limitations (e.g. instrument precision) which propagate to the combination of variables in the function.
The uncertainty is usually defined by the
absolute error. Uncertainties can also be defined by the relative errorΔ"x"/"x", which is usually written as a percentage.
Most commonly the error on a quantity, , is given as the
standard deviation, , . Standard deviation is the positive square root of variance, . The value of a quantity and its error are often expressed as . If the statistical probability distributionof the variable is known or can be assumed, it is possible to derive confidence limitsto describe the region within which the true value of the variable may be found. For example, the 68% confidence limits for a variable belonging to a normal distributionare ± one standard deviation from the value, that is, there is a 68% probability that the true value lies in the region .
If the variables are
correlated, then covariancemust be taken into account.
Let be a set of "m" functions which are linear combinations of variables with combination coefficients .: and let the
variance-covariance matrixon x be denoted by .:Then, the variance-covariance matrix , of "f" is given by:This is the most general expression for the propagation of error from one set of variables onto another. When the errors on "x" are un-correlated the general expression simplifies to:Note that even though the errors on "x" may be un-correlated, their errors on "f" are alwayscorrelated. The general expressions for a single function, "f", are a little simpler.: :
Each covariance term, can be expressed in terms of the
correlation coefficientby , so that an alternative expression for the variance of "f" is:In the case that the variables "x" are uncorrelated this simplifies further to:
When "f" is a set of non-linear combination of the variables "x", it must usually be linearlized by approximation to a first-order
Maclaurin seriesexpansion, though in some cases, exact formulas can be derived that do not depend on the expansion.Cite journal
title = On the Exact Variance of Products
journal = Journal of the American Statistical Association
year = 1960
volume = 55
issue = 292
pages = 708–713
url = http://links.jstor.org/sici?sici=0162-1459(196012)55%3A292%3C708%3AOTEVOP%3E2.0.CO%3B2-3
doi = 10.2307/2281592] :
where denotes the
partial derivativeof "fk" with respect to the "i"-th variable. Since "f0k" is a constant it does not contribute to the error on "f". Therefore, the propagation of error follows the linear case, above, but replacing the linear coefficients, "Aik" and "Ajk" by the partial derivatives, and .
Any non-linear function, "f(a,b)", of two variables, "a" and "b", can be expanded as: Whence:
In the particular case that , . Then:or:
Caveats and warnings
Error estimates for non-linear functions are biased on account of using a truncated series expansion. The extent of this bias depends on the nature of the function. For example, the bias on the error calculated for log x increases as x increases since the expansion to 1+x is a good approximation only when x is small.
In data-fitting applications it is often possible to assume that measurements errors are uncorrelated. Nevertheless, parameters derived from these measurements, such as
least-squaresparameters, will be correlated. For example, in linear regression, the errors on slope and intercept will be correlated and the term with the correlation coefficient, ρ, can make a significant contribution to the error on a calculated value.:
In the special case of the inverse where , the distribution is a Cauchy distribution and there is no definable variance. For such ratio distributions, there can be defined probabilities for intervals which can be defined either by Monte Carlo simulation, or, in some cases, by using the Geary-Hinkley transformation.Cite journal
Jack Hayya, Donald Armstrongand Nicolas Gressis
title = A Note on the Ratio of Two Normally Distributed Variables
journal = Management Science
year = 1975
volume = 21
issue = 11
pages = 1338–1341
month = July
url = http://links.jstor.org/sici?sici=0025-1909(197507)21%3A11%3C1338%3AANOTRO%3E2.0.CO%3B2-2]
This table shows the variances of simple functions of the real variables with standard deviations , and precisely-known real-valued constants .
:For uncorrelated variables the covariance terms are zero.Expressions for more complicated functions can be derived by combining simpler functions. For example, repeated multiplication, assuming no correlation gives,:
Example calculation: Inverse tangent function
We can calculate the uncertainty propagation for the inverse tangent function as an example of using partial derivatives to propagate error.
where is the absolute uncertainty on our measurement of .
The partial derivative of with respect to is
Therefore, our propagated uncertainty is
where is the absolute propagated uncertainty.
Example application: Resistance measurement
A practical application is an
experimentin which one measures current, "I", and voltage, "V", on a resistorin order to determine the resistance, "R", using Ohm's law,
Given the measured variables with uncertainties, "I"±Δ"I" and "V"±Δ"V", the uncertainty in the computed quantity, Δ"R" is
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.
Errors and residuals in statistics
Accuracy and precision
* [http://physicslabs.phys.cwru.edu/MECH/Manual/Appendix_V_Error%20Prop.pdf Uncertainties and Error Propagation] , Appendix V from the Mechanics Lab Manual, Case Western Reserve University.
* [http://www.av8n.com/physics/uncertainty.htm A detailed discussion of measurements and the propagation of uncertainty] explaining the benefits of using error propagation formulas and monte carlo simulations instead of simple
Wikimedia Foundation. 2010.