Modeling and simulation of the 2022 FIFA World Cup
- fit_model.R: Estimates Bayesian bivariate Poisson model. For more details, see Equation (2) of Benz and Lopez, 2021.
- run_sim.R: Run 10,000 simulations of the tournament
- helpers.R: Helper functions for sims.
- game_preds.R Save out predictions for indivdual games.
Data (internation_soccer_score.csv) courtesy Kaggle.
Flag figures courtesy of Flaticon.