kelly | R Documentation |
This function calculates the Kelly Criterion percentage of your bankroll to bet in order to maximize returns.
kelly(win_prob, odds, type = "dec", kelly_type = "full")
win_prob |
Probability of winning a bet (0.55) |
odds |
Odds for a bet (-110) |
type |
Type of odds. Possible values are:
|
kelly_type |
Optional input altering the kelly formula. Possible values are:
|
Percentage of bankroll to risk on bet
Kelly Criterion wikipedia page
kelly(
win_prob = 0.58,
odds = -132,
type = "us"
)
kelly(
win_prob = 0.53,
odds = -105,
type = "us",
kelly_type = "half"
)
kelly(
win_prob = 0.545,
odds = 2.1,
type = "dec"
)
kelly(
win_prob = 0.27,
odds = 5.5,
type = "dec",
kelly_type = "quarter"
)
kelly(
win_prob = 0.10,
odds = 40/1,
type = "frac"
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.