↓ Skip to main content
All methods

pandas.Series.overround

Series method → float
Signature
Series.overround(odds_type='implied_probability')

Calculate the overround of a Series of odds.

The Series should hold one price for every outcome of a single market, such as home / draw / away.

Parameters

odds_type:{'decimal', 'fractional', 'american', 'implied_probability'}, default 'implied_probability'
Format of the odds in the Series.

Returns

float
The overround as a decimal, e.g. 0.05 for a 5% overround.

See also

pandas.DataFrame.overround
Calculate the overround of each row of a DataFrame of odds.
pandas.Series.vig
Calculate the vigorish (juice) of a Series of odds.
pandas.Series.devig
Remove the vig from a Series of implied probabilities.

Notes
#

For a market where exactly one outcome wins, the implied probabilities of all outcomes should add up to 1. Bookmakers price them so they add up to more than 1, and the excess is their margin:

QuantityFormulaMethod
Overroundsum(p) - 1overround
Vig (juice)1 - 1 / sum(p)vig
Devigged probabilityp / sum(p)devig

Examples
#

import pandas as pd
import stakepd as spd   # importing stakepd adds these methods to pandas objects

Example:

implied_odds = pd.Series([0.8, 0.5, 0.3])
overround_value = implied_odds.overround(odds_type = 'implied_probability')
print(overround_value)
Output:
np.float64(0.6000000000000000)

This method is also covered, alongside the rest of the module, in the overview guide.