Hi, this is my code for running the paper, "A Hierarchical Bayesian Regression to Estimate the Posterior Probability that the Chicago Cubs Defeat the Cleveland Indians in the 2016 World Series." The r scrips and .rmd file should replicate perfectly well- please let me know if they do not.
Bayesian Baseball 2020 Work in Stan rather than "rethinking" Work in playoffs Player level, input player stats Fixed effects only? Need a different model for pre-game priors. Need to feed in better data, not so many zeroes. Shiny App? Counterfactual plot (ch5) prior predictive sim Fit "Mr. P" model (one team only) (see Gelman Blog) Fit 2018 with ML algorithm with Python