nfl_total_cdf: Monte-Carlo estimates of Total points distribution

View source: R/cdfsNFL.R

nfl_total_cdfR Documentation

Monte-Carlo estimates of Total points distribution

Description

Compute via Monte-Carlo probabilities of being over or under a given line.

Usage

nfl_total_cdf(line, means, engine = "cf", n = 10^6)

Arguments

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.

Details

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.

Value

data.frame of over, under, and push chances.


shill1729/sportsbets documentation built on Dec. 27, 2022, 10:53 p.m.