Professional Documents
Culture Documents
This is positive for the point shown, but would be negative for a point
below the line, as is equally likely if the line is a valid fit to the experimental
data.
Analysis of case 1 …
The principle of least squares
requires us to calculate the
values of m and c which
minimize S(1) (the sum for case 1)
the sum of squares of di, i.e.
3 4
9
Cases 2–4
In case 1 the sum to be minimized, treats all the experimental points
equally. This is the simplest assumption to make, although we have
no evidence one way or the other, since only single measurements
are taken at each point. In the other three cases, however, repeated
readings yield values of σy and in case 4 also σx. The values of these
uncertainties determine the weight, Wi, which we ascribe to the
typical ith point. The greater the weight of a particular point, the
closer will the line approach it, and vice versa. Although the details
differ between the three cases we can make a simple modification to
the sum to be minimized by the method of least squares.
Cases 2–4
It is
10
Now we have to derive expressions for Wi for each of the three cases.
But before doing that it is worth noting that Equation 10 can also be
used to analyze case 1 since the weights would all be (assumed)
equal. It is only the relative weights that are significant, rather than
their absolute magnitudes, so we could make them all 1, in which
case we arrive back at Equation 2.
Cases 2–4 …
In case 2 we have W=(1/σy)2 and we take the simplest case of equal
values of σ. This is not the same as case 1, however, since we now
have evidence for the equal values of σ, while we only assumed it
there.
Case 3 allows variation in the values of the uncertainties on the
points, though it is still assumed to arise only from the measurements
of the y variable. Thus Wi= (1/σyi)2.
Case 4 is more complicated because we have to include error
measurements on both the x and y variables. We will be content to
quote the formula as
.
Cases 2–4 …
A little thought will show that we have a major logical problem here, in
that we need to have a value for the slope, m, to calculate W, but we need
the latter to calculate the former—an example of the chicken and egg
problem. But physicists are nothing if not resourceful, and we solve the
problem by using the method of successive approximations. That is, we
assume an approximate value for m, calculate the W values, use those to
calculate a better value for m, and so on until successive values are the
same within the required precision. While it is not obvious that the values
of m will converge to a fixed value, as opposed to diverging or oscillating,
it has been in all the cases I have tried. Clearly the better your starting
value for m the quicker you will reach the final value, but there is no
significant problem in calculations using modern computers.
Cases 2–4 …
A summary of my program is appended. Because of the interactive
nature of these calculations we cannot write simple expressions for
the results of the least squares fit as we can for cases 1–3. These are
summarized below:
where
Contoh
• Di file Excel
Grafik
12
10
l (cm)
0
0 100 200 300 400 500 600 700 800 900 1000
m (gram)