Ion Saliu
Gettysburg, Pennsylvania, USA
Registered: Nov 2006
Posts: 5 |
Random and degree of randomness
Everything is random. The Universe is ruled by randomness. The variation is in the degree of certainty (or probability of appearance). Randomness is the fairest form of being and not-being. There is no force to decide what is to be and not-to-be. The random interaction of forces creates what is and what is not.
As of randomness in computer software, some say it is pseudo-randomness. They actually refer to software written for the original IBM PC and Microsoft BASIC. The software generates "random" numbers based on a "seed", usually the timer. The timer measures number of seconds since midnight. There are only 86,400 seconds in a day. The variation in randomness is just too low, not only by computer standards. If the random generator is started exactly at the same second of the day, the same sequence of numbers is generated.
I heard stories of a state lottery being ripped-off by Keno players. The Keno numbers were generated by a computer precisely every 15 minutes: The same times of the day! The bare-bone timer was used as the randomizing seed. Thus, the Keno drawing of 9:00 PM yesterday will be the same today at 9:00 PM! The state lottery does not go bankrupt because they pay as prizes only 50% of ticket sales. But the lottery game itself would die, because lottery players expect fairness in randomness.
Read more in-depth analysis:
Free web lotteries, random numbers, combination, combinations generators; randomness.
The computers can generate numbers even “more randomly” than humans drawing lotto balls from a lottery machine. My solution: Replace the TIMER seed by a far more variable seed that is not dependent on the time of the day. Here is full-working code in BASIC:
Basic source code, algorithm to generate true random & unique numbers.
As of the statement:
“All RNGs (PRNGs) look to me like counters. They are faulty IF they sometimes repeat exactly the same sequence again.”
It is faulty in most cases. The sequences will repeat — otherwise they are not random, but human-picked. The situation is handled by ‘Ion Saliu’s Paradox of N Trials’:
Mathematics Of The Fundamental Formula Of Gambling (FFG).
If the probability p of an event is expressed as p = 1/N, then the degree of certainty tends to (1 – 1/e) or .632 (63.2%) that the event will come out in N trials. For example, the double-zero roulette has 38 possibilities (outcomes), from 0 to 37 (the placeholder for 00).
Super crocodilule, only 65% of the roulette numbers will be drawn in 38 spins. It tends to (1 – 1/e) when N tends to infinity. I verified for cases over 125 million (N) — a Powerball 5/53/1/42 lotto game. . It also means that 35% of the roulette numbers in 38 spins are repeats.
It is random alright. But it repeats mathematically.
Ion Saliu,
Precisely-Randomly At-Large
Report this post to a moderator | IP: Logged
|