xG Explained
What is xG?
Very simply, xG (or expected goals) is the probability that a shot will result in a goal based on the characteristics of that shot and the events leading up to it. Some of these characteristics/variables include:
- Location of shooter: How far was it from the goal and at what angle on the pitch?
- Body part: Was it a header or off the shooter's foot?
- Type of pass: Was it from a through ball, cross, set piece, etc?
- Type of attack: Was it from an established possession? Was it off a rebound? Did the defense have time to get in position? Did it follow a dribble?
Every shot is compared to thousands of shots with similar characteristics to determine the probability that this shot will result in a goal. That probability is the expected goal total. An xG of 0 is a certain miss, while an xG of 1 is a certain goal. An xG of .5 would indicate that if identical shots were attempted 10 times, 5 would be expected to result in a goal.
There are a number of xG models that use similar techniques and variables, which attempt to reach the same conclusion. The model that FBref uses is provided by
StatsBomb. What sets StatsBomb's xG model apart from others is their use of freeze frames. A freeze frame is the location of all players on the pitch at the moment the shot was taken. Was the goalkeeper in position? Was it an open goal or were there a number of defenders between the shooter and the goal? Was the shooter being pressured? Was it a 1v1 situation with the keeper?
Take this Callum Wilson goal vs Southampton for example. The shot was taken directly in front of the goal from six yards out. However, Wilson was the only player in the penalty area at the time of the shot, making it a completely open goal. According to StatsBomb's data, just 3% of shots from this location were taken with an open goal. Comparing this shot to all other shots taken from this spot without accounting for the location of the defense would return a wide range and inaccurate set of results. In fact, other expected goal models credit this exact shot anywhere from 0.5 to 0.66 xG. StatsBomb, and their use of freeze frames, credits this shot with .97 xg, making it an almost guaranteed goal.
xG does not take into account the quality of player(s) involved in a particular play. It is an estimate of how the average player or team would perform in a similar situation.
How xG is used
xG has many uses. Some examples are:
- Comparing xG to actual goals scored can indicate a player's shooting ability or luck. A player who consistently scores more goals than their total xG probably has an above average shooting/finishing ability.
- A team's xG difference (xG minus xG allowed) can indicate how a team should be performing. A negative goal difference but a positive xG difference might indicate a team has experienced poor luck or has below average finishing ability.
- xG can be used to assess a team's abilities in various situations, such as open play, from a free kick, corner kick, etc. For example, a team that has allowed more goals from free kicks than their xGA from free kicks is probably below average at defending these set pieces.
- A team's xGA (xG allowed) can indicate a team's ability to prevent scoring chances. A team that limits their opponent's shots and more importantly, limits their ability to take high probability shots will have a lower xGA.
https://fbref.com/en/expected-goals-model-explained/