Skip to main content

Novel Conversion of Betting Odds to Probabilities

Project description

Goto conversion

The most common method used to convert betting odds to probabilities is to normalize the inverse odds (Multiplicative conversion). However, this method does not consider the favourite-longshot bias.

To the best of our knowledge, there are two existing methods that attempt to consider the favourite-longshot bias. (i) Shin conversion [1, 2, 3] maximizes the expected profit for the bookmakers assuming a small proportion of bettors have inside information. (ii) Power conversion [4] raises all inverse odds to the same constant power. However, both of these methods require iterative computation to convert betting odds to probabilities.

Our proposed method (Goto conversion) is significantly more efficient than Shin and Power conversion because it converts betting odds to probabilities directly without iterative computation.

The Goto conversion reduces all inverse odds by the same units of margin of error. This attempts to consider the favourite-longshot bias by utilizing the wider margin of errors implied for inverses of longshot odds and vice-versa.

Furthermore, our tables of experiment results below show that the Goto conversion converts betting odds to probabilities more accurately than all three of these existing methods.

Installation

Requires Python 3.7 or above.

pip install goto-conversion

Usage

Decimal Odds

import goto_conversion
goto_conversion.goto_conversion([2, 3.4, 5.6])
[0.5078707717902462, 0.30346951747815437, 0.1886597107315994]

Amrican Odds

import goto_conversion
goto_conversion.goto_conversion([-100, 240, 460], isAmericanOdds = True)
[0.5078707717902462, 0.30346951747815437, 0.1886597107315994]

Experiment Results

alt text

Kaggle notebook to reproduce the table above: https://www.kaggle.com/code/kaito510/novel-conversion-of-football-betting-odds

alt text

Kaggle notebook to reproduce the table above: https://www.kaggle.com/code/kaito510/novel-conversion-of-horse-racing-odds

References

[1] H. S. Shin, “Prices of State Contingent Claims with Insider traders, and the Favorite-Longshot Bias”. The Economic Journal, 1992, 102, pp. 426-435.

[2] E. Štrumbelj, "On determining probability forecasts from betting odds". International Journal of Forecasting, 2014, Volume 30, Issue 4, pp. 934-943.

[3] M. Berk, "Python implementation of Shin's method for calculating implied probabilities from bookmaker odds"

[4] S. Clarke, S. Kovalchik, M. Ingram, "Adjusting bookmaker’s odds to allow for overround". American Journal of Sports Science, 2017, Volume 5, Issue 6, pp. 45-49.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

goto_conversion-0.0.4.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

goto_conversion-0.0.4-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file goto_conversion-0.0.4.tar.gz.

File metadata

  • Download URL: goto_conversion-0.0.4.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.3

File hashes

Hashes for goto_conversion-0.0.4.tar.gz
Algorithm Hash digest
SHA256 f1acfb92021158cd8a2ef6c9549b87662d8d374385338e5e5f0e12ea72954e82
MD5 645a6521df8ef0321a167dbf05e2f1f5
BLAKE2b-256 bf40cefc232c301608609197c2d176cfe60cc7f6c1859c25d0df14e0c88a24a6

See more details on using hashes here.

File details

Details for the file goto_conversion-0.0.4-py3-none-any.whl.

File metadata

File hashes

Hashes for goto_conversion-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 f5218078eb14f2b04e2531b730ad082d856b861d2bf9ef3eb9a291ef0d993e0a
MD5 6103e8640722680a5c145aaaff0f7ba3
BLAKE2b-256 35a3475f081cb57c7c3acb88e99bf716ad5cccd0e335cf0c562cb962df4fa969

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page