Description Usage Arguments Value
View source: R/poisson_model.R
Uses an exponetial time weighting for modelling, weighting more recent matches more strongly. This is derived from the time weighting method used by Dixon-Coles in their version of the double Poisson model
1 | poisson_time_weights(match_dates, current_date, xi = 0.0016)
|
match_dates |
dates of football matches, date object |
current_date |
what date to calculate the exponential time weight from |
xi |
the time weight parameter |
vector of weights
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.