Skip to contents

Takes the quoted odds for all outcomes of a single market (for example both sides of a total, or the three outcomes of a soccer match) and estimates the fair, margin-free probabilities.

Usage

pa_devig(
  odds = NULL,
  probs = NULL,
  method = c("multiplicative", "additive", "power"),
  odds_format = c("decimal", "american")
)

Arguments

odds

Numeric vector of quoted odds for all outcomes of one market. Supply either odds or probs, not both.

probs

Numeric vector of raw implied probabilities (must sum to more than is fair, i.e. contain the margin) as an alternative to odds.

method

"multiplicative", "additive", or "power".

odds_format

"decimal" or "american", for odds.

Value

A data frame with one row per outcome and columns implied (raw implied probability), fair_prob (devigged probability), and fair_decimal (the corresponding fair decimal odds). The overround (the amount by which raw implied probabilities exceeded 1) is attached as attribute "overround".

Details

Methods:

  • "multiplicative" (default): divides each raw implied probability by their sum. Simple and the standard baseline.

  • "additive": subtracts an equal share of the overround from each outcome. Can produce non-positive probabilities for long shots, in which case a warning is issued.

  • "power": finds the exponent k such that the raw implied probabilities raised to k sum to 1. Shrinks long shots more than favorites, which better matches the favorite-longshot bias documented in betting markets.

Examples

# A symmetric -110 / -110 total devigs to 50/50 under every method
pa_devig(c(-110, -110), odds_format = "american")

# Three-way soccer market, power method
pa_devig(c(2.45, 3.40, 3.10), method = "power")