This repository contains the code of a personal project where I am implementing a simple “Dixon-Coles” model to predict the outcome of football games in Stan, using publicly available football data.
As a starting point, I would suggest looking at the notebook overview.Rmd
summarising what I have done during this project, which one could access by clicking here: Getting started.
A more detailed analysis, is conducted in the other files in this repository:
functions.R
.prior_pred_check.R
includes the implementation of the prior predictive checks, fake data checks and the pipeline to generate and evaluate predictions.fitting.R
and posterior predictive checks are performed.validation.R
.