File: hint.htm

package info (click to toggle)
extrema 4.3.6-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 19,212 kB
  • ctags: 6,452
  • sloc: cpp: 86,428; sh: 8,229; makefile: 814
file content (29 lines) | stat: -rw-r--r-- 1,422 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<HTML>
<HEAD>
<TITLE>Hint for Physicists</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">

<P><font size="+2" color="green">Hint for physicists</font></P>
<P>
 Very often, the data to be fitted is a histogram of physical events. In that
 case, since each bin would follow a multinomial distribution, the error is
 equal to <code>&radic;<i>f</i></code>, where <i>f</i> is the expression you are trying to fit.
 Of course, since you don't know the parameter values yet, you don't actually
 know <i>f</i>, so you approximate by using the <i>y</i> data values.  In the
 limit, these results are the same. In the case of a large number of bins, the
 variance can be approximated by <code>&radic;y</code>. Hence, the correct
 weighting factor that will give properly normalized errors is <i>w = 1/y</i>,
 and the corresponding one standard deviation error,
 <font size="+1"><code>&sigma; = E2/sqrt(&chi;<sup>2</sup>/n)</code></font>, where
 <code>E2</code> is the standard error and <code>n</code> is the number of degrees of freedom, usually
 equal to the number of data points minus the number of parameters,
 <code>(N-M)</code>.</P>
<P>
 <a href="chi2andweights.htm"><img src="../shadow_left.gif">&nbsp;
 <font size="+1" color="olive">Chi-square and weights</font></a><br />
 <a href="degfree.htm"><img src="../shadow_right.gif">&nbsp;
 <font size="+1" color="olive">Degrees of freedom</font></a>
</P>
</BODY>
</HTML>