nfl_total_cdf | R Documentation |
Compute via Monte-Carlo probabilities of being over or under a given line.
nfl_total_cdf(line, means, engine = "cf", n = 10^6)
line |
the line |
means |
the vector of mean number of touchdowns and (good) field goals of both teams cumulatively |
engine |
"cf" or "mc" |
n |
number of variates to use in Monte-Carlo estimation. |
We model the point process of a football team by a linear combination of Poisson RVs, where the coefficients are the points earned for each type of goal. Since the data we use for the mean number of touchdowns includes all touchdowns not just ones that have no conversion, the coefficients for the the conversion points will be 1 and 2 rather than 7 and 8. I am not a football expert, so contact me if you have better ideas.
data.frame of over, under, and push chances.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.