Slideshow


European Cups Ranking System Explanation ECRS Ranking Comparison between nations in European Cups

venerdì 21 novembre 2014

Goal timing in the English Premier League





Clicking the image above you can see a data visualization on the timing of goals in the English Premier League in this season, considering segments of 15 minutes each.

At this moment, before the 12th matchday, 22,59% of the goals were scored in the last 15 minutes, and 42,19% in the last 30 (always including the injury time).

The record of goals scored in one segment belongs to Manchester City, who so far scored 8 times in the last 15 minutes (including the injury time).
Aston Villa never scored in the last 30 minutes, as Newcastle in the first 30.


In the visualization you will find the charts about goals scored, goals conceded, the difference (scored - conceded) and the sum (scored + conceded) of goals for each team and each segment.



Cliccando l'immagine sopra, potete vedere una visualizzazione dati riguardante la distribuzione dei gol segnati in questa stagione nella Premier League inglese, considerando segmenti di partita di 15 minuti l'uno.

Al momento, prima della 12a giornata, il 22,59% delle reti sono state segnate negli ultimi 15 minuti, e il 42,19% negli ultimi 30 (sempre considerando anche i minuti di recupero).
Il record di gol segnati in uno dei segmenti è del Manchester City, che è andato a segno finora 8 volte nell'ultimo quarto d'ora delle partite (incluso il tempo di recupero).
L'Aston Villa non ha mai segnato negli ultimi 30 minuti, mentre il Newcastle mai nei primi 30.

Nella visualizzazione trovate i grafici riguardanti gol segnati, gol subiti, la differenza (segnati - subiti) e la somma (segnati + subiti) delle reti per ciascuna squadra e ciascun segmento.


lunedì 17 novembre 2014

Data visualization about the importance of scoring first





I made a data visualization about the importance of scoring first, explained in this post.
Click the image above to go to an interactive chart.

Ho creato una visualizzazione dati riguarda l'importanza di segnare per primi, spiegata in questo post.
Cliccate sull'immagine sopra per andare al grafico interattivo.


venerdì 14 novembre 2014

The importance of scoring first





I checked the last five seasons in the main 6 European leagues (England, France, Germany, Italy, Portugal, Spain) to see how strong is the correlation between the points made and a score linked to the number of times that a team scored first in a match.

To calculate this second score, that I call "First to score efficiency", I gave 1 point for a match where the team scored first, 0,5 points for a match ended 0-0, and then I calculate (score + (n° of matchdays)) / (n° of matchdays * 2).

For example, for the English Premier League, the formula is (score + 38) / 76.
This score thus goes from a minimum of 0,5 (if the team never scored the first goal of the match) to a maximum of 1 (if the team scored the first goal in all the matches).

At this link you can see an interactive chart about it.


These are the correlations:


[​IMG]

They are almost all in the same range (0,80-0,93), with few exceptions.
The most remarkable is the German 2010-2011 season, with a correlation of only 0,6621.
In that season there were some teams that had very different results between the "First to score efficiency" and the number of points made. In particular:
Mainz scored first in only 13 matches (out of 34), but ended 5th in the league: they won 7 games after that the opponent scored first;
- three teams won less than 50% of the matches they scored first in: Hoffenheim won 8 out of 20, Wolfsburg 8 out of 17, Moenchengladbach 9 out of 19. All these three teams had an efficiency score around 0.80 (quite high), but ended respectively at the 11th, 15th and 16th place in the table.

The highest correlation overall (0,9605) is the one of Barcelona in 2009/2010, when they had an efficiency score of 35 (out of 38), scoring 99 points.
The lowest (0,6083) is the one of last season's Paços de Ferreira: they had an efficiency score of only 6.5 (out of 30), however scoring 24 points at the end of the season.

The longest streak belongs to, again, 2009-2010's Barcelona, with a series of 14 matches where they scored first (from the 8th to the 21st matchday). Counting also the 0-0 draws, the streak stretches to 21 matches (from 1st to 21st) without conceding the first goal to the opponent.







Prendendo in considerazione le ultime cinque stagioni nei principali 6 campionati europei (Inghilterra, Francia, Germania, Italia, Portogallo, Spagna) per verificare quanto forte è la correlazione tra i punti fatti da una squadra e un punteggio collegato al numero di partite in cui la squadra ha segnato il primo gol della partita.


Per calcolare questo secondo punteggio, che ho chiamato "First to score efficiency", ho assegnato 1 punto per ogni partita in cui la squadra ha segnato per prima, 0,5 punti per ciascuna partita terminata 0-0, e quindi ho calcolato la seguente formula: punteggio + (n° di partite)) / (n° di partite * 2).

