The Penalty Blog

Insights, research, and analysis on football analytics.

Football Prediction Models: Which Ones Work the Best?

Published on March 10, 2025 by Martin Eastwood

Comparing football goals models — Poisson, Dixon-Coles, and more — to see which predicts best and how to optimize them...

Read More
Calculating Expected Threat in Python Using Linear Algebra

Published on January 08, 2025 by Martin Eastwood

This article walks through how to calculate expected threat in Python using linear algebra instead of the original convergence method...

Read More
Estimating Goal Expectancy From Bookmaker's Odds

Published on December 02, 2022 by Martin Eastwood

This article walks through how to estimate goal expectancies from bookmaker's odds using Python...

Read More
Penaltyblog Python Package Updated to v0.5.1

Published on November 04, 2022 by Martin Eastwood

My penaltyblog python package has been updated to v0.5.1 to include new Bayesian football (soccer) models and web scrapers...

Read More
Ten Years of pena.lt/y/blog

Published on October 18, 2022 by Martin Eastwood

It's been ten years since I started this blog...

Read More
Scraping Football Data Using the penaltyblog Python Package

Published on August 05, 2022 by Martin Eastwood

This article shows how to use the penaltyblog python package to scrape football data...

Read More
Predicting Football Results Using Bayesian Modelling with Python and PyMC3

Published on August 25, 2021 by Martin Eastwood

This article looks at how to predict football results using a Bayesian hierarchical model built in Python and PyMC3...

Read More
Predicting Football Results Using Python and the Dixon and Coles Model

Published on June 24, 2021 by Martin Eastwood

Building on the last article, we upgrade our Poisson model with the Dixon and Coles adjustment and time decay...

Read More
Predicting Football Results With the Poisson Distribution

Published on June 18, 2021 by Martin Eastwood

A tutorial about predicting football results using Python and the Poisson distribution...

Read More
Which Young Players Will be Stars?

Published on May 19, 2021 by Martin Eastwood

Using my Player Ratings model to identify the best footballing prospects...

Read More