1. #1
    tukkk
    ★★★★★
    tukkk's Avatar Become A Pro!
    Join Date: 10-04-10
    Posts: 391

    My variance simulator (excel)

    So today i had nothing to do and while browsing the forum i found a post seeking for something like this.
    Seemed like a fun idea so i spent a couple hours on it.
    Feels good to share it and i hope it will open some eyes.



    It has 5 inputs :
    -starting bank ($)
    -bet to win (%)
    -average odds (decimal)
    -win percentage
    -samples (10000 max)

    And then creates and shows 10 simulations
    You can refresh with F9

    ---
    since the uploading cap here was 2mb i had to zip the file

    Attached Files
    Points Awarded:

    subs gave tukkk 10 SBR Point(s) for this post.

    Salmon Steak gave tukkk 10 SBR Point(s) for this post.

    Nomination(s):
    This post was nominated 4 times . To view the nominated thread please click here. People who nominated: BradyMossTD, Professor1215, CrimsonQueen, and DirtyDan

  2. #2
    FourLengthsClear
    King of the Idiots
    FourLengthsClear's Avatar Become A Pro!
    Join Date: 12-29-10
    Posts: 3,808
    Betpoints: 508

    Nice.

    It might be worth sharing with the Player's Talk crowd. Some of them might swear at you but a few might 'get it'.

  3. #3
    Salmon Steak
    Salmon Steak's Avatar Become A Pro!
    Join Date: 03-05-10
    Posts: 2,110
    Betpoints: 613

    cool stuff man.

  4. #4
    BradyMossTD
    BradyMossTD's Avatar Become A Pro!
    Join Date: 01-16-12
    Posts: 18
    Betpoints: 18

    Hey man, I was the guy who originally asked for this. Someone posted something similar awhile ago but I couldn't find the link and searched fruitlessly for it.

    Didn't expect anyone to take a few hours to actually make one from scratch. Thank you! Much appreciated.

    edit***

    Hey actually, I'm a little confused by the results. Maybe I'm wrong but they don't seem accurate.

    For example I input a starting bank of $50K, bet to win 10%, odds of 1.91, win %55. 100 samples.

    One of the generated results was a "worst" scenario of $26,588 at a 52% win rate. That seems very off that a 52% win rate at 1.91 odds can translate to a loss of $23,412 EVEN with percentage betting. It seems like you'd need a much lower win rate over 100 samples to realistically get that kind of loss? Am I wrong?

    edit 2***

    Ok, maybe I don't understand what the "samples" field stands for? If I input a value of 1 and keep the other numbers the same, I will ALWAYS get a worst win rate of 0% and a best win rate of 100%. But if there's only ONE sample, meaning the scenario is only simulated ONCE, the best and worst win rate should be identical, that is they should both be either 0% or 100%. Correct? Unless I'm confusing what the "sample" field stands for? *nevermind, confused the meaning of the sample field

    edit 3***

    OK, I see what's going on here. I thought that the "sample" field was the the SIMULATIONS field, which is always fixed at 10 (missed that in the OP). I would actually like to modify the SIMULATIONS field so that it's fixed at 1. Therefore, each refresh is just a way to simulate x amount of wagers. Seems simple enough to modify that, but I don't know how. Thanks again.
    Last edited by BradyMossTD; 01-24-12 at 09:21 PM.

  5. #5
    FourLengthsClear
    King of the Idiots
    FourLengthsClear's Avatar Become A Pro!
    Join Date: 12-29-10
    Posts: 3,808
    Betpoints: 508

    Quote Originally Posted by BradyMossTD View Post
    Hey man, I was the guy who originally asked for this. Someone posted something similar awhile ago but I couldn't find the link and searched fruitlessly for it.

    Didn't expect anyone to take a few hours to actually make one from scratch. Thank you! Much appreciated.

    edit***

    Hey actually, I'm a little confused by the results. Maybe I'm wrong but they don't seem accurate.

    For example I input a starting bank of $50K, bet to win 10%, odds of 1.91, win %55. 100 samples.

    One of the generated results was a "worst" scenario of $26,588 at a 52% win rate. That seems very off that a 52% win rate at 1.91 odds can translate to a loss of $23,412 EVEN with percentage betting. It seems like you'd need a much lower win rate over 100 samples to realistically get that kind of loss? Am I wrong?
    When you are overbetting it is entirely possible!

  6. #6
    Salmon Steak
    Salmon Steak's Avatar Become A Pro!
    Join Date: 03-05-10
    Posts: 2,110
    Betpoints: 613

    Quote Originally Posted by FourLengthsClear View Post
    When you are overbetting it is entirely possible!
    I heard people say 1-2% is a better range if you don't know your real edge.

  7. #7
    FourLengthsClear
    King of the Idiots
    FourLengthsClear's Avatar Become A Pro!
    Join Date: 12-29-10
    Posts: 3,808
    Betpoints: 508

    Quote Originally Posted by Salmon Steak View Post
    I heard people say 1-2% is a better range if you don't know your real edge.
    In this case he 'knows' his edge. He has an expected win rate of 55% and odds each time of -110. His optimum bet size is therefore to win 5% according to Kelly.

  8. #8
    BradyMossTD
    BradyMossTD's Avatar Become A Pro!
    Join Date: 01-16-12
    Posts: 18
    Betpoints: 18

    Quote Originally Posted by FourLengthsClear View Post
    When you are overbetting it is entirely possible!
    Thanks for the feedback but I didn't mean for the 10% to be a smart % for wagering at those odds. They were just numbers I was inputting to test out the program.

    At 5%, with the same numbers, I got a worse case scenario of -8048 with a 52% win rate (which should be slightly less than break even). I was astounded that your losses could be so high at that win rate. Which is why I suspected that maybe there was an small error somewhere in the program.

  9. #9
    FourLengthsClear
    King of the Idiots
    FourLengthsClear's Avatar Become A Pro!
    Join Date: 12-29-10
    Posts: 3,808
    Betpoints: 508

    Quote Originally Posted by BradyMossTD View Post
    Thanks for the feedback but I didn't mean for the 10% to be a smart % for wagering at those odds. They were just numbers I was inputting to test out the program.

    At 5%, with the same numbers, I got a worse case scenario of -8048 with a 52% win rate (which should be slightly less than break even). I was astounded that your losses could be so high at that win rate. Which is why I suspected that maybe there was an small error somewhere in the program.
    Variance really can be a b!tch!

    I haven't checked tukkk's spreadsheet but those numbers don't seem outlandish. With such a small sample, 8 or 9 straight losses will severely deplete a bankroll and there is not much 'time' to recover. It can work the other way of course, I am sure the best case scenario figures were surprising to you too.

  10. #10
    tukkk
    ★★★★★
    tukkk's Avatar Become A Pro!
    Join Date: 10-04-10
    Posts: 391

    BradyMossTD

    The idea is that you input the criteria and then you always have 10 simulations (read: 10 different scenarios) in the graph.
    To get better results, it would be better to have 100 or 1000 simulations, but that would make the excel file from 2mb to 20mb or 100mb, so it isnt practical.
    Therefore i suggest refreshing (F9) a little, so you can see in the graph what really is possible.

    As you can see, sample size is really important.
    The field samples stands for the number of bets. You can input a number from 1 to 10000.
    So you can visualize what kind of scenarios are possible with 55% winrate over 500 bets at 1,91 odds or 58% winrate over 4000 bets at 1,94 odds.
    If you input samples=1 , then you only have 1 bet and in most cases some of the 1 simulations win that one bet and some lose.

    "I would actually like to modify the SIMULATIONS field so that it's fixed at 1. Therefore, each refresh is just a way to simulate x amount of wagers. Seems simple enough to modify that, but I don't know how." - That is not a good idea, because you get only 1 simulation, which doesnt tell you alot.

    Heres an example :


    I input starting bank = 2500, bet to win 2% of bank, average odds 1,91, win percentage 55% and samples = 500. So lets see what can happen over 500 bets with those stats. As i refresh a couple of times a distant hot run appears, so do 2 almost 50% winrate lines.
    As you can see out of those 10 simulations the worst line ended at 1615 with 50,8% winrate. The hot run line ended at 9434 with 59,2% winrate. That tells us that with a realistic 55% winrate pretty much we can easily achieve 50% and think we are losers, or 60% and think we are the best. But as you input a bigger number of bets you see that if you really are a 55% capper, you wont be in losing for long.

  11. #11
    Professor1215
    Improve Everyday
    Professor1215's Avatar Become A Pro!
    Join Date: 11-28-11
    Posts: 216
    Betpoints: 3212

    This is really cool. Still trying to understand what it all means, but thank you for helping SBRNation.

  12. #12
    jerry
    jerry's Avatar Become A Pro!
    Join Date: 05-14-08
    Posts: 111
    Betpoints: 442

    Great tool.

  13. #13
    statnerds
    Put me in coach
    statnerds's Avatar Become A Pro!
    Join Date: 09-23-09
    Posts: 4,047
    Betpoints: 103

    Quote Originally Posted by tukkk View Post
    BradyMossTD

    But as you input a bigger number of bets you see that if you really are a 55% capper, you wont be in losing for long.
    First, thanks for putting in the time and effort for what could be a useful, or dangerous, tool for new or rec bettors.

    Second, I must point out 2 things that made me cringe reading the above quote. 55% win rate is damn near world class and you will find very, very few people that can achieve said win rate over the course of 250 plays, let alone the thousands upon thousands of plays required to generate meaningful profits.

    My other issue is Gambler's Ruin. If you know of it and chose to ignore it, fine. At least place the disclaimer, as I am now that as you move along and the amount of wagers placed increases consistently, the 'cold runs' will increase in size and scope. The streaks will become longer and the losses deeper.

    Which leads me to my final point, one beaten to death I am sure on the pages of this forum. Kelly is flawed because you can never accurately measure your edge. It is impossible. Garbage in, garbage out.

    But I truly appreciate the effort and work you put in on this and am in no way knocking you. Just another point of view is all.


    good luck

  14. #14
    tukkk
    ★★★★★
    tukkk's Avatar Become A Pro!
    Join Date: 10-04-10
    Posts: 391

    First, thanks for putting in the time and effort for what could be a useful, or dangerous, tool for new or rec bettors.
    Thanks for the feedback, the results could indeed be interpreted in different ways.
    The main purpose of this simulator is to show the importance of sample size.

    My other issue is Gambler's Ruin. If you know of it and chose to ignore it, fine. At least place the disclaimer, as I am now that as you move along and the amount of wagers placed increases consistently, the 'cold runs' will increase in size and scope. The streaks will become longer and the losses deeper.
    The simulator uses "bet to win fixed percentage of bankroll", which is optimal, because as the bankroll gets smaller, bet amount gets smaller, same thing the other way. I didn´t ignore Gamblers ruin.

    Which leads me to my final point, one beaten to death I am sure on the pages of this forum. Kelly is flawed because you can never accurately measure your edge. It is impossible. Garbage in, garbage out.
    I agree that one can never accurately measure edge and full kelly will get you a heart attack, but models that are better than the market can be quite good in determining a range and varying fractional kelly is the best way to go in my opinion.
    Now about this simulator and kelly, you can see i have the input for that "bet to win %". Since varying bets are technically not possible in this simulator, this is the optimal way in my opinion.

    55% win rate is damn near world class and you will find very, very few people that can achieve said win rate over the course of 250 plays, let alone the thousands upon thousands of plays required to generate meaningful profits.
    55% winrate is easily achievable with very low volume. However in most cases it isnt practical to have less quantity and more quality. The key is to find the optimal risk-to-reward ratio.
    Last edited by tukkk; 01-26-12 at 06:12 AM.

  15. #15
    jolmscheid
    jolmscheid's Avatar Become A Pro!
    Join Date: 02-20-10
    Posts: 3,256

    Quote Originally Posted by statnerds View Post

    First, thanks for putting in the time and effort for what could be a useful, or dangerous, tool for new or rec bettors.

    Second, I must point out 2 things that made me cringe reading the above quote. 55% win rate is damn near world class and you will find very, very few people that can achieve said win rate over the course of 250 plays, let alone the thousands upon thousands of plays required to generate meaningful profits.

    My other issue is Gambler's Ruin. If you know of it and chose to ignore it, fine. At least place the disclaimer, as I am now that as you move along and the amount of wagers placed increases consistently, the 'cold runs' will increase in size and scope. The streaks will become longer and the losses deeper.

    Which leads me to my final point, one beaten to death I am sure on the pages of this forum. Kelly is flawed because you can never accurately measure your edge. It is impossible. Garbage in, garbage out.

    But I truly appreciate the effort and work you put in on this and am in no way knocking you. Just another point of view is all.


    good luck
    Kelly is optimal if you know your edge...if you do not know your edge exactly (Which you are right..nobody does), then use a .75 or .5 kelly...

  16. #16
    XS$z
    XS$z's Avatar Become A Pro!
    Join Date: 01-03-12
    Posts: 13
    Betpoints: 70

    Very interesting. Thanks for this.

  17. #17
    mathdotcom
    mathdotcom's Avatar Become A Pro!
    Join Date: 03-24-08
    Posts: 11,689
    Betpoints: 1943

    Sorry for being the devil's advocate here but how useful is this exactly? We all know the intuition behind Kelly and how variance will change with our bet size, that even with nice edges we can go on losing streaks etc etc.

    I'd rather spend my time improving the efficiency of my model -- any bettor with serious experience knows all about variance.

    Just my two cents.

  18. #18
    tukkk
    ★★★★★
    tukkk's Avatar Become A Pro!
    Join Date: 10-04-10
    Posts: 391

    Sorry for being the devil's advocate here but how useful is this exactly? We all know the intuition behind Kelly and how variance will change with our bet size, that even with nice edges we can go on losing streaks etc etc.
    I think its a solid 10-minute amusement. Maybe a few will for a moment become more philosophical about their own ventures.

    I'd rather spend my time improving the efficiency of my model -- any bettor with serious experience knows all about variance.
    My model has reached the stage, where everything is automated. Its connected 24/7, refreshing, gathering various data, arranging it into db, sending me text messages with projections when lines come out. I usually check everything once a day , which takes me 15 min. Other than that, i have no responsibilities.

  19. #19
    CrimsonQueen
    CrimsonQueen's Avatar Become A Pro!
    Join Date: 08-12-09
    Posts: 1,068
    Betpoints: 1660

    Good stuff, man. Thanks for sharing.

  20. #20
    Gaze73
    Gaze73's Avatar Become A Pro!
    Join Date: 01-27-14
    Posts: 3,105
    Betpoints: 1192

    the download link doesn't work

  21. #21
    solring
    solring's Avatar Become A Pro!
    Join Date: 11-04-09
    Posts: 169
    Betpoints: 3434

    Quote Originally Posted by Gaze73 View Post
    the download link doesn't work
    After nine years? No way...

  22. #22
    BeatTheJerk
    BeatTheJerk's Avatar Become A Pro!
    Join Date: 08-19-07
    Posts: 31,798
    Betpoints: 84

    Quote Originally Posted by solring View Post
    After nine years? No way...
    “He be” stargazing …

  23. #23
    veriableodds
    validation not required
    veriableodds's Avatar Become A Pro!
    Join Date: 08-22-17
    Posts: 4,332
    Betpoints: 1961

    Want to know how bad in depth models really are the guy is? http://www.williamleiss.com/cfbmyplays.php a complete stat nerd, and despite I see no profit in any sports. The guy pours his heart into to

    Yall need to come up with something different

Top