IPL – Current Elo Rankings – Probabilities

Below you will find a hypothetical list of fixtures, the difference in current Elo rankings between the two teams and the probability of the home team winning based on these rankings. It is important for me to reinforce all of the above with some caveats, before I discuss how I modelled this data. On the point of this being current Elo rankings, that means as of the end of the 2019 campaign, so in theory all of these fixtures would have to be on the very first day of the season, as their Elo rankings will deviate based on how they actually begin the campaign (when the season is actually underway, I will build out a dynamic version of below, which will aggregate actual win-losses). The same goes for the probabilities; as these were computed by mapping the difference in Elo rankings between teams, the probabilities I modelled out will also shift as teams win and/or lose throughout next season. Finally, all of the hypothetical fixtures presented are from the teams that competed in the most recent IPL campaign, whilst the data used for the model is from all IPL fixtures, regardless of the team (given how the IPL has been so far, I wouldn’t be surprised if new teams appear or some current teams fold). The data used for the probabilities below, was modelled using the Elo scores I computed.

The Model

The build process for the model I used was fairly simple. All it entailed was mapping the outcome of every match since 2008 against the difference in Elo between each team. There was data that needed to be manually excluded; for instance, the first eight fixtures of the 2008 campaign – as there was often no difference in Elo points, as teams were still on the predetermined (and somewhat arbitrary) 1500 points. The same goes for teams that joined the league at later stages; the Kochi Tuskers Kerala for instance, had a cameo appearance in 2011 and although some of their data was included in the model, this was once they had gained “some” traction (i.e. their Elo score had deviated from baseline).

A binary logistic regression, was used for modelling the data with the lgm() function in R. All this entails is assigning a [1] to a victory and a [2] to a loss, and the difference in Elo points between the two teams prior to their encounter. This wasn’t too labour-intensive, as in order to calculate Elo points, you have to assign victories and losses in a binary fashion anyhow; this makes running the regression straight forward; which should look as such: y (binary outcome of the match) ~ x (difference in Elo ranking prior to match)

Findings

The probabilities from below present a few questions. Firstly, it seems that there really are no “dead certs”, when using Elo as your sole predictor of match outcome. What this suggests is three-fold. Firstly, it may be the K Value assigned in my initial Elo calculations was too conservative, perhaps IPL win-streaks are a better indicator in determining the season and potentially Elo needs to reflect this by having a more responsive mediator (this will in turn make the difference between better and worse teams greater, thus increasing winning probabilities). Secondly, the % of Elo carried over in consecutive seasons may also be too conservative, it may be that its an unfair penalty to those teams that finished a season strongly to take away some of their hard work; it could be that this is under-representing the true difference in Elo between the better and worse teams. Finally, compared to other Elo models, the IPL dataset is quite small. This is because the league has only been around for 11 years. Although there are still ~900 data points in the model, what this means is that the data of the earlier years of the IPL could be under-representing true differences between teams. In essence, in the earlier years of IPL competition, performance was more varied, as teams were finding their feet in the league; as Elo ratings from these years is (in some part) carried over from year to year, this will in turn effect Elo differences and win probabilities. Later work will look at segmenting year-by-year performance, because the first few years of the IPL could be skewing the model.

Home TeamAway TeamDifference in Elo PointsWin Probability
Chennai Super KingsDelhi Capitals227.473.0%
Mumbai IndiansDelhi Capitals20267.6%
Mumbai IndiansRajasthan Royals19662.4%
Mumbai IndiansKolkata Knight Riders14262.3%
Chennai Super KingsRoyal Challengers Bangalore252.760.8%
Chennai Super KingsKings XI Punjab150.560.0%
Chennai Super KingsRajasthan Royals221.560.0%
Chennai Super KingsSunrisers Hyderabad196.258.4%
Mumbai IndiansRoyal Challengers Bangalore22758.3%
Mumbai IndiansSunrisers Hyderabad17157.9%
Chennai Super KingsKolkata Knight Riders167.257.1%
Mumbai IndiansKings XI Punjab12555.3%
Kings XI PunjabRoyal Challengers Bangalore10254.3%
Kolkata Knight RidersRoyal Challengers Bangalore8553.5%
Kings XI PunjabDelhi Capitals7753.2%
Kings XI PunjabRajasthan Royals7152.9%
Kolkata Knight RidersDelhi Capitals6052.4%
Sunrisers HyderabadRoyal Challengers Bangalore5752.2%
Kolkata Knight RidersRajasthan Royals5452.2%
Kings XI PunjabSunrisers Hyderabad4651.8%
Chennai Super KingsMumbai Indians25.451.1%
Delhi CapitalsSunrisers Hyderabad-31.251.1%
Rajasthan RoyalsRoyal Challengers Bangalore3151.1%
Sunrisers HyderabadDelhi Capitals3151.1%
Kolkata Knight RidersSunrisers Hyderabad2951.0%
Delhi CapitalsRoyal Challengers Bangalore25.350.9%
Kings XI PunjabKolkata Knight Riders1750.5%
Rajasthan RoyalsDelhi Capitals650.0%
Sunrisers HyderabadRajasthan Royals2550.0%
Delhi CapitalsRajasthan Royals-5.949.5%
Kolkata Knight RidersKings XI Punjab-1749.0%
Royal Challengers BangaloreDelhi Capitals-2548.6%
Rajasthan RoyalsSunrisers Hyderabad-2548.6%
Mumbai IndiansChennai Super Kings-2548.6%
Sunrisers HyderabadKolkata Knight Riders-2948.5%
Royal Challengers BangaloreRajasthan Royals-3148.4%
Sunrisers HyderabadKings XI Punjab-4647.7%
Rajasthan RoyalsKolkata Knight Riders-5447.3%
Royal Challengers BangaloreSunrisers Hyderabad-5747.3%
Delhi CapitalsKolkata Knight Riders-60.147.1%
Rajasthan RoyalsKings XI Punjab-7146.6%
Delhi CapitalsKings XI Punjab-76.946.3%
Royal Challengers BangaloreKolkata Knight Riders-8545.7%
Royal Challengers BangaloreKings XI Punjab-10245.2%
Kings XI PunjabMumbai Indians-12544.2%
Kolkata Knight RidersMumbai Indians-14243.5%
Kings XI PunjabChennai Super Kings-15143.1%
Rajasthan RoyalsMumbai Indians-19641.1%
Sunrisers HyderabadChennai Super Kings-19641.1%
Delhi CapitalsMumbai Indians-201.940.9%
Rajasthan RoyalsChennai Super Kings-22140.0%
Royal Challengers BangaloreMumbai Indians-22739.8%
Delhi CapitalsChennai Super Kings-227.438.9%
Sunrisers HyderabadMumbai Indians-17138.2%
Royal Challengers BangaloreChennai Super Kings-25337.5%
Kolkata Knight RidersChennai Super Kings-16735.3%

One thought on “IPL – Current Elo Rankings – Probabilities”

Leave a comment

Design a site like this with WordPress.com
Get started