
I’ve been thinking about Soccer analytics for some time now. I coached a Middle School soccer team last season and decided to develop some simple measurements that might allow the team to see improvement. I selected shots, shots on goal (good shots), and turnovers (losing the ball for more than 3 seconds). As it turns out, without a focused team manager, it is difficult to collect these simple measures, even when carefully defined. Middle School attention spans are not long, everyone!
So in this light, I recently picked up a copy of Ryan O’Hanlon’s book “Net Gains” (link to Amazon) and was inspired to tune up my old COVID stats and visualizations (check out my COVID-19 tag if you really want to relive those times) for something much more interesting to me now. Since I haven’t seen much in the way of MLS analytics, I figured that might be a good place to start.
What do we Know about Soccer Analytics?
First, soccer is a highly unstructured game which typically low numbers of scores. Think about baseball… the players are often in set positions, both defensively and offensively. The batter stands in the batter’s box, the pitcher is on the mound, runners stay within the basepaths and stand on the bases. Defensive players tend to stand most of their time in the same spots. A Baseball diamond is a huge space that players will only occupy a small portion of throughout the game. It is rare that an official makes a single call that flips the outcome of the game.
Soccer Analytics Are Hard because Soccer has Low Structure!
Now think about soccer. There are many variants of soccer formations. Some clubs have traditionally used a 4x4x2 or a 4x4x3. But there are creative variants of these formations that could get adopted for special situations. There are very few spots on the pitch where players have a low probability of occupying during a game. This contributes to making soccer a very hard game to collect data on and analyze. This difficulty has also led to a lack of “killer” metrics that are indicative of team success. Indeed, in the book ‘Soccereconomics’, the authors Simon Kuper and Stefan Szymanski, find that in European leagues the amount spent on players’ wages is the most highly correlated measurable with team success that is known! And of course, with many games decided by one goal or tied, a single call from an official can reverse the outcome of the game. This is discouraging, to say the least, for anyone that wants to find any other signals hiding under that noise. Billy Beane, the former GM of the Oakland Athletics baseball team became famous for finding soft signals in the data that the high-spending teams hadn’t been paying attention to. These are hard to find in soccer.
One Early Metric I Like (And Think I can Collect)
One metric that I’m interested in is Expected Goals (both For and Against). This is a measure of (my words) the times when a team makes good decisions to put themselves into the position of taking a good shot. Most of the data indicates that in soccer, ten decent shots on goal will on aggregate score one real goal. So most shots have an Expected Goals score (xG) of 0.1. Some shots from better locations have a higher factor. Overall, it isn’t hard to count up the xG during a game. A team that has 3 xG but only 1 goal in a game could be thought to have fallen on the bad side of the luck that drives much of what happens in soccer. The xG for a team’s opponent can also be calculated. I use a feature called npxG that I find on the site FBRef.com (link to site) because it takes penalty shots out of the mix (I’m not a big fan of penalty shots, which seem highly subjective to me, and therefore unpredictable). Then the ratio of npxG “for” your team to npxG “against” your team is a very good ratio to measure with one number how your team performed.
Early Analysis on MLS Soccer
I collected data and did some data engineering on it to allow me to plot two things for each MLS Club. First, the annual salary for the club (in millions of dollars) and second the npxG ratio. The hypothesis is that when these are plotted for the teams in rank order by their number of points for the season, maybe we’ll see some trends.
2022 MLS Results

This is a pretty satisfactory result ans shows a trend that correlates a high npxG ratio with success. Actually, the top npxG ratio of all goes to LAFC, who won the 2022 championship over Philadelphia (the second highest ratio). The trend is not linear down, reflecting the impact of chance on the results of individual games. Note however that there is no trend at all regarding team salaries and final results. I have seen papers that indicate that others haven’t found any trends with MLS salaries either, ostensibly due to the way the MLS implements a salary cap.
Can we Predict the 2023 MLS Championship yet?

So as is obvious, the trend is non-existent after 15 or so games of the 2023 MLS season. My suspicion is that it’s too early in the season for “luck” to have filtered down to its normal level.
Plans for Future Analysis
I’m planning to evaluate more MLS seasons for this trend and incorporate a number of other metrics that are interesting and available (% possession is one that I tried to estimate for my Middle School soccer team, but an accurate % possession might have good correlation with performance. I’ll roll these kinds of articles out periodically. Please weigh in if you have interest and/or expertise to contribute!
LINKS to Other Soccer Analytics Entries
- Soccer Analytics Series Intro
- MLS and Premier League Comparison
- Home and Away Luck Metric
- Does Counterpressing Work? Evidence.
- Evaluation of Outcomes using the Luck Metric
- More Analysis using the Luck Metric
- Soccer Analytics in Practice – Youth Soccer Example
- xG and Luck update on recent MLS season

Leave a Reply