Football Skills with Wyatt
hierarchical models
gaussian processes
sports analytics
pymc
Abstract
A Four-Skill Soccer Factor Model, Built with a Six-Year-Old
Separating a forward’s skill from his team
This is a project I made with my son Wyatt. It adapts the Soccer Factor Model of Andorra and Göbel (2024) to ten seasons of public data from Europe’s top five leagues, 2014/15 to 2023/24. Each of 593 forwards gets four correlated skills: how often he shoots, where he shoots from, how well he finishes, and how many chances he creates. A Mundlak term separates the forward’s skill from the strength of the teams he plays for. The model is fitted in PyMC.
- The explorer: player cards, head-to-head comparisons and a question jar for Wyatt, with rankings, correlations and career curves for grown-ups.
- How it works: the paper’s model, what we changed and why, posterior predictive checks, and findings.
- Reproduction notebook: the whole model in plain PyMC from one 0.4 MB table, with a parameter-recovery test.
- Code: the data pipeline, model, exports and tests.
