arXiv · 2505.05120
Simulating MLB Seasons using Bayesian Inference and Random Walks
Abstract
As a dedicated follower of sports statistics and with the MLB season beginning in late March, I set out to predict how many wins each team would accumulate by the end of the 162 game season. The goal was to build a simulation framework capable of forecasting the remainder of the season, starting from a 20 game burn-in period to establish initial estimates of team strength. My approach used a Bayesian inference model incorporating team win percentage, batting average, and pitching ERA to construct a posterior distribution of win probability for each matchup. For each game, I sampled from the posterior and simulated the outcome using a Bernoulli trial. Because future matchup inputs were unobserved, I forecasted batting averages using random walks and modeled pitching ERA with Kalman filters. After simulating many seasons, the model produced a distribution of win totals for all 30 teams and can also be used to estimate each team's probability of making the postseason.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Simon Cha. 2025-05-08. Simulating MLB Seasons using Bayesian Inference and Random Walks. https://arxiv.org/abs/2505.05120
Cite the original work for its findings. Save a collection to share your selection of sources.