Course 3.1Lesson 5 of 5
A measurement has a random error and perhaps a systematic one. Random errors are reduced by repeating: the standard error of the mean is the sample standard deviation with ddof equal to 1 divided by the square root of n, so four times more measurements halve it. A simulated experiment can be repeated thousands of times to see the true spread of the answer: a pendulum experiment that finds g from the slope of T squared against L, with a scatter of 0.01 seconds in each period, gives g equal to 9.81 with a spread of about 0.12. The bootstrap estimates the uncertainty from the data alone, by taking the mean of many samples drawn from it with replacement. A systematic error, such as an instrument that reads 0.3 too high, is not reduced by averaging: the standard error goes to zero but the mean stays 0.3 above the truth.
Try the code and the simulations beside the lesson.
After this lesson you can
You measure , the acceleration of gravity, with a pendulum. A pendulum of length swings with the period . So : if you plot against , you get a straight line with the slope . You measure the period for five lengths and fit a line, as in chapter 3. Every measurement of has a random error of about 0.01 s. The question is: how sure is your value of ?
A simulation can answer it, because in a simulation we know the true value. We can make "measurements" with a known error, do the whole analysis, and see how far the answer is from the truth.
Predict first. The true value is 9.81. Will the experiment give exactly this?
In real life, you have one experiment. In a simulation, you can do it 2000 times.
Predict first. Will the average of all the values of be 9.81? How much will they scatter?
The histogram shows 1000 such experiments: a bell curve, centred on the true value, with a width of about 0.12. A good report of your one experiment would say: m/s. The simulation told us what uncertainty to expect, before we even did the experiment. Scientists use this to plan experiments: should I use more lengths, or a better stopwatch?
When you measure the same thing again and again, the mean of the measurements is more reliable than a single one. How much more? The standard error of the mean is
where is the sample standard deviation (with ddof=1) and is the number of measurements.
The formula agrees with the real spread, with some scatter of its own, because it comes from one small data set. The true value is : 0.22, 0.11 and 0.056. To halve the uncertainty, you need four times as many measurements. This is the law again, for the third time in this chapter.
Averaging only beats random scatter. A scale that always reads 2 g too much stays 2 g too much, however many weighings you average.
What if there is no formula for the uncertainty of what you computed? The bootstrap is a clever way. You treat your data as the whole world: draw a new data set of the same size from your data, with replacement, compute the number, and repeat thousands of times. The spread of the computed numbers is the uncertainty.
Predict first. An instrument reads 0.3 too high. If you average a hundred thousand readings, will the mean be close to the truth?
Averaging removes random scatter but it cannot remove a systematic error. A very small standard error does not mean a correct answer: it only means a precise one. A systematic error makes the measurement inaccurate. The only cures are to calibrate the instrument against a known standard, or to measure the same thing with a different method.
ddof=1. For a sample, divide by .Start with two quick questions. Each New numbers gives you a fresh one, so you can practise as long as you like.
Then the labs and the problems:
ddof=1.Try each one on your own first. If you are stuck, open a hint. Then check with Show the answer.
Every lesson is open to read. Enrolling also lets you:
Log in to join the discussion.
Loading…
This lesson is free to read. Enroll free to keep your place and take the tests.