Per esempio, per la Serie A la formula è (punteggio + 38) / 76.
Il punteggio va quindi da un minimo di 0,5 (se la squadra non ha mai segnato per prima) a un massimo di 1 (se la squadra ha sempre segnato per prima).

questo link trovate un grafico interattivo sull'argomento.


Nella tabella pubblicata sopra trovate le correlazioni, che si trovano quasi tutte nello stesso intervallo di valori (0,80-0,93), con poche eccezioni.

La più evidente è la Germania nel 2010-2011, con una correlazione di 0,6621.
In quella stagione ci sono state alcune squadre che hanno avuto risultati molto diversi tra il "First to score efficiency" e il numero di punti fatti. In particolare:
- il Mainz ha segnato per primo solo in 13 partite (su 34), ma ha terminato il campionato al 5° posto: ha infatti vinto 7 partite in rimonta, dopo che l'avversario aveva segnato la prima rete.
- tre squadre hanno vinto meno del 50% delle partite in cui hanno segnato per prime: l'Hoffenheim ne ha vinte 8 su 20, il Wolfsburg 8 su 17, e il Moenchengladbach 9 su 19. Tutte queste tre squadre hanno un punteggio di efficienza intorno allo 0,80 (piuttosto alto), ma hanno terminato rispettivamente all'11°, 15° e 16° posto in classifica.

La correlazione più alta (0,9605) è del Barcellona nel 2009/2010, quando ha avuto un'efficienza di 35 (su un massimo di 38), chiudendo il campionato a 99 punti.

La più bassa (0,6083) è del Paços de Ferreira nella scorsa stagione, in cui ha avuto un punteggio di efficienza solo di 6.5 (su 30), totalizzando tuttavia 24 punti in classifica alla fine del campionato.

La striscia positiva più lunga appartiene, ancora, al Barcellona del 2009-2010, con una serie di 14 partite in cui la squadra ha segnato per prima (dall'ottava giornata alla ventunesima). Contando anche i pareggi per 0-0, la striscia si estende a 21 partite (dalla prima alla ventunesima) senza concedere alla squadra avversaria il primo gol della partita.



giovedì 13 novembre 2014

Domestic ranking as of 13 November 2014




I made the first ranking of this season according to the Domestic Leagues Ranking System.
As explained in the linked post, this system takes into account the matches played in the 10 main European leagues, with the points made, the goals scored and conceded by each team, and the strength of the league.

These are the best ten teams as of today:






You find the complete ranking and the legend here.





Ho creato la prima classifica seguendo il Domestic Leagues Ranking System. Come spiegato nel post, questo sistema prende in considerazione le partite giocate nei dieci principali campionati europei, con i punti fatti, i gol segnati e quelli subiti da ciascuna squadra, e la forza del campionato.

Nella tabella sopra vedete le migliori dieci squadre.

Qui trovate la classifica completa e la legenda.


domenica 9 novembre 2014

Domestic Leagues Ranking System




I created a system to evaluate the performances of the European teams in their own domestic leagues.
I take the average points made (PpG), average goals scored (AGS) and average goals conceded (AGC), calculating this formula: PpG + (AGS-AGC)/2,5
This score is then multiplied by 1,5.

To consider also the strength of each league, I multiply the result by two coefficients:
1) The external coefficient is the national coefficient (NC), that is based on the performances of the teams in the UEFA Cups in the last three years. The system to calculate the NC is explained on this post.
2) The internal coefficient is calculated considering, for each season, the 25th and 75th percentile of the points made per single game by all the teams. These two numbers are the points per game needed by a team to be, respectively, in the top 75% or in the top 25% of the table; therefore they are (roughly) the points needed to avoid the relegation or to partecipate in the Europa League. Then these two values are divided by the number of matches played in that league, and multiplied to obtain only one number.

