Skip to contents

Converts quoted odds to their raw implied probability, 1 / decimal. Note that raw implied probabilities across the outcomes of one market sum to more than 1 because they still contain the bookmaker margin; use pa_devig() to remove it.

Usage

pa_implied_prob(odds, odds_format = c("decimal", "american"))

Arguments

odds

Numeric vector of odds.

odds_format

"decimal" or "american".

Value

Numeric vector of implied probabilities in (0, 1).

Examples

pa_implied_prob(c(-110, -110), odds_format = "american")