nautilus_red OP t1_irxv8pi wrote
Reply to comment by CalmSatisfaction9425 in Roulette simulation: 10'000 players each betting 5'000 times (74% chance of having a negative return ) [OC] by nautilus_red
Well in this case I do not generate a number but I chose from a predetermined list (which I defined to match the actual probabilities of roulette). random.choices() choses per default uniformely.
CalmSatisfaction9425 t1_is0aw2u wrote
Ok. Ultimately you are generating a random number- you're generating a random pick from a predefined list. This pick needs to follow some sort of pattern, and it sounds like your code uses the uniform distribution which makes sense for an ideal roulette wheel (a fair roulette wheel). Nice!
In the future you can repeat your entire study, say n=20 more times, and add a random bias to the roulette wheel to favor ever so slightly a section of numbers located near each other. This would simulate real world conditions as there's no such thing as a perfectly ideal roulette wheel. Combine the results together to see if the effect is significant. The results might be interesting!
Great project!!
Viewing a single comment thread. View all comments