Funky dice (was Re: Generating Random numbers to conform a distribution)

2022-06-08 Thread Quentin Long via use-livecode
From: Richard Gaskin > When I was making a game for a friend last summer I fell in love with  > the Royal Game of Ur (RGoU)…> The dice used in RGoU are binary in range, >tetrahedra with the faces  > blank and two of the four points painted. > …> If you ever need to plot dice probabilities, this

Re: Generating Random numbers to conform a distribution

2022-06-08 Thread Martin Koob via use-livecode
A maths & stats explanation from the company CTO along with the code to implement it, a back in the day approach that the young makers can try, a HyperCard reference to warm the hearts of the xtalk vets and then a dad joke that unites all with a grin or a groan all in one thread!What a

Re: Generating Random numbers to conform a distribution

2022-06-08 Thread J. Landman Gay via use-livecode
Eeww. But you're safe, I didn't plant any tomatoes. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On June 8, 2022 10:51:39 AM Devin Asay via use-livecode wrote: I think Jacque has germaniums in her garden! On Jun 7, 2022, at 9:50

Generating Random numbers to conform a distribution (David V Glasgow)

2022-06-08 Thread Hillen Richard via use-livecode
Perhaps this helps: I needed lists of samples that obeyed a certain distribution for a few random experiments. I created these with help of built-in Excel-functions and then imported them into Livecode. Richard. ___ use-livecode mailing list

Re: Generating Random numbers to conform a distribution

2022-06-08 Thread Devin Asay via use-livecode
I think Jacque has germaniums in her garden! On Jun 7, 2022, at 9:50 PM, Mark Wieder via use-livecode mailto:use-livecode@lists.runrev.com>> wrote: On 6/7/22 20:24, J. Landman Gay via use-livecode wrote: I don't have an answer. But apparently it's a common problem: https://xkcd.com/2626/

Re: Generating Random numbers to conform a distribution

2022-06-08 Thread William Prothero via use-livecode
Mark W has it. The random number generator creates a "uniform" distribution. The distribution of the means of collection of randomly generated uniform number sequences will be gaussian in the limit of infinite numbers in the uniformly distributed sequences (but you don't need an infinite

Re: Generating Random numbers to conform a distribution

2022-06-08 Thread David V Glasgow via use-livecode
> On 8 Jun 2022, at 7:07 am, Mark Waddingham via use-livecode > wrote: > > I'm not a stats guru but... Pants SO on fire! That is fascinating. I really don’t think this has been made explicit anywhere else, including Stackoverflow - despite the fact that the question has been posed several

Re: Generating Random numbers to conform a distribution

2022-06-08 Thread David V Glasgow via use-livecode
> On 8 Jun 2022, at 6:50 am, Richard Gaskin via use-livecode > wrote: > > My only contribution here is that I found the paper you linked to interesting > enough to look up the HyperStat author. Apparently he's grown a rather > intriguing collection of fun things of that sort - I wonder if

Re: Generating Random numbers to conform a distribution

2022-06-08 Thread Mark Waddingham via use-livecode
On 2022-06-07 21:51, David V Glasgow via use-livecode wrote: Quite a lot of stats and maths packages offer a feature whereby the N, the Mean and the SD are variables specified by the user, and N random numbers are then generated with the required mean and SD. I remember the venerable and

Re: Generating Random numbers to conform a distribution

2022-06-08 Thread Richard Gaskin via use-livecode
Rick Harrison wrote: > Try rolling 2 six-sided dice. 7 is the number that appears the > most so it’s at the middle of the curve, while 2 and 12 are at > the ends of the distribution. Roll the dice multiple times to > generate a distribution. > > Now simulate rolling the dice with random

Re: Generating Random numbers to conform a distribution

2022-06-07 Thread Richard Gaskin via use-livecode
David V Glasgow wrote: > Quite a lot of stats and maths packages offer a feature whereby the N, > the Mean and the SD are variables specified by the user, and N random > numbers are then generated with the required mean and SD. I remember > the venerable and excellent Hypercard HyperStat >

Re: Generating Random numbers to conform a distribution

2022-06-07 Thread Rick Harrison via use-livecode
Try rolling 2 six-sided dice. 7 is the number that appears the most so it’s at the middle of the curve, while 2 and 12 are at the ends of the distribution. Roll the dice multiple times to generate a distribution. Now simulate rolling the dice with random numbers in LC the same way. Now conduct

Re: Generating Random numbers to conform a distribution

2022-06-07 Thread Mark Wieder via use-livecode
On 6/7/22 20:24, J. Landman Gay via use-livecode wrote: I don't have an answer. But apparently it's a common problem: https://xkcd.com/2626/ Chortle. Back in the day I would generate a random number by back-biasing a germanium diode and hook it up to an analog-to-digital converter. Great

Re: Generating Random numbers to conform a distribution

2022-06-07 Thread J. Landman Gay via use-livecode
I don't have an answer. But apparently it's a common problem: https://xkcd.com/2626/ -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On June 7, 2022 3:53:37 PM David V Glasgow via use-livecode wrote: Quite a lot of stats and maths

Generating Random numbers to conform a distribution

2022-06-07 Thread David V Glasgow via use-livecode
Quite a lot of stats and maths packages offer a feature whereby the N, the Mean and the SD are variables specified by the user, and N random numbers are then generated with the required mean and SD. I remember the venerable and excellent Hypercard HyperStat