Gentoo Archives: gentoo-user

From: "»Q«" <boxcars@×××.net>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: OT: Mapping random numbers (PRNG)
Date: Sun, 29 Jun 2014 01:47:03
Message-Id: 20140628204615.424f3b89@sepulchrave.remarqs
In Reply to: Re: [gentoo-user] Re: Re: OT: Mapping random numbers (PRNG) by "Canek Peláez Valdés"
1 On Sat, 28 Jun 2014 19:53:08 -0500
2 Canek Peláez Valdés <caneko@×××××.com> wrote:
3
4 > On Sat, Jun 28, 2014 at 7:37 PM, <gottlieb@×××.edu> wrote:
5 > > On Sat, Jun 28 2014, Canek Peláez Valdés wrote:
6 > >
7 > >> That doesn't matter. Take a non-negative integer N; if you flip a
8 > >> coin an infinite number of times, then the probability of the coin
9 > >> landing on the same face N times in a row is 1.
10 > >
11 > > This is certainly true.
12 > >
13 > >> This means that it is *guaranteed* to happen
14 > >
15 > > That is not as clear.
16 >
17 > Let me be more precise (and please correct me if I'm wrong): It is
18 > guaranteed to happen at some point in the infinite sequence of random
19 > flip coins, but we cannot know when it will happen, only that it will
20 > happen.
21 >
22 > That's the way I got it when I took my probability courses, admittedly
23 > many years ago.
24
25 The probability is 1 in the sense that the as the number of flips M
26 increases, so does the probability of getting N heads (or tails) in a
27 row also increases, and the upper bound for the sequence of
28 probabilities is 1. It's not a probability about something which
29 actually happens; no one so far has been able to flip a coin an
30 infinite number of times, not even a computer.
31
32 > In any way, even if I'm wrong and it is not guaranteed, the main point
33 > remains true: the probability of getting a large sequence of the same
34 > number from a RNG is 1 for every true random RNG, and therefore seeing
35 > a large sequence of the same number form a RNG doesn't (technically)
36 > means that it is broken.
37
38 It's true that that wouldn't *prove* the generator is broken. But it
39 might be a good reason to take another look at the algorithm.
40 >
41 > Regards.

Replies

Subject Author
Re: [gentoo-user] Re: OT: Mapping random numbers (PRNG) "Canek Peláez Valdés" <caneko@×××××.com>