alt2005
In half the cases, a dozen on roulette is repeated after 2 spins. The standard maximum of not falling out is 18-20 spins. Very rarely - after 36-40 spins, these are probably already outliers, going beyond 3 sigma. For progressions this matters, for flat - no.
On the graph there are ~20K spins, dozens are repeated every 2 spins in 10628 cases.
On the Y axis: on which spin from the dozen drop does it repeat.
On the X axis there are just dots for repetitions
- immediately (on the 1st spin after falling out),
- on the 2nd back after falling out,
- on the 3rd, etc.
Well, in short - for each dozen it is calculated when it will repeat again. We get a set of such "distances." / Then we simply sort them, this is the X axis. This is more convenient for me.
Example: there is a horizontal line at the Y=2 level. This corresponds to the fact that the distance to the repeat is 2. You see, this line on the graph is from point 6343 to point 10628. This means that the number of repeats of a dozen on the 2nd spin after the fallout (it doesn't matter which dozen) was 10628 - 6343 + 1 = 4286. Let's say that dozen 1 fell on the 11th spin and repeated on the 13th, and dozen 3 fell on the 23rd spin and repeated on the 25th. These repeats are included in the set of distances 2.
Distance 1 (i.e. if the repetition was immediately on the next spin) corresponds to 6342 points, which means that this is how many such distances were in this sample. By the way, there are most repetitions immediately, slightly fewer repetitions only after a spin, even fewer repetitions after 2 spins, etc.
For each dozen, you can consider the repetitions separately, simply sorting them as needed.
You can't show everything in a picture. But I hope you get the idea.