Viewing a single comment thread. View all comments

Mooks79 t1_izt3zcr wrote

1

Eric1969 t1_izt69qy wrote

It was 30 years ago in visual basic. So I don’t have access to it.

1

Mooks79 t1_izt6qzt wrote

Ah! If I were you I would stick with your original thinking as I’m reasonably confident there was a coding issue or the set-up of the simulation wasn’t quite what it should be. If I have time I might try and knock something together myself, but that’s a big if as I’ve got a mental couple of weeks.

1

Eric1969 t1_izt83c8 wrote

I agree. Also, the random numbers produced by a computer are “pseudo-random”.

1

Mooks79 t1_izt8d0z wrote

They should be random enough, albeit improperly generated random numbers could be a cause. My money is on them setting up the simulation incorrectly, though. When I say incorrectly, I mean it could be that they haven’t set the simulation up quite as they think they have.

1

Mooks79 t1_j1dtis7 wrote

Finally got round to knocking up a simulation, can confirm that the two methods (randomly choosing whether to bet H or T, or using the lagged counts) both give the same (0.5) win rate, as expected. Indeed, any strategy (e.g. always choosing H or T) will yield the same win rate for a truly random coin. I suspect there was a slight glitch in your friend’s simulation. Happy to share (R) code and plot(s) if you want.

1