<p><div><div><div><div data-width="100" data-show-faces="false" data-send="true" data-layout="button_count" data-height="21" data-href="https://www.r-bloggers.com/announcing-the-release-of-my-e-book-introduction-to-empirical-bayes/"></div></div><div></div></div><div></div></div>
<div>
(This article was first published on <strong><a href="http://varianceexplained.org/r/empirical-bayes-book/"> Variance Explained</a></strong>, and kindly contributed to <a rel="nofollow" href="https://www.r-bloggers.com/">R-bloggers)</a> </div>
<p>I’m excited to announce the release of my new e-book: <strong>Introduction to Empirical Bayes: Examples from Baseball Statistics</strong>, available <a target="_blank" rel="nofollow" href="https://gumroad.com/l/empirical-bayes">here</a>.</p>
<p>This book is adapted from a series of ten posts on my blog, starting with <a target="_blank" rel="nofollow" href="http://varianceexplained.org/statistics/beta_distribution_and_baseball/">Understanding the beta distribution</a> and ending recently with <a target="_blank" rel="nofollow" href="http://varianceexplained.org/r/simulation-bayes-baseball/">Simulation of empirical Bayesian methods</a>. In these posts I’ve introduced the empirical Bayesian approach to estimation, credible intervals, A/B testing, mixture models, and other methods, all through the example of baseball batting averages.</p>
<p>If you’ve enjoyed some or all of these posts, I’d encourage you to purchase the e-book to see how it all fits together.</p>
<h3>What’s in the book</h3>
<p>How does the book differ from the posted blog entries?</p>
<ul>
<li>
<p>There is a <strong>new chapter</strong> available exclusively in the book, introducing the Dirichlet and the multinomial distributions. By extending the beta and the binomial to more than two categories, this lets us model not only hits and misses but also singles, doubles, triples, and home runs. The chapter shows how to use these distributions to perform empirical Bayes estimation on <a target="_blank" rel="nofollow" href="https://en.wikipedia.org/wiki/Slugging_percentage">slugging percentages</a>.</p>
</li>
<li>
<p>There’s been <strong>additional material</strong> added to several other chapters. Most notable is that I’ve expanded the chapter on the beta distribution to include a deeper explanation of conjugate priors, and expanded the chapter on simulation to show how varying the number of observations affects the accuracy of the methods.</p>
</li>
<li>
<p>With the benefit of hindsight across the series I’ve been able to make many small improvements, including reducing extraneous code and linking chapters to each other to form a cohesive narrative.</p>
</li>
<li>
<p>Using <a target="_blank" rel="nofollow" href="https://bookdown.org/yihui/bookdown/">bookdown</a> I’ve reformatted it to include figure captions and sidenotes, based on the <a target="_blank" rel="nofollow" href="http://www.latextemplates.com/template/tufte-style-book">tufte-style book layout</a>. Here’s an example page from the new format:</p>
</li>
</ul>
<p><img alt="" src="https://i0.wp.com/www.dropbox.com/s/07bi2i7pi4so7ev/Screenshot%202017-02-07%2013.59.19.png?w=456&ssl=1" data-recalc-dims="1"></p>
<h3>Other questions you might have</h3>
<ul>
<li>
<p><strong>How much does it cost?</strong> Based on the example of others like Jeff Leek and Roger Peng, I’m offering it as “pay-what-you-want,” with a <em>suggested</em> price of $9.95. Paying is a great way to support my blogging, but if you’re a student or otherwise uncomfortable paying full price you’re welcome to pay less, or get it for free.</p>
</li>
<li>
<p><strong>Why charge at all?</strong> This is an <em>experiment</em> in self-publishing work from my blog. If it’s successful, I could spend more time and energy on statistical education, by building more blog post series that I later combine into books. My hope is that people who have gotten value out of the baseball series won’t mind paying to support it.</p>
</li>
<li>
<p><strong>Why <a target="_blank" rel="nofollow" href="https://gumroad.com/">Gumroad</a>?</strong> Gumroad was the most generous self-publishing platform I found in letting authors keep the revenue from customer’s purchases. If you pay the full $9.95 price, $9.30 goes directly to me.</p>
</li>
<li>
<p><strong>Why the Tufte book format?</strong> Most people that use bookdown publish it as HTML, but much of the material is already available online in my blog posts. I like the style of Tufte books both visually and practically (I can put extraneous material in margin notes), but I’m interested in feedback and may offer other formats in the near future.</p>
</li>
</ul>
<p>I encourage you to leave feedback in the comments below (or, if you prefer, by email). I hope you’ve enjoyed the baseball series and that you’ll continue to follow my future work!</p>
<p>
<div>
<div>To <strong>leave a comment</strong> for the author, please follow the link and comment on their blog: <strong><a href="http://varianceexplained.org/r/empirical-bayes-book/"> Variance Explained</a></strong>.</div>
<hr>
<a rel="nofollow" href="https://www.r-bloggers.com/">R-bloggers.com</a> offers <strong><a rel="nofollow" href="https://feedburner.google.com/fb/a/mailverify?uri=RBloggers">daily e-mail updates</a></strong> about <a title="The R Project for Statistical Computing" rel="nofollow" href="https://www.r-project.org/">R</a> news and <a title="R tutorials" rel="nofollow" href="https://www.r-bloggers.com/search/tutorial">tutorials</a> on topics such as: <a title="Data science" rel="nofollow" href="https://www.r-bloggers.com/search/data%20science">Data science</a>, <a title="Big Data" rel="nofollow" href="https://www.r-bloggers.com/search/Big%20Data">Big Data, <a title="R jobs" rel="nofollow" href="https://www.r-users.com/">R jobs</a>, visualization (<a title="ggplot and ggplot2 tutorials" rel="nofollow" href="https://www.r-bloggers.com/search/ggplot2">ggplot2</a>, <a title="Boxplots using lattice and ggplot2 tutorials" rel="nofollow" href="https://www.r-bloggers.com/search/boxplot">Boxplots</a>, <a title="Maps and gis" rel="nofollow" href="https://www.r-bloggers.com/search/map">maps</a>, <a title="Animation in R" rel="nofollow" href="https://www.r-bloggers.com/search/animation">animation</a>), programming (<a title="RStudio IDE for R" rel="nofollow" href="https://www.r-bloggers.com/search/RStudio">RStudio</a>, <a title="Sweave and literate programming" rel="nofollow" href="https://www.r-bloggers.com/search/sweave">Sweave</a>, <a title="LaTeX in R" rel="nofollow" href="https://www.r-bloggers.com/search/LaTeX">LaTeX</a>, <a title="SQL and databases" rel="nofollow" href="https://www.r-bloggers.com/search/SQL">SQL</a>, <a title="Eclipse IDE for R" rel="nofollow" href="https://www.r-bloggers.com/search/eclipse">Eclipse</a>, <a title="git and github, Version Control System" rel="nofollow" href="https://www.r-bloggers.com/search/git">git</a>, <a title="Large data in R using Hadoop" rel="nofollow" href="https://www.r-bloggers.com/search/hadoop">hadoop</a>, <a title="Web Scraping of google, facebook, yahoo, twitter and more using R" rel="nofollow" href="https://www.r-bloggers.com/search/Web+Scraping">Web Scraping</a>) statistics (<a title="Regressions and ANOVA analysis tutorials" rel="nofollow" href="https://www.r-bloggers.com/search/regression">regression</a>, <a title="principal component analysis tutorial" rel="nofollow" href="https://www.r-bloggers.com/search/PCA">PCA</a>, <a title="Time series" rel="nofollow" href="https://www.r-bloggers.com/search/time+series">time series</a>, <a title="finance trading" rel="nofollow" href="https://www.r-bloggers.com/search/trading">trading</a>) and more...
<img height="1" alt="" width="1" src="http://feeds.feedburner.com/~r/RBloggers/~4/0DiqQkPOjqo"></a></div>