Next: Chi-Square Distribution: distribution tested
Up: Testing random Number Sequences
Previous: Chi-square test: the best
  Contents
- N independent samples are collected and sorted in numerical order in array X
as x... x, x
- P(x) is the cumulative distribution of the sample: the fraction of
the n observations which are less than or equal to x, P(X)=
i / N
- F(X) is the reference cumulative distribution, the probability that a random
value will be less than or equal to x. Here we want F(x), the fraction
of the distribution to the left of x which is a value from the array.
- we define the statistic q=
- If agreement of the two distributions will be acceptable subject to it being
not less likely than f% (e.g. f=5, corresponding to less than 5% probability
of the theoretical distribution, randomly sampled, giving rise to the recorded
data), for the large value of N (in practice N30, f can be approximated
by equation f=100e
Next: Chi-Square Distribution: distribution tested
Up: Testing random Number Sequences
Previous: Chi-square test: the best
  Contents
Amaury LATAILLADE
2002-11-04