Description Usage Arguments Value
Predict multiple matches using Poisson regression with no updating of training sets or anything
1 2 3 4 5 6 7 | poisson_predict_matches(
fixtures,
fit,
max_goals = 8,
markets = c("result", "over_under", "both_teams_to_score"),
over_under_goals = 2.5
)
|
fixtures |
a tibble columns of which must be "home_team", "away_team", "home_goals", "away_goals" |
fit |
the fitted poisson or zero-inflated poisson model |
max_goals |
the maximum number of goals to consider in a match |
markets, |
vector contain one or more of "result", "over_under" or "both_teams_to_score" |
over_under_goals |
a number usual 0.5, 1.5, 2.5, etc though could be a whole number. Only comes into play if markets is "over_under" |
probabilities for outcomes of the various markets for each match in fixtures
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.