nfl_spread_cdf | R Documentation |
Compute via Monte-Carlo simulations the probability of point-spread events for a given favorite and underdog team. See the details documentation for the total cdf for more details on the model.
nfl_spread_cdf(fav_means, underdog_means, spread = 1.5, n = 10^6)
fav_means |
vector of mean number of touchdowns and (good) field goals of favorite team |
underdog_means |
vector of mean number of touchdowns and (good) field goals of underdog team |
spread |
the point spread to exceed |
n |
number of variates to use in Monte-Carlo estimate |
data.frame of favorite win chance and underdog win(+tie) chance.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.