Improving expected Goals (xG) models: methods, results, and novel extensions

We present an enhanced expected goals (xG) modeling framework with improved data pipeline, richer features, and interactive deployment. Using StatsBomb event data, we implemented thorough cleaning (merging event and lineup JSON, extracting freeze-frame defense data) and engineered novel features (angular defensive pressure, goalkeeper distance, pre-shot sequence). An XGBoost model was trained and calibrated, achieving strong discrimination (AUC ~ 0.878) and calibration (Brier ~ 0.0686) on held-out shots. Key predictors included game-context and shot geometry (goal difference, shot angle and distance) and defensive metrics, as revealed by SHAP analysis. We summarized recent xG studies, highlighting that our model outperformed prior work (e.g. AUC~0.80) by incorporating these new features. An accompanying Streamlit app demonstrated real-time xG prediction (single-shot sliders, batch CSV upload) and SHAP explanations. Results indicated that the enriched feature set significantly improved predictive accuracy over baseline models, and the deployment prototype facilitated practical analytics for coaches and analysts. Our contributions include (i) a novel “angular pressure” metric, (ii) logic for pre-shot pass sequences, and (iii) an open pipeline and app for xG analysis.

Authors

Institutions

Publication Details

Journal
Journal of High School Science
Published
2025-09-09
DOI
https://doi.org/10.64336/001c.144180
Primary Topic
Sports Analytics and Performance
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Improving expected Goals (xG) models: methods, results, and novel extensions

Sonal Singh
Journal of High School Science
Sports Analytics and Performance
article

Improving expected Goals (xG) models: methods, results, and novel extensions

Sonal Singh
article en

Abstract

We present an enhanced expected goals (xG) modeling framework with improved data pipeline, richer features, and interactive deployment. Using StatsBomb event data, we implemented thorough cleaning (merging event and lineup JSON, extracting freeze-frame defense data) and engineered novel features (angular defensive pressure, goalkeeper distance, pre-shot sequence). An XGBoost model was trained and calibrated, achieving strong discrimination (AUC ~ 0.878) and calibration (Brier ~ 0.0686) on held-out shots. Key predictors included game-context and shot geometry (goal difference, shot angle and distance) and defensive metrics, as revealed by SHAP analysis. We summarized recent xG studies, highlighting that our model outperformed prior work (e.g. AUC~0.80) by incorporating these new features. An accompanying Streamlit app demonstrated real-time xG prediction (single-shot sliders, batch CSV upload) and SHAP explanations. Results indicated that the enriched feature set significantly improved predictive accuracy over baseline models, and the deployment prototype facilitated practical analytics for coaches and analysts. Our contributions include (i) a novel “angular pressure” metric, (ii) logic for pre-shot pass sequences, and (iii) an open pipeline and app for xG analysis.

Journal of High School ScienceVol. 9(3)
KPMG (United Kingdom) (GB)
Openalex Percentile: Top 67%
Sports Analytics and Performance
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Improving expected Goals (xG) models: methods, results, and novel extensions — Sonal Singh · Journal of High School Science (2025) | TGRS Research Map | TGRS