Latent F1 team and driver performance: fun with Bayesian models

For a bit of fun, let’s try and model the performance of F1 drivers and constructors in the 2024 season using Bayesian models. The aim is to more to learn about using Stan than determine deep truths about F1, since there’s far more to performance than we can easily model. We’ll vaguely imitate the f1-metrics model, which I used to eagerly await after each season. In this model there are latent…