-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
16 lines (11 loc) · 954 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#EURO 2020 Cup Prediction Code Using MatLab
This repository contains The code used to win the Royal Statistical Society's Euro 2020 Prediction Competition.
The main code can be found in the file "FinalEuroPredictor.m".
The code is based on a simple double Poisson model, where each team A is given an attacking strength O_A
and a defensive vulnerability V_A. Then, the goals scored by team A against team B are assumed to be Poisson
distributed with mean O_A * V_B.
While the code is currently set up to predict Euro 2020, changing it to work for another
football tournament is simple. One simply needs a CSV file containing previous results between the tournament teams and another containing the matches that need to be predicted. These files should mimic
the format of the two CSV files contained in this repository.
Note that the results.csv file was taken from
https://www.kaggle.com/martj42/international-football-results-from-1872-to-2017