Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
Jim Albert has a baseball blog:
I sent a link internally to people I knew were into baseball, to which Andrew replied, “I agree that it’s cool that he doesn’t just talk, he has code.” (No kidding—the latest post as of writing this was on an R package to compute value above replacement players (VAR).)
You may know me from…
Little Professor Baseball
I first wrote to Jim Albert way back before I was working with Andrew on Stan. I’d just read Curve Ball and had just created my very simple baseball simulation, Little Professor Baseball. I was very pleased with how I’d made it simple like All-Star Baseball, but included pitching and batting, like Strat-o-Matic Baseball (a more “serious” baseball simulation game). My only contribution was figuring out how to allow both players (offense/defnese) to roll dice, with the resulting being read from the card of the highest roller. I had to solve a quadratic equation to adjust for the bias of taking the highest roller and further adjusting to deal with the Strat-o-Matic-style correction for only reading the results off a player’s card half the time (here’s the derivations with a statistical discussion on getting the expectations right). I analyze the 1970 Major League Baseball season (same one used by Efron and Morris, by the way). I even name-drop Andrew’s hero, Earl Weaver, in the writeup.
The post Jim Albert’s Baseball Blog appeared first on Statistical Modeling, Causal Inference, and Social Science.
R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.