Changeset 20936 in project


Ignore:
Timestamp:
10/22/10 07:30:05 (11 years ago)
Author:
Ivan Raikov
Message:

random-test doc: added links to formula images

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/eggref/4/random-test

    r20933 r20936  
    7171are the number of experiments which resulted in each possible outcome,
    7272and probabilities of each outcome {{p1, p2,... pk}}, is given as:
    73 \chi^{2} = \sum_{1 <= i <= k}{\frac{(Y_{i} - m p_{i})^{2}}{np_{i}}}
     73[[image:random-test.fig1.png]]
     74
     75 \chi^{2} = \sum_{1 <= i <= k}{\frac{(Y_{i} - m p_{i})^{2}}{np_{i}}}
    7476
    7577{{\Chi^2}} will grow larger as the measured results diverge from those
     
    7779calculated for an experiment with d degrees of freedom (where
    7880{{d=k-1}}, one less the number of possible outcomes) is due to chance
    79 is:
     81is: [[image:random-test.fig2.png]]
    8082
    8183 Q(\Chi^2,d) = [2^{d/2} * \Gamma(d/2)]^{-1} * \int_{\Chi^2}^{\infty}(t)^{d/2-1} * exp(-t/2) * dt
    8284
    8385Where Gamma is the generalization of the factorial function to real and complex arguments:
     86[[image:random-test.fig3.png]]
    8487
    8588  \Gamma(x) = \int_{0}^{\infty} t^{x-1} * exp(-t) * dt
Note: See TracChangeset for help on using the changeset viewer.