Changelog
footBayes 2.1.0
New models
- Add the Dixon-Coles model (
"dixon_coles") tostan_foot(), static and dynamic, and tomle_foot(). - Add the negative binomial model (
"neg_bin") tomle_foot().
Dynamic models in stan_foot()
- Add
dynamic_parto choose the evolution variance: a common variance (common_sd, Owen, 2011) or a variance inflation after the summer break (kl_varianceandperiods_per_season, Koopman and Lit, 2015). - Add
dynamic_weightfor the weighted dynamic models with commensurate priors (Macrì Demartino, Egidi and Torelli, 2026), with spike and slab hyperpriors set throughdynamic_par$spikeanddynamic_par$slab.
Other changes
print.stanFoot()withteamskeeps all the global parameters and shows the team names in the team-indexed parameters.foot_prob()supports the"dixon_coles"and"neg_bin"MLE models.- Add an identifiability constraint to the Bradley-Terry-Davidson Stan models.
- Extend the confidence intervals of
mle_foot()to the model-specific parameters and move the MLE simulations to the internalsimulate_goals_mle(). - Rewrite the vignette.
Bug fixes
- Fix the likelihood of the static bivariate Poisson model.
- Draw
y_repandy_prevof the bivariate Poisson models from the bivariate Poisson distribution. - Rewrite the diagonal-inflated bivariate Poisson model as in Karlis and Ntzoufras (2003), with the new parameter
draw_distfor the draws. - Return
diff_y_previn the bivariate Poisson and diagonal-inflated bivariate Poisson models. - Fix the AIC and BIC of
mle_foot()to count only the free parameters of each model. - Fix
foot_prob()for MLE models, which usedobject$homeinstead ofobject$home_effect. - Fix
compare_foot()withNArows in a probability matrix, which misaligned the outcomes of the following elements ofsource. - Match
rankinginstan_foot()to the teams by name instead of by position, with informative errors for missing or duplicated teams. - Fix the observed frequencies in
pp_foot(type = "aggregated")for models fitted withpredict > 0.
Documentation
- Update
foot_abilities()for the six MLE models. - Fix the documentation of
italy,priors,btd_foot(),compare_foot(),plot_logStrength()and ofnorm_methodandrhoinstan_foot().
footBayes 2.0.1
- Updated vignette.
- Correct typo in foot_compare() description.
- Correct typo in pp_foot() description.
footBayes 2.0.0
- Migration from
rstaninterface toCmdStanRinterface. - Add support for the
VI,pathfinderandlaplacealgorithms. - Add pre-compiled CmdStan models using the package
instantiate. - Add AIC and BIC output elements in
mle_foot(). - Add Bayesian static/dynamic Negative Binomial model in
stan_foot(). - Minor
ggplot2edits onfoot_rank(),foot_abilities()andpp_foot(). - Updated vignette.
footBayes 1.0.0
- Bradley-Terry model for abilities.
- Dynamic ranking in the models.
- Updated vignette.
- Probabilistic predictive performance (pseudo-R squared, Brier score, etc.).
footBayes 0.2.0
- Inclusion of diagonal-inflated bivariate Poisson and zero-inflated Skellam models.
- Minor edits and drop engsoccerdata dependence.
- Updated vignette.
footBayes 0.1.0
- First submission to CRAN.