Description Usage Arguments Details Value Examples
View source: R/calc_advantage.R
Calculate the percentage advantage for a given bet
1 | calc_advantage(probs, odds)
|
probs |
true / estimated probabilities |
odds |
odds on offer at the bookmaker |
Advantage is equal to expected profit
the advantage as a percentage
1 2 3 4 5 6 7 8 9 10 | modelled_probs <- 0.5
bookmakers_odds <- 2.1
calc_advantage(modelled_probs, bookmakers_odds)
# Alternatively you could measure your tipped odds against closing odds
pinnacle_closing_odds <- 2.05
calc_advantage(1 / bookmakers_odds, pinnacle_closing_odds)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.