Results 1 to 2 of 2

Thread: Random Number Generation, Statistical Tests for Randomness

  1. #1
    SeventhSin
    Guest

    Random Number Generation, Statistical Tests for Randomness

    Nene Ioane,

    I see you state on your webpages how your software is able to generate "true random numbers".

    From the speed of your programs, I'm nearly certain you're not using Windows API's CryptGenRandom which is a capable cryptographically secure pseudo random number generator and absolutely certain you're not using true entropy sources. We all know PRNGs suck load when it comes to entropy, and with the exception of cryptographically secure ones, they don't pass well (or at all) statistical analysis tests. As John von Newmann puts it:

    "Anyone who considers arithmetical methods of producing random digits is, of course, in a state of sin."

    So the question would be, uhm.. where does this true entropy come from, since it can't come from a PRNG - they are unable to give true random numbers.

    The second puzzle pertains to your BellCurveGenerator. Since the FFG MEDIAN for a given probability computes that in 50% of the cases, the numbers drawn come from the past N draws, isn't a history file necessary for any meaningful lotto draw generation?

    SS

  2. #2
    Administrator Ion Saliu's Avatar
    Join Date
    Sep 2010
    Location
    Gettysburg, Pennsylvania, United States
    Posts
    482

    IonSaliuGenerator: Indubitably True Random Numbers

    Frate Cosmine:

    I have stated “true random numbers” — and they are true random numbers. You can take it to the bank, Super Crocodilule of axiomatic pursuits.

    The random in generation is determined by the randomization seed. The pseudo random euphemism is caused by the usage of Timer as the ransom … I mean, random seed. Read more here:

    Randomness, Degree of Randomness, Absolute Certainty, True Random Numbers

    Just look at the two images of generating random roulette numbers. My ActiveX control replaces Timer with a special randomization function. You or I or any axiomatic Homo sapiens will NOT see the same random seed in a lifetime or two. Or, see the same sequence of numbers in a lifetime or two. (“Mnezau sa ne daruiasca viata vesnica! Ci El este Aleatorul Atotputernic!”)

    The results are indubitably compliant with any statistical test. In a vast majority of cases, the number of successes falls within 1 (just one) standard deviation from the norm (expected number of successes). That is, the random generator satisfies, by a wide margin, the normal probability rule or the test of Chi squared distribution.

    The random generators also pass with flying colors the test of Ion Saliu’s Paradox. If the probability of the event is p = 1/N and we generate N outcomes randomly, the ratio between unique elements and repeats will tend to (1 — 1/e) / (1/e) or 63% / 37%. In the case of double-zero roulette, p = 1/38. If we generate 38 random roulette numbers, around 65% will be unique and 35% will be repeats. (1 — 1/e or 63.2% is only a limit.) You can check as many 38-number groups as you want. You’ll see that the amount of unique roulette numbers will average 25 (the closest integer to 65% of 38).





    Gambler's Fallacy, Reversed Gamblers Fallacy, Probability, Streaks

    Cryptography is a totally different beast. It randomizes a value and creates a key to convert the shuffled value to its original state. My random generators do not serve cryptographic purposes.



    Ion “Call-Me-Parpaluck” Saliu
    The Universe is all about Luck — luckily, no Super Nova is close enough to Terra … but it’ll randomly happen … when Mnezau falls unpredictably asleep …

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •