||1 year ago|
|README.md||1 year ago|
|main.go||1 year ago|
If you start with $100 balance, and you make a bet with a 70% chance of winning. If you win, you get $80. If you lose, you lose $80.
Do you take the bet? Even more interesting, if you could keep repeating this bet over and over again, always betting 80% of your balance, should you do it?
It makes sense, right, the odds are in your favor!
The actual answer - if you want to go broke, then yes
This blew my mind, how counter-intuitive the answer to this question actually is.
This program runs 16 simulations where you start with a balance of 100 currencies. You make consecutive bets, always betting 80% of your total balance with a 70% chance of winning each bet. It then reports the results after ONLY 200 bets. The result is the percentage of your returns (your end balance divided by your starting balance).
Notice the e-n at the end... these are very small numbers, with only one simulation winning out with 24441% return based on the original balance.
In other words, given enough time, we're all screwed.
How to build this program yourself
- Install go - https://golang.org/dl/
- Clone - git clone https://deadbeef.codes/steven/kelly-paper-experiment.git
- Build - cd kelly-paper-experiment && go build .