Showing posts with label Calculator. Show all posts
Showing posts with label Calculator. Show all posts

Sunday, December 12, 2021

Bayes Stake Calculator

Bayes Stake Calculator

Kelly staking is a function of win probability (p = wins /events) but not of the magnitude of wins and events. So, in Kelly terms, (p=2652)(p = \frac {26}{52}) is equivalent to (p=260520)(p = \frac {260}{520}) but to the SportsTrader these historical records represent qualitatively different pieces of information. We have more confidence in the second proportion than in the first.

You can use our online Bayes Stake Calculator to evaluate your own betting strategies.

Canadian statistics professor - David Beaudoin - suggests a potentially profitable trading strategy for the NBA Playoffs based on a historical record of 271271 wins from 484484 events at decimal odds of 1.909091.90909 (110)(-110). Kelly recommends a stake of 7.58%7.58\% to capitalize on this edge. However, using the no-vig odds of 2.002.00 to generate a prior and using the historical record to create a likelihood, we can calculate a Bayes stake of 5.36%5.36\%.

This new Bayes stake reflects both the magnitude of the historical record and the probability of winning. By contrast, the Kelly stake only reflects the probability of winning.

In his excellent book, A Mathematician Plays The Stock Market, John Allen Paulos outlines a potentially disastrous trading strategy that on the surface suggests riches but in reality is likely to lead to poverty.

Once again, using our Bayesian approach, we calculate a stake of 4.49%4.49\% in constrast to a Kelly stake of 12.50%12.50\%. If, however, Paulos had 10 years of data (260520)(\frac {260}{520}) then we would recommend a stake of 10.50%10.50\% whereas the Kelly recommendation would remain unchanged.

We strongly advise that you read both Market Efficiency and Bayesian Probability Estimation via the Beta Distribution and Modified Kelly Criteria - both of which publications inspired this post.

Note, the Confidence option represents how confident you are in the quality of the historical record. Selecting a low confidence level will reduce the calculated stake. As ever, there is limited error handling - Enjoy!

Sunday, August 22, 2021

Oddsline Calculator [\[Adapted - Skiena, 2001\]](https://www.amazon.com/Calculated-Bets-Computers-Gambling-Mathematical-ebook/dp/B004IASVJK)

Oddsline Calculator

[Adapted - Skiena, 2001]
Sometimes you just want to convert a set of power ratings to a reasonably accurate oddsline.

Though my strong recommendation is to use the TWPD Algorithm to generate a realistic oddsline, you can use the Oddsline Calculator to create a 'quick and dirty' oddsline from a set of power ratings in AvK events.

Note the following restrictions:

  • Maximum of ten entrants.
  • Limited error checking.
    • For fewer than ten entrants, leave blank rows to bottom of table.
    • Odds range from 1.01 to 1000.
    • Power ratings range from 0 to 3000.
    • Power factor can be varied between 0 and 1 to change range of odds distribution. Default value is 1 / e 1/e .

As noted last time, every race, in which we choose to participate, is a competition of oddslines between the crowd and ourselves! Whichever oddsline is closer to the true win probabilities in that race generally prevails. So use the oddsline calculator with care!

Finally, an example using an AvB contest: