View source: R/goalmodel_predict.R
pbtts | R Documentation |
Compute both-teams-to-score probabilities from expected goals.
pbtts(expg1, expg2, model = "poisson", dispersion = NULL, rho = NULL)
expg1 |
Non-negative numeric. The expected number of goals. |
expg2 |
Non-negative numeric. The expected number of goals. |
model |
String indicating whether the goals follow a 'poisson' model (default), a Negative Binomial ('negbin'), or Conway-Maxwell-Poisson ('cmp') model. |
dispersion |
Non-negative numeric. The dispersion parameter in the Negative Binomial model or the Conway-Maxwell-Poisson model. |
rho |
Numeric. The Dixon-Coles adjustment. |
A numeric vector with probabilities for both teams to score.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.