FootballStats

Óscar Villa
14/07/2016

Why FootballStats

On football two teams compete along 90 minutes, and the team which more goals anotate is the winner. But if at the end of the game the two teams anotate equal number of goals, there is a draw. English Premiere League is the most claimed football league in the world. So, I decide to take this league as target (also I love it) to show some basics stats. But you can find all the data sets and much more thanks to football-data.co.uk On the app, you can select one team as local (home team) and another as visitor (away team), and then the app will show you:

  • How much of the previous games has ended with a win of the selected home team (how many times the local has got a win)
  • The distribution of the difference in goals (which determines who win, who loses or a draw if equal) in favour of the selected home team.
  • The table with the date, home team, away team, their goals, the final results and the goal difference. All as numbers, factors and dates.

HomeWins, Draws and AwayWins (Home loses)

In this example, I selected Chelsea (my favourite team) as the Home team, and the Arsenal as the Away team. You can see 10 times Chelsea has win as local, 7 times Arsenal has win to Chelsea (being Chelsea the local or home team), and six times the games has ended in a draw.

plot of chunk firstSlide

Goal difference's density

In concordance with the previous bar plot, here you can see the density distribution of the goal difference at the end of the previous games between Chelsea as local and Arsenal as visitor: this difference tends to be zero and there's a low probability that the difference in goals is more than two… When Chelsea is local, there is a little trend towards the Chelsea win, in accordance with the trend in the Premiere League and in football in general: Home win.

plot of chunk goal_diffe

Table

Finally, may be you are so interested in numbers and statistics and wanna see by yourself the numbers. So here is the table of all the previous games between the two teams.

Date HomeTeam AwayTeam FTHG FTAG FTR GD
157 20/11/93 Chelsea Arsenal 0 2 AwayWin -2
1005 14/05/95 Chelsea Arsenal 2 1 HomeWin 1
1176 30/09/95 Chelsea Arsenal 1 0 HomeWin 1
1970 05/04/97 Chelsea Arsenal 0 3 AwayWin -3
2273 21/09/97 Chelsea Arsenal 2 3 AwayWin -1
2621 09/09/98 Chelsea Arsenal 0 0 Draw 0

Thanks for your time. I hope you like this app.