eML_emp | R Documentation |
Calculate the expected value of wagering on either team's moneyline using the empircal distribution.
eML_emp(
design,
home,
away,
wager = 1,
hBL = -110,
aBL = -110,
home_effect = TRUE
)
design |
List of season data as produced by get_design(), contains design matrix X, scores Y_diff, and a list of teams |
home |
Name of the home team, could be a substring |
away |
Name of the away team, could be a substring |
wager |
Amount of money being wagered in dollars |
hBL |
The home team's moneyline given as American |
aBL |
The away team's moneyline given as American |
home_effect |
Logical, indicates if there is home field advantage |
A data frame indicating the the expected values from wagering on each team's moneyline based on the empircal distribution.
design <- get_design(regssn2021)
eML_emp(design, "Rams", "Bengals", wager = 100, hBL = -155, aBL = 185)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.