Create a histogram. Do the data follow a normal (Gaussian) distribution?
| Channel | Tabulated Energy (keV) | source |
| 379.1 +/- 3.9 | 510.9996 | 22Na |
| 870.0 +/- 5.5 | 1274.5450 | 22Na |
| 25.8 +/- 1.4 | 32.1000 | Ba X-ray |
| 481.8 +/- 3.3 | 661.6610 | 137Cs |
| 638.9 +/- 2.4 | 898.0460 | 88Y |
| 814.8 +/- 4.9 | 1173.2380 | 60Co |
| 911.4 +/- 4.1 | 1332.5130 | 60Co |
| 24.3 +/- 1.3 | 26.3450 | 241Am |
| 50.6 +/- 2.8 | 59.5370 | 241Am |
Perform a linear fit to this data to determine the calibration, Energy=a*(channel) + b. Judging by the reduced c2 of the fit, how good is the fit? Can you determine the uncertainties of a and b?
Make as plot of the residuals "measured - fit" (it is up to you to define what is "measured" and what is "fit"). Do you notice a trend in this plot that might suggest some way to improve your calibration?
Although the fit looks OK, it gives a reduced c2=14.9
(the number is in cell "I6"). Something must be wrong!
The plot of the residuals (Channel number - fit) indicates that there is a systematic
deviation from the fit, that is much larger than the error bars. Therefore trying to figure out the error of parameters a and
b is quite meaningless. An increase of the (non-reduced) c2=104.5 by 1
(the usual test for determining the error of a parameter, as described by Bevington) does not really change the fit by much - it remains
equally terrible. (By the way, if nothing else works, you may argue that a possible way to get at least
some idea about the error of the fitting paramaters is to look for the condition of c2=c2best
+ reduced c2 = (1+1/(N-P))c2best. )
We can improve the fit by adding a third parameter. For example:
Channelfit = (1/a)E) + b/a + g*E2
works great! The residual plot looks OK, and we get reduced c2 = 0.69
(the number of parameters is P=3).
At this point we may start looking for the error of the fitting parameters in a meaningful way.
But let us keep in mind, that this was a calibration: it has to be done accurately, but it is only the
first step
of the measurement. The real question is NOT the error of parameters a, b and c.
The question is, how much error
will the calibration cause in the actual measurement. For most practical purposes
the error of the calibration (if done properly, like in the second fit) can be deduced by
looking at the residuals plot: it will be represented by a
+/-1 channel number error, that has to added to the error of the actual measurement.
| Angle(deg) | Counts/10sec |
| 34 | 183 |
| 34.1 | 192 |
| 34.2 | 238 |
| 34.3 | 372 |
| 34.35 | 594 |
| 34.4 | 907 |
| 34.45 | 771 |
| 34.5 | 574 |
| 34.55 | 355 |
| 34.6 | 288 |
| 34.7 | 232 |
| 34.8 | 189 |
| 34.9 | 173 |
The best fit parameters
are x0=34.420 +/- 0.002 o,
G=0.082 +/- 0.002 o.
The error of this quantity was determined from plotting
c2 vs. G, shown below.
Also shown is the
surface plot of c2. The contour plot of the surface indicates that there is NO
correlation between the two quantities.
This page was created by Laszlo Mihaly. Las updated 1/27/98.