Error Analysis Manual
Error Analysis Manual
Error Analysis Manual
I. Introduction:
I.1 It is impossible to do an experimental measurement with perfect accuracy. There is
always an uncertainty associated with any measured quantity in an experiment even in
the most carefully done experiment and despite using the most sophisticated
instruments. This uncertainty in the measured value is known as the error in that
particular measured quantity. There is no way by which one can measure a quantity
with one hundred percent accuracy. In presenting experimental results it is very
important to objectively estimate the error in the measured result. Such an exercise is
very basic to experimental science. The importance of characterizing the accuracy and
reliability of an experimental result is difficult to understate when we keep in mind
that it is experimental evidence that validate scientific theories. Likewise, reliability
and accuracy of measurements are also deeply relevant to Engineering.
The complete science of error analysis involves the theory of statistics (see Ref. 1,2)
and is too involved to present here. This short presentation is intended to introduce the
student to some basic aspects of error analysis and graph drawing, which it is
expected that the student will then put into practice when presenting his/her results of
the coming experiments.
I.2 When a measurement of a physical quantity is repeated, the results of the various
measurements will, in general, spread over a range of values. This spread in the
measured results are due to the errors in the experiment. Errors are generally
classified into two types: systematic (or determinate) errors and random (or
indeterminate) errors. A systematic error is an error, which is constant throughout a
set of readings. Systematic errors lead to a clustering of the measured values around a
value displaced from the “true” value of the quantity. Random errors on the other
hand, can be either positive or negative and lead to a dispersion of the measurements
around a mean value. For example, in a time period measurement, errors in starting
and stopping the clock will lead to random errors, while a defect in the working of the
clock will lead to systematic error. A striking example of systematic error is the
measurement of the value of the electric charge of the electron ‘e’ by Millikan by his
Oil Drop method. Millikan underestimated the viscosity of air, leading to a lower
value for his result
e = (1.591 ± 0.002) × 10 −19 C. (1)
Compare this with a more modern and accurate value (Cohen and Taylor 1973, Ref 3)
e = (1.602 189 ± 0.000 005) × 10 −19 C. (2)
Systematic errors need to be carefully uncovered for the particular experimental set-
up and eliminated by correcting the results of the measurements.
I.3 Random errors are handled using statistical analysis. Assume that a large number (N)
of measurements are taken of a quantity Q giving values Q1,Q2, Q3,…QN. Let Q be
the mean value of these measurements
1 N
Q = ∑ Qi ,i = 1,2 ,.....N
N 1
(3)
The result of the measurement is quoted (assuming systematic errors have been
eliminated) as
Q = Q ± d. (5)
The error ∆Q in the quantity Q is then taken to be the deviation d. (This is called the
standard error in Q).
In a single measurement of a physical quantity, the error can be estimated as the least
count (or its fraction) of the instrument being used.
As an example, the result of a measurement of the radius of curvature R, of a plaino-
convex could be quoted as
R = 140 ± 0.2 cm. (6)
This means that we expect that the value of R to be in the range 139.8 to 140.2 cm.
Note however, that this does not mean that the “true” value of R necessarily lies in
this range, only that there is a probability that it will do so.
The error in a measurement can also be quoted as a percent error,
∆Q d
× 100 = × 100 . (7)
Q Q
For example, the percent error in R is 0.143%.
I.4 Combination of errors:
Often the value of a quantity of interest may depend on other measured quantities. For
example we could have a quantity Q which is a function F of a number of
independent (actively controlled by us) variables say x,y and z i.e.,
Q = Q(x,y,z) (8)
where
∂Q ∂Q ∂Q
∆Qx = ∆x ; ∆Qy = ∆y ; ∆Qz = ∆z etc.
∂x ∂y ∂z
The following table summarizes the results for combining errors for some standard
functions. Try to derive some of these results.
2 2 2 2 2
∆Q ∆x ∆y ∆Q ∆x ∆y
4 Q = x/y = + ⇒ = +
Q x y Q x y
∆Q ∆x
5 Q = xn =n
Q x
∆x
6 Q = ln x ∆Q =
x
∆Q
7 Q = ex = ∆x
Q
II Drawing of best fit straight line graph:
Below we describe how to fit a straight line to a set of data. Relations that are not
linear can be transformed to a linear one by an appropriate transformation of the
variables (as you will learn from these assignments).
To draw the best fit straight line graph through a set of scattered experimental data
points we will follow a standard statistical method, known as least squares fit method.
Let us consider a set of N experimental data points (x1,y1), (x2,y2), (x3,y3)…(xN,yN). It
is well known that a straight line graph is described by the equation
y = mx + c. (10)
We ask the question: how are the slope m and the y-intercept c to be determined such
that a straight line best approximates the curve passing through the data points? Let
Si = yi - mxi – c be the deviation of any experimental point P(xi, yi), from the best fit
line. Then, the gradient ‘m’ and the intercept ‘c’ of the best fit straight line has to be
found such that the quantity
S = ∑ ( yi − mxi − c )
2
which give,
m∑ xi + c∑ xi = ∑ xi yi m∑ xi + Nc = ∑ yi .
2
and
1 1
y=
N
∑ yi and x = ∑ xi showing that the best fit straight line passes
N
through the centroid ( x , y ) of the points (xi,yi). The required values of m and c can be
calculated from the above two equations to be
m=
∑ (x − x ) y
i i
and c = y − mx . (11)
∑ (x − x )
2
i
The best fit straight line can be drawn by calculating m and c from above. A graphical
method of obtaining the best fit line is to rotate a transparent ruler about the centroid
so that it passes through the clusters of points at the top right and at the bottom left.
This line will give the maximum error in m, (∆m)1 on one side. Do the same to find
out the maximum error in m, (∆m)2 on the other side. Now bisect the angle between
these two lines and that will be the best fit line through the experimental data.
What are the errors in the gradient and intercept due to errors in the experimental data
points? The estimates of the standard errors in the slope and intercept are
1 ∑ Si 1 x 2 ∑ Si
2 2
(∆m) 2
≈ and (∆c )
2
≈ + ,
D N −2 N D N −2
Assignments:
1. Experimental data (in arbitrary units) of some experiment is given below:
(a) Assuming 10% error in Y values, plot the data on preferred graph paper
showing the errors in terms of error bars.
(b) Calculate the slope and intercept of the best fit graph. Draw the best fit graph
on the above graph.
2. The expression of refractive index of a prism is given by the following relation:
§ A+ D·
sin¨ ¸
µ =
© 2 ¹ . Assuming the error of A and D as ∆A and ∆D, express the error
§ A·
sin¨ ¸
©2¹
of µ. Here A is the angle of the prism and D is the angle of deviation.
3. The relation between two independent variables X and Y is given as the empirical
expression Y = aX + bX3. The experimental data for X and Y are given below:
X: 0.088 0.121 0.185 0.234 0.284 0.333 0.367 0.387 0.421 0.447 0.469
Y: 0.149 0.255 0.338 0.474 0.584 0.678 0.821 0.912 0.966 1.131 1.104
X: 0.506 0.524 0.538 0.559
Y: 1.354 1.398 1.402 1.523
Rearrange the equation to plot the graph in simpler form. (Hint: Plot Y/X vs. X2.
(Why ?)). Then find out the constants a and b from the graph. Try to co-relate the
expression with some practical experiment in physics and give your comments
about the constants.
4. Expression of some function is given by, Y = aXb, where, a and b are unknown.
Use the following experimental data to find out the constants by plotting an
appropriate graph of Y vs. X. Try to co-relate the above expression with some
practical experiment in physics and give your comments about the constants.
X: 250 365 489 623 796 956 1151 1358 1511 1778
Y: 458 2189 3680 13041 39576 58031 198234 277653 511257 582314
T: 789 824 845 873 910 918 945 968 986 999
Plot the experimental data on suitable graph paper and find out the value of Co
and E.