# What If They Took the Shot? A Hierarchical Bayesian Framework for Counterfactual Expected Goals

arXiv: https://arxiv.org/abs/2511.23072 · HTML: https://mlsanity.com/paper/2511.23072/

## Key facts

- Cited by 2 papers in the map (data through 14 Oct 2026).
- Builds on 4 of its 25 references that are in the map.
- First posted on arXiv 28 Nov 2025.

## Builds on (most cited first, 4 of 4)

- [TacticAI: an AI assistant for football tactics](https://mlsanity.com/paper/2310.10553/) (2023)
- [A Machine Learning Approach for Player and Position Adjusted Expected Goals in Football (Soccer)](https://mlsanity.com/paper/2301.13052/) (2023)
- [Explainable expected goal models for performance analysis in football analytics](https://mlsanity.com/paper/2206.07212/) (2022)
- [Bayes-xG: Player and Position Correction on Expected Goals (xG) using Bayesian Hierarchical Approach](https://mlsanity.com/paper/2311.13707/) (2023)

## Built on by (most cited first, 2 of 2)

- [Modeling Matches as Language: A Generative Transformer Approach for Counterfactual Player Valuation in Football](https://mlsanity.com/paper/2603.15212/) (2026)
- [Structural Pass Analysis in Football: Learning Pass Archetypes and Tactical Impact from Spatio-Temporal Tracking Data](https://mlsanity.com/paper/2603.28916/) (2026)

## Abstract (arXiv)

How would the probability of scoring change if a different player took the same shot? Although expected goals models describe the difficulty of scoring opportunities, comparing players on identical chances requires accounting for uncertainty in their estimated conversion probabilities. We address this question through a hierarchical Bayesian framework that evaluates alternative shooters under the same observed circumstances. Using 35,700 eligible shots from four leagues during the 2015/16 season, we compare a contextual benchmark with a primary player-intercept model and a provisional extension that allows player differences to vary with shooting conditions. Paired posterior draws preserve shared uncertainty when individual probability differences are aggregated across opportunities. Chronological validation demonstrates improved predictive performance relative to a constant-rate baseline, but introducing player effects provides negligible additional gains. Controlled single-seed experiments show that greater information per player improves estimation accuracy and narrows uncertainty intervals, although distinguishing small differences remains difficult and confident conclusions about near-null effects can become more frequent. Applications involving Giroud--Vardy and Berardi--Sansone similarly yield estimated differences that are small relative to their posterior uncertainty. These findings highlight an important distinction between predicting the outcome of a shot and establishing whether one player would be more likely to convert it. The proposed framework makes this distinction explicit by evaluating alternative shooters on fixed recorded opportunities while accounting for their contextual exposure. The resulting comparisons concern conditional conversion rather than the causal consequences of replacing a player in a match.