The final score is then equal to (team's score) * (external coefficient) * (internal coefficient)

A team gets a final bonus of 2% if they are at the first position of the league.


Example
Let’s see how to calculate the score of Liverpool, as of today 9 November 2014.
Liverpool played 11 matches in the Premier League, gaining 14 points, scoring 14 goals and conceding 15.
The result of PpG + (AGS-AGC)/2,5 formula is ~1,236.
This is then multiplied by 1,5 obtaining a score of ~1,85.

The strength of the Premier League is calculated as follows.
The external coefficient of England is 47,38 (it takes into account the results of the English clubs in the European Cups in the last three seasons, as explained in this post).
To calculate the internal coefficient, I calculate the 25th and 75th percentile of the points per game made in the Premier League in the last three seasons, which are respectively ~1,031 and ~1,805. They are multiplied to obtain the internal coefficient of the English Premier League, which is ~1,86.
The external and internal coefficients are multiplied to obtain the final coefficient of the Premier League: 47,38 * ~1,86 = ~88,14.

The score of Liverpool at this point of the season is then ~1,85 * ~88,14 = 163,46 (rounded).


Of course, the league coefficients (both external and internal) are set at the beginning of the season and they won’t change, since they are calculated on the results of the previous three years.
On the contrary, the score of each team changes every match they play.

If it happens that there is at least one team with a negative score, I adjust the points of all teams in this way: the best score remains unchanged, while the worst is converted to 1, and all the other scores are adjusted proportionally. In this way, the worst teams gain more points in the ranking, while the best teams gain few points (the first team gains no points).
In any case, the positions in the ranking don't change.
This is the formula to make the adjustment (TS = team score, BS = best score, WS = worst score): TS + ((1-WS)/(BS-WS))*(BS-TS).





In questo post spiego un sistema da me creato per calcolare il rendimento delle squadre europee nei rispettivi campionati.
Considero la media dei punti fatti (PpG), dei gol segnati (AGS) e di quelli subiti (AGC), calcolando questa formula: PpG + (AGS-AGC)/2,5
Questo punteggio è poi moltiplicato per 1,5.

Per considerare anche la forza dei singoli campionati, il punteggio viene moltiplicato per due diversi coefficienti:
1) Il coefficiente esterno è il coefficiente nazionale (NC), basato sul rendimento delle squadre nelle coppe europee negli ultimi tre anni. Il sistema per eseguire il calcolo è spiegato in questo post.
2) Il coefficiente interno è calcolato considerando, per ciascuna stagione, il 25esimo e il 75esimo percentile dei punti fatti per partita da tutte le squadre. Questi sono i punti necessari per una squadra per essere, rispettivamente, nel miglior 75% o nel miglior 25% della classifica; quindi sono (a grandi linee) i punti necessari per evitare la retrocessione o per qualificarsi all'Europa League. Quindi questi due valori sono divisi per il numero di partite giocate in quel campionato, e moltiplicati tra di loro per ottenere un coefficiente unico.

Il punteggio finale è quindi uguale a (punteggio della squadra) * (coefficiente esterno) * (coefficiente interno)

Le squadre prime in classifica nei loro rispettivi campionati ottengono inoltre un bonus finale del 2%.


Esempio
Vediamo come calcolare il punteggio della Sampdoria, ad oggi 9 novembre 2014.
La Sampdoria ha giocato 11 partite in Serie A, guadagnando 20 punti, segnando 14 reti e subendone 8.
Il risultato della formula PpG + (AGS-AGC)/2,5 è circa 2,036.
Questo viene poi moltiplicato per 1,5 ottenendo un punteggio di circa 3,054.

La forza della Serie A è calcolata come segue.
Il coefficiente esterno dell'Italia è 46,46 (calcolato prendendo in considerazione i risultati dei club italiani nelle coppe europee negli ultimi tre anni, come spiegato in questo post).
Per calcolare il coefficiente interno, vengono considerati il 25esimo e il 75esimo percentile dei punti per partita fatti in Serie A negli ultimi tre anni, che sono rispettivamente circa 1,044 e circa 1,621. Questi punteggi sono moltiplicati tra di loro per ottenere il coefficiente interno della Serie A, che è circa 1,692.
I coefficienti esterno e interno vengono quindi moltiplicati tra di loro per ottenere il coefficiente finale della Serie A: 46,46 * ~1,692 = 78,60 (circa).

Il punteggio della Sampdoria a questo punto della stagione è quindi ~3,054 * ~78,60 = 240,08 (arrotondato).


Ovviamente, i coefficienti relativi al campionato (sia esterno che interno) sono stabiliti all'inizio della stagione e non cambieranno, dato che si basano sui risultati dei precedenti tre anni.
Al contrario, il punteggio della squadra cambia dopo ogni partita giocata.

Se almeno una squadra ha un punteggio negativo, modifico tutti i punteggi proporzionalmente in questo modo: il miglior punteggio resta inalterato, il peggiore viene portato a 1, mentre tutti gli altri vengono modificati in modo proporzionale. In questo modo, le squadre peggiori guadagnano più punti in classifica, mentre quelle minori ne guadagnano meno (la prima in classifica non guadagna alcun punto).
Le posizioni in classifica restano comunque immutate.
Questa è la formula usata per questa regolazione (TS = punteggio della squadra, BS = punteggio migliore, WS = punteggio peggiore): TS + ((1-WS)/(BS-WS))*(BS-TS).