If you want to replicate the analysis described in this article, you can find all of the code on GitHub here
It’s all too easy to look back on events and think that we should’ve seen them coming. Surely, we think, we should have known that Bitcoin was going to be a thing, that Trump would win in 2016, that the iPod touch meant the end of phones with buttons on them.
The same is true of football transfers. It’s hard not to look back on moves like Andy Carroll to Liverpool, Fernando Torres to Chelsea, Alexis Sanchez to United…
Some of my favourite footballing memories involve Manchester United having a terrible time. Dirk Kuyt’s hat-trick in 2011. Luis Suárez tucking in Liverpool’s third at Old Trafford in 2014. Pretty much everything to do with David Moyes. After enduring a pretty torrid 20–30 years, the last few seasons have been considerably kinder to those of us who aren’t so keen on that particular shade of red.
Senior Data Scientist and deputy head of profession for data science at the UK Department for Education. All views are my own, not those of the UK government