comp.lang.ada
 help / color / mirror / Atom feed
From: Dennis Lee Bieber <wlfraed@ix.netcom.com>
Subject: Re: Simulating the rolling of dices to produce truly random numbers?
Date: Wed, 10 Jan 2018 20:31:10 -0500
Date: 2018-01-10T20:31:10-05:00	[thread overview]
Message-ID: <9oed5dpvvbfeg537ekrg08qpg99l02h8cg@4ax.com> (raw)
In-Reply-To: 0f1048d2-187c-4578-ae7b-d209e229bfbe@googlegroups.com

On Wed, 10 Jan 2018 14:54:44 -0800 (PST), Mace Ayres <mace.ayres@gmail.com>
declaimed the following:

>On Wednesday, January 10, 2018 at 7:50:21 AM UTC-8, Mr. Man-wai Chang wrote:
>> Is it possible? Any existing algorithms or published papers?
>
>Are we assured that our human mind/intelligence can know if a number is truly random, or if a algorithm will generate a true random number? If algorithmic, then deterministic? Is the idea of a truly random number an idea, but not necessarily a number that can be proven to be random? How random is good enough?
>

	Pick an algorithm... Run many samples... Perform statistical analysis
between expected result vs actual...

	Many random number generators out there -- some have reasonable
randomness, some not... A generator that is using some processor clock may
not provide randomness if invoked in a loop as the loop is a fixed duration
and could keep reading the clock at a determined interval.

	Your subject says "dice" (note: "dice" IS the plural, not "dices" -- a
single one is a "die"). How many dice per "roll". How many sides per die?
(I bring this up as role playing games use 4-sided, 6-sided, 8-sided,
12-sided, and 20-sided [substituting for 10-sided by modulo], and some
novelty dice purport to be 100-sided (percentile dice -- more commonly done
by rolling 2 20-sided to provide 0-9/0-9).

	For a single die, random means one should have close to an even number
of occurences for each value. For a 6-sided die, 6000 rolls should produce
1000 occurences of each value -- since reality won't be that pure, you have
to analyze if the differences still constitute random.

	If rolling multiple dice at a time, the results should fit a bell-curve
-- and again you should have a "truth" value for the bell curve against
which to test the actual results.

	No test will state that something is truly random -- statistical tests
rely on probability that the result may not be random... IE: is the
difference between "truth" and experiment within 95% of the test parameter.

>If I choose n among the set 1..500, based on my own sense of randomness, is that random?

	500 samples is rather small... More samples means statistical
differences will be more precise.
-- 
	Wulfraed                 Dennis Lee Bieber         AF6VN
    wlfraed@ix.netcom.com    HTTP://wlfraed.home.netcom.com/


  reply	other threads:[~2018-01-11  1:31 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-10 15:50 Simulating the rolling of dices to produce truly random numbers? Mr. Man-wai Chang
2018-01-10 16:52 ` Robert Wessel
2018-01-10 16:55   ` Mr. Man-wai Chang
2018-01-10 16:59     ` Robert Wessel
2018-01-10 17:00       ` Mr. Man-wai Chang
2018-01-10 17:16         ` Robert Wessel
2018-01-10 16:55   ` Robert Wessel
2018-01-10 16:58     ` Mr. Man-wai Chang
2018-01-10 21:07       ` David Brown
2018-01-10 17:20 ` Joe Pfeiffer
2018-01-10 17:22   ` Mr. Man-wai Chang
2018-01-10 17:32     ` Robert Wessel
2018-01-10 18:15       ` Richard Heathfield
2018-01-10 19:09         ` Robert Wessel
2018-01-10 17:38     ` Joe Pfeiffer
2018-01-10 17:48       ` Mr. Man-wai Chang
2018-01-10 18:43         ` Joe Pfeiffer
2018-01-10 18:20   ` Scott Lurndal
2018-01-10 18:23     ` Lew Pitcher
2018-01-10 20:29 ` Chris M. Thomasson
2018-01-10 22:54 ` Mace Ayres
2018-01-11  1:31   ` Dennis Lee Bieber [this message]
2018-01-11 12:45   ` AdaMagica
2018-01-11 14:40     ` Dennis Lee Bieber
2018-01-12  2:32     ` Mace Ayres
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox