Академический Документы
Профессиональный Документы
Культура Документы
GENERATION
Lecture Notes: Chapter 8
Properties of Random
Numbers
Uniformity
Independence
Characteristics:
Continuous uniform distribution between 0 to
1.
1, 0 x 1
E ( R) 1 / 2
f ( x)
V ( R) 1 / 12
0, otherwise
If the interval (0,1) is divided into n classes,
n/n.
The probability of observing a particular value
is independent of previous numbers.
Psuedo-Random Numbers:
A sequence of numbers between 0 to 1
which simulates the ideal properties of
uniform distribution and independence
as closely as possible.
Characteristics of Routines
(Generators):
Fast
Portable
Long cycle
Replicable
Imitate randomness
( A * ( X i ) C ) mod m
Combined Congruential
method
combination of two or more
multiplicative congruential generators
Ho : Ri independently
Hi : Ri independently
Kolmogorov-Smirnov test
Chi-square test
Runs test
Runs
Runs
Runs
Runs
up
down
above the mean
below the mean
Autocorrelation test
Gap test
Poker test
Other Tests
Goods Serial Test [1953, 1967]
Median-Spectrum Test [Cox and Lewis,
1966, Durbin, 1967]
A Variance Heterogeneity Test [Cox and
Lewis, 1966]
Even with all these tests, it is still no
guarantee that randomness is achieve