Binomial distribution in VMS
#65
(06-09-2024, 09:47 PM)lelle wrote: You are not allowed to view links. Register or Login to view.Can anyone please explain what might be a reasonable underlying mechanism for the observed word length distribution in the VMs? The author flipping 9 (or 10) coins simultaneously and counting numbers of heads. Numbers of heads will then dictate the length of the current word?

Coin toss as a model for the letters of a word ( as I understood it ):

The binomial distribution only knows two "states": success or failure.
With n = 9, a coin is therefore tossed 9 times in succession, with heads standing for success and numbers for failure.

Each coin toss is seen as a decision as to whether another letter is added to the word.
On each of the "n" (here 9 or 10) tosses, the coin (or the probability "p", here symmetrical 0.5) influences how long the word becomes.
"Heads" could mean, for example, that a letter is added.
"Number" could mean that no further letter is added.
The binomial distribution then models the probability of how many letters are contained in a word at the end of such a process.

Stolfi`s "Shifted by 1" means that the actual word length does not range from 0 to 9, but from 1 to 10. Each value from the binomial distribution is therefore increased by 1. A word with a length of 0 should not occur.

In my code, as soon as the target word length has been determined, the words are shortened or lengthened accordingly.
Reply


Messages In This Thread
Binomial distribution in VMS - by bi3mw - 17-08-2024, 12:33 AM
RE: Binomial distribution in VMS - by bi3mw - 17-08-2024, 12:28 PM
RE: Binomial distribution in VMS - by bi3mw - 17-08-2024, 12:47 PM
RE: Binomial distribution in VMS - by RobGea - 17-08-2024, 03:35 PM
RE: Binomial distribution in VMS - by RobGea - 17-08-2024, 04:38 PM
RE: Binomial distribution in VMS - by bi3mw - 17-08-2024, 06:38 PM
RE: Binomial distribution in VMS - by nablator - 18-08-2024, 08:18 PM
RE: Binomial distribution in VMS - by bi3mw - 18-08-2024, 01:44 PM
RE: Binomial distribution in VMS - by nablator - 18-08-2024, 05:06 PM
RE: Binomial distribution in VMS - by RobGea - 18-08-2024, 04:14 PM
RE: Binomial distribution in VMS - by bi3mw - 18-08-2024, 04:46 PM
RE: Binomial distribution in VMS - by bi3mw - 18-08-2024, 05:36 PM
RE: Binomial distribution in VMS - by nablator - 18-08-2024, 06:45 PM
RE: Binomial distribution in VMS - by bi3mw - 19-08-2024, 06:08 PM
RE: Binomial distribution in VMS - by nablator - 19-08-2024, 06:43 PM
RE: Binomial distribution in VMS - by bi3mw - 19-08-2024, 07:09 PM
RE: Binomial distribution in VMS - by bi3mw - 19-08-2024, 07:49 PM
RE: Binomial distribution in VMS - by nablator - 19-08-2024, 08:36 PM
RE: Binomial distribution in VMS - by nablator - 19-08-2024, 09:06 PM
RE: Binomial distribution in VMS - by bi3mw - 19-08-2024, 09:12 PM
RE: Binomial distribution in VMS - by nablator - 19-08-2024, 09:40 PM
RE: Binomial distribution in VMS - by bi3mw - 20-08-2024, 03:30 PM
RE: Binomial distribution in VMS - by bi3mw - 21-08-2024, 05:40 PM
RE: Binomial distribution in VMS - by Koen G - 21-08-2024, 07:06 PM
RE: Binomial distribution in VMS - by bi3mw - 21-08-2024, 07:11 PM
RE: Binomial distribution in VMS - by Koen G - 21-08-2024, 07:25 PM
RE: Binomial distribution in VMS - by bi3mw - 21-08-2024, 07:39 PM
RE: Binomial distribution in VMS - by Koen G - 21-08-2024, 08:17 PM
RE: Binomial distribution in VMS - by bi3mw - 22-08-2024, 07:59 PM
RE: Binomial distribution in VMS - by bi3mw - 23-08-2024, 11:24 PM
RE: Binomial distribution in VMS - by bi3mw - 25-08-2024, 12:23 AM
RE: Binomial distribution in VMS - by RobGea - 25-08-2024, 06:11 PM
RE: Binomial distribution in VMS - by bi3mw - 26-08-2024, 10:27 AM
RE: Binomial distribution in VMS - by RobGea - 26-08-2024, 03:38 PM
RE: Binomial distribution in VMS - by bi3mw - 26-08-2024, 05:08 PM
RE: Binomial distribution in VMS - by RobGea - 26-08-2024, 05:54 PM
RE: Binomial distribution in VMS - by bi3mw - 26-08-2024, 06:02 PM
RE: Binomial distribution in VMS - by RobGea - 26-08-2024, 06:08 PM
RE: Binomial distribution in VMS - by bi3mw - 26-08-2024, 08:34 PM
RE: Binomial distribution in VMS - by RobGea - 26-08-2024, 10:45 PM
RE: Binomial distribution in VMS - by bi3mw - 27-08-2024, 03:32 PM
RE: Binomial distribution in VMS - by RobGea - 27-08-2024, 09:41 PM
RE: Binomial distribution in VMS - by ReneZ - 27-08-2024, 10:57 PM
RE: Binomial distribution in VMS - by bi3mw - 28-08-2024, 01:28 PM
RE: Binomial distribution in VMS - by nablator - 28-08-2024, 02:17 PM
RE: Binomial distribution in VMS - by bi3mw - 28-08-2024, 03:03 PM
RE: Binomial distribution in VMS - by RobGea - 28-08-2024, 06:04 PM
RE: Binomial distribution in VMS - by bi3mw - 28-08-2024, 06:25 PM
RE: Binomial distribution in VMS - by RobGea - 28-08-2024, 08:06 PM
RE: Binomial distribution in VMS - by bi3mw - 28-08-2024, 08:19 PM
RE: Binomial distribution in VMS - by RobGea - 28-08-2024, 10:02 PM
RE: Binomial distribution in VMS - by bi3mw - 28-08-2024, 10:44 PM
RE: Binomial distribution in VMS - by RobGea - 28-08-2024, 10:53 PM
RE: Binomial distribution in VMS - by bi3mw - 28-08-2024, 11:02 PM
RE: Binomial distribution in VMS - by RobGea - 28-08-2024, 11:12 PM
RE: Binomial distribution in VMS - by bi3mw - 28-08-2024, 11:52 PM
RE: Binomial distribution in VMS - by RobGea - 29-08-2024, 12:03 AM
RE: Binomial distribution in VMS - by bi3mw - 29-08-2024, 12:18 AM
RE: Binomial distribution in VMS - by bi3mw - 29-08-2024, 10:52 PM
RE: Binomial distribution in VMS - by bi3mw - 30-08-2024, 10:36 PM
RE: Binomial distribution in VMS - by RobGea - 06-09-2024, 08:08 PM
RE: Binomial distribution in VMS - by lelle - 06-09-2024, 09:47 PM
RE: Binomial distribution in VMS - by bi3mw - 07-09-2024, 02:24 AM
RE: Binomial distribution in VMS - by Koen G - 07-09-2024, 09:06 AM
RE: Binomial distribution in VMS - by bi3mw - 07-09-2024, 09:22 AM
RE: Binomial distribution in VMS - by ReneZ - 08-09-2024, 01:53 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)