Functions Reference
Model fitting
Fit goal-based models by maximum likelihood or in a Bayesian framework, and estimate team strengths with the Bradley-Terry-Davidson model.
stan_foot() |
Fit football models using CmdStan |
mle_foot() |
Fit football models with Maximum Likelihood |
btd_foot() |
Bayesian Bradley-Terry-Davidson Model |
normal() student_t() cauchy() laplace() |
Football priors distributions and options |
Abilities and strengths
Plot the estimated team abilities and strengths.
foot_abilities() |
Plot football abilities from Stan and MLE models |
plot_btdPosterior() |
Plot Posterior Distributions for btdFoot Objects |
plot_logStrength() |
Plot Rankings for btdFoot Objects |
Model checking and predictions
Posterior predictive checks, match probabilities and league table predictions.
pp_foot() |
Posterior predictive checks for football models |
foot_prob() |
Plot football matches probabilities for out-of-sample football matches. |
foot_rank() |
Rank and points predictions |
foot_round_robin() |
Round-robin for football leagues |
Model comparison
Compare the predictive performance of fitted models.
compare_foot() |
Compare Football Models using Various Metrics |
Print methods
Summaries of the fitted objects.
print.stanFoot() |
Print Method for stanFoot Objects |
print.btdFoot() |
Print Method for btdFoot Objects |
print.compareFoot() |
Print method for compareFoot objects |
Datasets
Match results of the Italian and English leagues.
italy |
Italy league results 1929-2022 |
england |
English league results 1888-2022 |