A REVIEW VIDEO ON RANDOM NUMBERS (CHAPTER 5). - Roshan Shrestha 23938/076.
Random Numbers. A random number occurs in a specified distribution only when two conditions are met: The values are uniformly distributed over a defined interval or set, and it is impossible to predict future values based on past or present ones..
Properties of Random Number. 1)Uniformity-They are equally probable everywhere. 2)Independence-The current value of random variable has no relation with the previous values..
Test for Randomness. a) Uniformity Test Kolmogorov Test Chi Square Test.
Kolmogorov Test. This test compares the continuous cdf , F(x), of the uniform distribution to the empirical cdf , SN(x), of the sample of N observations. By definition, F(x ) = x, 0 <= x <= 1.
Chi Square Test. .
Independence Testing. a) Gap Test b) Poker Test.
Gap Test. Gap test counts the number of digits that appear between repetitions of particular digit and then uses the Kolmogorov-Smirnov test to compare with the expected size of gaps..
Poker Test. The Poker Test is the test for independence based on the frequency with which certain digits are repeated with in a series of numbers. This test not only tests for the randomness of the sequence of numbers, but also the digits comprising of each of the numbers . In three digits numbers,there are only three posibilites as follows: The individual numbers can be different. The individual numbers can all be same. There can be one pair like digits..