A Hierarchical Bayesian Model for Predicting Soccer Results

With Application to the English Premier League

Milad Kharratzadeh

read_data.R : reading all data from http://www.football-data.co.uk and saving them in the DATA folder

fit_model.R : reading data from DATA folder and fitting the Bayesian model to them for all seasons

analyze_results.R : code for analyzing fits, plotting results, etc.

epl_model.stan : Bayesian model implemented in Stan