Ergodic Experiment With Python

Based on this video.

Run this experiment with this command:

python main.py

Try adjusting the BET_PERCENT to .25 to see the median amount won increase.

Conclusion

By having more “small bets” in the system, you increase your chances of winning the game.

Example Output

Here’s an example output when every ensemble does the max bet (100%). In other words, only 1 bet.

Number OF ENSEMBLES: 1000
Number OF Coin Flips: 1000
Total Money in System: $2,620,888.98
Max Final Balance: $9,228.53

 

 

 

To finish reading, please visit source site