poisson_predict_matches: Poisson Predict Matches

Description Usage Arguments Value

Description

Predict multiple matches using Poisson regression with no updating of training sets or anything

Usage

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
)

Arguments

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"

Value

probabilities for outcomes of the various markets for each match in fixtures


neilcuz/panenkar documentation built on June 19, 2021, 7:31 p.m.