Professional Documents
Culture Documents
www.elsevier.com/locate/flowmeasinst
Department of Process and Systems Engineering, Cranfield University, Cranfield, Beds. MK43 0AL, UK
Received 11 December 2000; received in revised form 26 January 2001; accepted 3 April 2001
Abstract
It has been reported that the Monte Carlo Method has many advantages over conventional methods in the estimation of uncertainty,
especially that of complex measurement systems outputs. The method, superficially, is relatively simple to implement, and is slowly
gaining industrial acceptance. Unfortunately, very little has been published on how the method works. To those who are uninitiated,
this powerful approach remains a black art. This paper demonstrates that the Monte Carlo simulation method is fully compatible
with the conventional uncertainty estimation methods for linear systems and systems that have small uncertainties. Monte Carlo
simulation has the ability to take account of partial correlated measurement input uncertainties. It also examines the uncertainties
of the results of some basic manipulations e.g. addition, multiplication and division, of two input measured variables which may
or may not be correlated. For correlated input measurements, the probability distribution of the result could be biased or skewed.
These properties cannot be revealed using conventional methods. 2001 Published by Elsevier Science Ltd.
Keywords: Uncertainty estimation; Monte Carlo; Correlation; Uncertainty propagation
1. Introduction
The application of conventional uncertainty analysis
methods, which are basically analytical methods, as is
described in ISO/GUM [1], demand the estimation of
the separate effect of each input quantity on the final
result through a sensitivity analysis. Complex partial
derivatives of the output with each of the inputs
(sensitivity coefficients) need to be estimated.
When multiple measured input variables in a complex
measurement system are correlated (perfectly or
partially), sensitivity and, inevitably, uncertainty analysis become extremely difficult and sometimes even unreliable.
The Monte Carlo simulation method has been applied
to measurement system uncertainties with many claimed
advantages. There is, however, no detailed exposition of
the method. To the uninitiated, the method is regarded
as a black box. The paper demonstrates the full compatibility of the Monte Carlo method with conventional
methods and its ability to take into account even partial
292
f f
f 2
f 2
s(x1)2+
s(x2)2+2
r s(x )s(x2)
x1
x2
x1 x2 X1X2 1
(4)
yf(x1,x2,x3,xN)
The methodology of conventional estimation methods
can be illustrated using a simple measurement equation
with y as a continuous function of x1 and x2. y is approximated using a polynomial approximation or a 2nd order
Taylors series expansion about the means:
yf(x 1,x 2)
f
f
(x1x 1) (x2x 2)W
x1
x2
(1)
1 f
(x x )2
2! x21 1 1
2
2f
2f
2
(x
x
)
2
(x x )(x x )
x22 2 2
x1x2 1 1 2 2
(2)
u(y)s(y)
1
(y y)2
Ni1 i
f f
f 2
f 2
s(x1)2+
s(x2)2+2
s(x x ) (3)
x1
x2
x1 x2 1 2
This equation gives the uncertainty as a standard deviation irrespective of whether or not the measurements
of x1 and x2 are independent and of the nature of the
probability distribution.
The partial derivatives are called sensitivity coefficients, which give the effects of each input quantity on
the final results (or the sensitivity of the output quantity
to each input quantity).
The term, expanded uncertainty is used in GUM to
express the % confidence interval about the measurement result within which the true value of the measurand
is believed to lie and is given by:
U(y)tu(y)
where t is the coverage factor on the basis of the confidence required for the interval yU(y). For a level of
confidence of approximately 95% the value of t is 2 for
normal distributed measurement. In other words, y is
between y2s(y) with 95% confidence.
Coleman and Steele [3], presented a detailed analysis
of the subject. The result of a measurement is regarded
as only an approximation or estimate of the value of the
specific quantity subjected to measurement.
293
u(y) (y)
y
y
1
(x1)2+(x2)2+2x1x2(x1)(x2) for 1x1x21
y
1
(x1)2+(x2)2
y
for x1x2=0
(RSS)
1
|(x1)(x2)| (for y=x1+x2)
y
for x1x2=1
(ADD)
exp
2ps(y)s(xi) (1r2yx1)
2
2 (x E(x )) 2ry,x (yE(y))(xiE(xi))
i
i
i
(yE(y))
1
2
2(1ry,x )
i
s(y)
s(x )
i
s(y)s(xi)
294
Table 1
Result of Monte Carlo simulation
Input
x1
x2
Output
y
Average
2standard deviation
Relative uncertainties %,
(95.45% confidence)
30.00000000000000
30.00000000000000
0.40000000000000
0.9000000000000
1.33333333333333
2.99999999999999
60.00000000000023
0.98456218359665
1.64093697266108
rx1x2=+0.7
rx1x2=0.7
y=xx+x2=6+5=11
y=xx+x2=6+5=11
mathematical action involved (e.g. addition, multiplication etc.). All these effects and available information
can be visualised in one 3-D graph, as in Fig. 1.
The joint distributions p(y,xi), as seen from the outputs view is shown in Fig. 2, and clearly demonstrates
that y is normally distributed.
4.1.2. Correlated inputs
x16, x25
2s(x1)0.3
2s(x2)0.1
=0.3768
=0.2408
s(y)
=3.426%
|y|
s(y)
=2.189%
|y|
rx1x2=1
=0.4
=0
2s(y)
=3.636%
|y|
2s(y)
=0%
|y|
Fig. 2.
295
Table 2
Result of Monte Carlo simulation y=x1+x2 rx1x2=0.7
Input
x1
x2
Output
Y(rx1x2=+0.7)
Y(rx1,x2=0.7)
Average
2standard deviation
Relative uncertainties
(%) 95.45% confidence
6.00000000000000
5.00000000000001
0.30000000000000
0.10002239715478
5.00000000000000
2.00044794309560
11.0000000000001
11.0000000000001
0.37686029194342
0.24086244991386
3.42600265403112
2.18965863558052
y y
1
x1 x2
the uncertainty of the y depends solely on the uncertainties of the inputs and on their combined uncertainty
(covariance). The absolute uncertainty is independent of
the magnitudes of the inputs. This is somehow misleading, as uncertainty u(y) as an absolute value does not
actually gives any feeling of its significance if it does
not compare with the magnitude of the output result y.
In this respect, the relative uncertainty
Fig. 3.
u(y)
|y|
is the most useful quality index of a measurement system.
4.2. Multiplication of two elementary measurements
(y=x1x2)
By assuming small uncertainties and ignoring the
second order effects, the sensitivity coefficients obtained
at the mean values x1 and x2 are:
y
y
y
y
x and
x .
x1 2 x1
x2 1 x2
and
Fig. 4.
2s(y)2(x2s(x1))2+(x1s(x2))2+2rx1x2s(x1)s(x2)
The relative uncertainty of y (for 95.45% confidence) is:
2s(y)
2
|y|
296
Table 3
Results of Monte Carlo simulation y=x1x2 for rx1x2=0
Input
x1
x2
Output
y
Average
2standard deviation
Relative uncertainties %,
(95.45% confidence)
6.00000000000000
5.00000000000000
0.30000000000000
0.10000000000000
5.00000000000000
2.00000000000000
30.00000335838123
1.61483667662676
5.38278831950736
2s(x2)0.1
2s(y)2(50.15)2+(60.05)21.616
2s(y)
2
|y|
0.15 2 0.05 2
+
5.385%
6
5
rx1x21
2s(y)2.1
0.15
6
2s(y)
2
|y|
10.150.05
0.05 2
+2
7%
5
65
1
f
f
x x (x x ) (x x )
y f(x1,x2)
Ni1 1 2 x1 1i 1 x2 2i 2
N
x1x2rx x s(x1)s(x2)561
W x1x2W
1 2
x16
0.050.1530.0075
(5)
x25
2s(x1)0.3
2s(x2)0.1
f
1
f
2s(y)2
(6)
297
Table 4
Result of Monte Carlo simulation y=x1x2 for rx1x2=1
Input
x1
x2
Output
Y
Average
2standard deviation
Relative uncertainties %,
(95.45% confidence)
6.00000000000000
5.00000000000000
0.30000000000000
0.10000000000000
5.00000000000000
2.00000000000000
30.007495000000
2.10027879309718
7.00092931032421
Fig. 7. Joint distributions p(y,xi) of y=x2/x1 for perfect positive correlated input rx1x2=1.
1
(y y )3
Ns(y)3i1 i
N
1
(y y )4
Ns(y)4i1 i
Fig. 8. Joint distributions p(y,xI) of y=x1/x2 for perfect positive correlated inputs rx1x2=1.
5. Conclusions
1. The compatibility of Monte Carlo and the conventional method has been demonstrated.
2. For non-linear functions, errors are introduced as a
consequence of the neglect of the higher order terms.
The Monte Carlo method readily takes into account
all non-linearities.
3. Partial and perfect correlated uncertainties in
measurement inputs affect differently the measurement results. For linear functions (addition and
298
References
[1] ISO/GUM, Guide to the expression of uncertainty in measurement ISO 1995 [ISBN 92-67-10188-9].
[2] J.R. Taylor, An introduction to error analysis. The study of uncertainties in physical measurements (2nd ed), University Science
Books, 1997 [ISBN 0-935702-42-3].
[3] N.T. Kottegoda, R. Rosso, Statistics, probability and reliability for
civil and environmental engineers, McGraw-Hill, 1998 [ISBN 007-035965-2].
[4] G. Nicolis, Introduction to non-linear science, Cambridge University Press, Cambridge (UK), 1995 [ISBN 0 521 46228 2].
[5] M. Basil, A.W. Jamieson, Uncertainty of complex systems using
Monte Carlo techniques, in: North Sea Flow Measurement Workshop 98, 1998 [paper 23].
[6] W.R. Gilks, S. Richardson, D.J. Spiegelhalter, Markov chain
Monte Carlo in practise, Chapman and Hall, London, 1996 [ISBN
0-412-05551-1].
[7] H.W. Coleman, W.G. Steele, Engineering application of experimental uncertainty analysis, AIAA Journal 33 (10) (1995) 1888
1896.
[8] Papadopoulos C. Uncertainty analysis in the management of gas
metering systems, PhD Thesis, Department of Process and Systems
Engineering (PASE), Cranfield University; 2000.