BDA3 for free

Someone asked me where to find our book, Bayesian Data Analysis. You can buy it online–it’s a very reasonable $63.79 on Amazon right now–but if you want an electronic version you can download the pdf for free from the book’s webpage, which also includes teaching materials, code, and solutions to many of the homework problems.

The funny thing is that on the Amazon page it also says you can buy an e-textbook for $110. Don’t do that! I personally think a hard copy is super helpful for learning: you can have the book open while you work on the computer, otherwise you’ll find yourself jumping back and forth between the book and your workspace, and it’s harder to read the book in an active manner. But if you’re gonna go with the electronic version, then, yeah, a pdf for $0 is better than whatever they have to offer for $110.

It’s not news that BDA3 is available in this way–our books Regression and Other Stories and Active Statistics are also free online, along with lots of data, code, and teaching materials–but not everyone is aware of this, hence this post.

P.S. The backstory for why BDA3 is freely available for download is that we refer to it in some of our Stan-related materials, and Bob Carpenter wasn’t comfortable with us referring to anything that wasn’t free. So a few years ago we talked with the publisher and asked them if we could post the pdf online, and they said yes. They’ve made enough money from BDA over the years. Then with our more recent books we arranged ahead of time with the publisher to make sure they’d let us post our books for free. Again, I prefer hard copy books, both for myself and for students, but I recognize that the pdf version can be convenient too.

14 thoughts on “BDA3 for free”

  1. “I personally think a hard copy is super helpful for learning: you can have the book open while you work on the computer, otherwise you’ll find yourself jumping back and forth between the book and your workspace, and it’s harder to read the book in an active manner.”

    Dual (or more) monitors are even more convenient than having a hard copy. Incidentally my productivity at pretty much anything falls dramatically when I’m forced to use one monitor for almost anything.

    • I agree completely here. Multiple screens are great.

      I also prefer the convenience and portability of an electronic publication. You can go on a trip and take your bookshelf with you.

      Moreover, having an electronic publication means that you can search for terms and phrases. Such searches are more convenient than an index.

      • William, Bob:

        I agree that multiple screens are great. You can even get that effect on a laptop by having two windows open side by side. But I very rarely see students do that. It makes me want to scream to see students working by maximizing every window on their screen and then they have to keep going back and forth–it destroys their workflow.

        Also, yeah, searching is good. But BDA and Regression and Other Stories have excellent indexes that I think add real value beyond searching. I wish I’d gone to the trouble of creating an index for Active Statistics. I also wish I’d thought to give Regression and Other Stories the title Applied Regression and Causal Inference. I have lots of regrets.

        • Yeah, agreement confirmed. My personal pref is actually the printed page, notebook or graphing paper, pencil, and eraser. The computer is just for searching for more (or differently described) information on a topic, or implementing something with code. I’ll go with > 1 monitor or split screens (though my newly found farsightedness and frighteningly large floaters making me think my eyes are transiently coated with vaseline, and font reduction in a split screen to avoid ‘death by scrollbars’ just won’t cut it anymore.

          I remember when you guys were trying to figure out something beyond your running title for RoS. But honestly, I think it sticks well – Applied Regression and Causal Inference, while more specific – is just ‘mid’ IMO. :).

          Regret not….. yet at least.

        • “But I very rarely see students do that. It makes me want to scream to see students working by maximizing every window on their screen and then they have to keep going back and forth–it destroys their workflow.”

          I know coders who insist on doing things this way. They tout their alt-tab efficiency. I think they’re just stuck in a local maximum and can’t admit it.

  2. What’s the level of the reader you envisaged when you wrote the book? Compared to, say, McElreath’s Bayes text.

    Incidentally, I think making the pdf available free is a good call. I would never have cited or used Harrell’s Regression Modelling Strategies were it not for the free pdf, and I’m tempted to buy a physical copy at some point too just to have it on hand to leaf through.

    • Robin:

      I started writing the first edition of BDA in 1991, long before McElreath was around! At the time, there were no applied Bayesian books at all. The level of reader I imagined was a statistics grad student. I wanted to derive applied Bayesian methods from scratch, also I wanted to present a modern view of data analysis, including model building, model checking, model expansion, and computation as well as inference. Also I wanted the math to be rigorous (see Appendix B of the book), not just the hand-waving you would often see in an applied statistics class. At the time, the only way to learn applied Bayesian statistics was by reading old journal articles, and I thought I could do better by starting from scratch, and with an approach that treated probability as a measurement problem.

  3. I really like the liberal policy of CRC Press/Routledge in this regard. There are many people still in the world for whom 60 US dollars is not a small amount of money.

    Our book is also available online for free (not as a pdf, but as an html compiled from R Markdown). Plus the source code of the book is also available for free, so in theory anyone who knows how to compile R Markdown can compile the pdf.

    BTW, I was really impressed with Bob Carpenter’s book release (on probability). I just cloned the repo and followed his instructions and…the book just compiled. I was shocked. This is a huge technical achievement. There are days when I can’t even compile my own materials, just five minutes after I have edited them.

  4. I intend to use both ROS and BDA in my 4th year courses next quarter.

    Many of my students have a job on the side, to pay for tuition and school materials. In some extreme cases I’ve heard of students working for 30 hr/week “on the side”, while our program is also calculated to require 35-40 hours for an average student. This certainly hurts their study success! A $60 book may be 3-4 hours work which I’d rather they spend studying an online version.

    So, on behalf of my students, thank you for providing excellent free online resources!

  5. This is great! Thanks especially for the PDF of the book, but also for the post as I did not know abut this (though I knew about ROS and Active Statistics, also great to have available). And I personally agree on the paper book thing — I learn better with a physical copy. But even with decent indexing, I like the PDF to search (and share).

  6. To be a bit more precise, I wasn’t objecting to citing BDA in articles and other things we wrote. I just didn’t like telling people on our forums to look in section 5.1 of BDA for the answer to their question when they’d have to buy it.

    Andrew says, “I personally think a hard copy is super helpful for learning: you can have the book open while you work on the computer, otherwise you’ll find yourself jumping back and forth between the book and your workspace, and it’s harder to read the book in an active manner.”

    This is indeed a problem on a notebook, but I find this isn’t such a problem with a 27″ 5K monitor. I can fit a paper and whatever I’m working on all on my desktop with room to spare. But I don’t like reading papers from scratch on my computer. I’d rather sit on the couch. For that, I use an iPad. I haven’t used printed papers or physical books for research for at least a decade. The books next to my desk are purely decorative. The beautiful part of an iPad is that you can carry around your whole library at a fraction of the size and weight of BDA. But unlike some people, I don’t like writing or doing math on the iPad. For that, I use these really great Japanese dot notebooks (Mnemosyne brand) and 0.1mm Pentel pointliner pens. They’re a bit pricier than a cheap notebook, but I find that it’s worth the extra $30 for the four notebooks or so I go through per year.

Leave a Reply

Your email address will not be published. Required fields are marked *