9 ms·
Think Bayes - Bayesian Statistics Made Simple
- SkyMarshal 14y agoFB announcement where I found this - https://www.facebook.com/thinkstats/posts/325778617519425 https://www.facebook.com/thinkstats/posts/325778617519425
- ninetax 14y agoHas anyone used the Think Stats book? Is it a good intro to stats?
- stdbrouw 14y agoIt's really, really good, especially if you're interested in the why and not just the "give me the damn test I need to run in SPSS and what number to look at". Plus, because you spend a lot of time coding, it's more fun and less dry than most stats books.
- disgruntledphd2 14y agoThink Java is also excellent. I think it may have been the first (non R) programming book I read, and it helped me get more into programming which wasn't just for stats. I have recommended think stats to many people, and it appears to be somewhat of a success. And its free documentation, which is wonderful.
- Surio 14y agoDefinitely good book on stats. Hands on, engaging and (horrors!) interesting ;-)
- roryokane 14y agoLink to Think Stats, the author’s previous book: http://thinkstats.com/ http://thinkstats.com/
- signa11 14y agothank you ! should help in coursera's pgm course somewhat i guess
- udit99 14y agoI'm really interested in knowing the prereqs I should have before picking up a book like this. Coming from a weak math background I find these books highly appealing but mildly intimidating. Also, could someone advise me on the preferred order of tackling the following Books? 1. Think Bayes 2. Think Stats 3. Programming Collective Intelligence by T.Segaran
- spin 14y agoIf you are strong in Python but weak in math, then I would also recommend #3, (Collective Intelligence, by Segaran)
- jey 14y ago3, 1, 2. 3: Get (back) into the swing of thinking about mathematics and algorithms. 1: Bayesian statistics is a principled, coherent, consistent, intuitive, complete framework for reasoning about uncertainty. A good foundation. 2. Traditional statistics is more random and ad-hoc, but can be more practical than Bayesian methods. (Bayesian models are well-motivated, but it can be impractical to compute exact answers and you'll have to switch to approximation techniques, some of which are simple/universal/slow, and others get fairly complex.)
- AllenDowney 14y agoI need to write a preface to answer this question, but the most important prereq is Python programming. The premise of the series is that if you can program (in any language) you can use that skill as leverage to learn about other topics. So I would recommend 1. Think Python 2. Think Stats 3. Think Bayes
- equark 14y agoMy problem with books like this is that they have almost no connection to why Bayesian statistics is successful: Bayesian statistics provides a unified recipe to tackle complex data analysis problems. Arguably the only known unified recipe. The Bayesian book I want should emphasize how Bayes is a recipe for studying complex problems and teach a broad range of model ingredients. Learning Bayesian statistics is about becoming fluent in describing scientific problems in probabilistic language. This requires knowing how to express and compose traditional models and build new ones based on first principles. An unfortunate reality is that you still need to know computational methods too, but that should change soon enough.
- loup-vaillant 14y agoE.T. Jaynes book, "Probability Theory: the Logic of Science" may come close to what you want. It emphasize that there are rules of thought, which lead to Bayesian statistics. As such, Bayesian statistics aren't just a recipe, but the law. Now, I can only personally vouch for the first 2 chapters, as I haven't read the rest yet.
- avaku 14y agoThe greatness of this book cannot be overstated
- ph0rcyas 14y agoAgree. It is unbelievable - one has to study it to believe it.
- danso 14y agoGoing to Amazon right now... * edit: Doh, no Kindle version. I don't mind paying $90+ for a good book though, just like it to be electronic: http://www.amazon.com/Probability-Theory-The-Logic-Science/dp/0521592712 http://www.amazon.com/Probability-Theory-The-Logic-Science/d...
- nowarninglabel 14y agoSo, I'm going to counter here and say I don't find this to be a good intro. I started reading and had not heard of the "Girl named Florida" problem and then went to the linked to blog post http://allendowney.blogspot.com/2011/11/girl-named-florida-solutions.html http://allendowney.blogspot.com/2011/11/girl-named-florida-s... The way he explains it I found to be confusing and counter-intuitive. I've taken basic stats in college, and learned some of the associated problems, though not this one, and learned the material though not in this particular way. I have to agree whole-heartedly with the commenter on that post "JeffJo" who stipulates why it's an ineffectual way to present the material. Furthermore, I found the author's dismissal of the valid criticism to be enough to not want me to read further.
- spin 14y agoI agree that his first example, "The Girl Named Florida" was a confusing example. I feel pretty comfortable with Bayesian statistics, and I thought the other examples that I saw were pretty clear. But his very first example jumps you out to another webpage, and then he mixes it with "the red-haired problem". It was irritating. His next example, "The Cookie Problem" is the classic intro-to-Bayes example, IMO.
- gknoy 14y agoAs someone with nearly zero knowledge of statistics or Bayes' Theorem, I agree: the cookie problem was a very clear example to follow. The "Girl named Florida" solution, while interesting, probably doesn't work as well as a textbook example, at least not in that stage of learning. Reading the Florida problem solution, it made some sense, but was definitely of a higher level of complexity than the rest of the text. What I found really interesting was that the answers to some of the other questions on the "Girl Named Florida" discussion required knowledge which I would not have considered general math-ish knowledge: > If the parents have brown hair > and one of their children has red hair, > we know that both parents are heterozygous, > so their chance of having a red-haired girl is 1/8. Interesting to learn, but this "if you also happen to know this ..." step is something that was mildly frustrating. (edit: Since the grandparent post linked the Girl Named Florida blog post, I guess I don't need to.)
- juanfatas 14y agoI found Udacity's class (CS373, ST101) and the 2011 ai class also explained bayesian very well by Sebastian Thrun.
- hessenwolf 14y agoBayesian is cool because you can make arbitrarily complex models, and when you have the parameters estimated it is really easy to calculate all the cool things you want to. Bayesian is not cool because estimating the parameters takes bloody ages on a supercomputer, unless you spend ages being really careful to specify your model. Frequentist statistics is cool because it is a massive big bag of tricks to estimate all sorts of stuff, and pretty much all of the tricks are already in R. Frequentist statistics is not so cool because calculating all the specific things you want to can be a pain in the ass. Once either Quantum computers kick in or a better algorithm than MCMC for Bayesian is created, Bayesian will win. There are some philosophical arguments about the objectivity of the prior in Bayesian statistics, but these wash out in a decision theoretic framework because of the subjectivity of the utility function at the other end of the process. Also, less than 5% of people reporting p-values really know what a p-value is.
- zmjones 14y agoDefinitely agree. Do check out Stan though. HMC is pretty fast compared to BUGS/JAGS.
- trhtrsh 14y agoBayesian statistics gives you a subjective answer to your question. (conditioned on the prior you choose) Frequestist statistics gives you an objective answer to a question that has the same words as the one you asked, but arranged differently.
- pmjordan 14y agoSo this is all very well and good, I've had about 5 intros to Bayesian Statistics. But those are a fair bit away from actually applying that knowledge in practice in software. Let's say we have N different kinds of events with unknown probabilities and unknown dependence or independence between them. The naive approach to gathering data on the probability of event n occurring following an occurrence of event m would require O(N²) in space. Let's say N ~ 10⁹~10¹⁰. Storing that much data as a raw matrix isn't practical in most cases, so we have to find a more efficient data structure - in terms of both space and the operations we need to perform. (and taking into account characteristics of the storage medium, i.e. memory or disk or a combination) What happens if the probabilistic properties of the system change over time? Are there any introductory books or other resources on modeling this kind of problem? Clearly this has been tackled before, but I'm having a hard time making the leap from theory to practice - and I don't mean import the data into R or SPSS or whatever and let that grind out a solution, but coming up with approximations when you have runtime and space constraints that make that approach impractical.
- trhtrsh 14y agoI think the general approach is dimensionality reduction: start measuring, and round down to 0 for the low-correlation pairs of events. Do you actually have a stream of more than N^2 observations to process? If not, then most of your correlations are in fact 0, and sparse-matrix techniques apply.
- hessenwolf 14y agoSounds like you need a Bayesian network - the junction tree algorithm. You can send the cheque in the mail. ;)
- PostOnce 14y agoI'm a big fan of the author's other books, Think Python and Think Complexity (haven't had the time for Think Stats), I found them more understandable than most other books that purport to teach people of the same skill level. I'm hoping this will be as good, but all the negative comments here leave me skeptical. Perhaps this is the crowd that would enjoy K&R C more than Think Python. The former is more of a reference to me than an introductory tome. Perhaps everyone here is just better at math than I am.
- AllenDowney 14y agoIgnore the haters -- Think Bayes is going to be awesome! Just kidding (mostly), but your point is correct: there is no book that is right for all audiences. But if you can program, and the mathematical approach to this material doesn't do it for you, this book might.
- Groxx 14y ago>This HTML version of is provided for convenience, but it is not the best format for the book. In particular, some of the symbols are not rendered correctly. I would actually recommend the opposite - they have ASCII versions of the symbols that e.g. Chrome might not render correctly, and all I checked looked fine. The PDF meanwhile copies this text from the (not linked) link to the "girl named Florida" article: ❤tt♣✿✴✴❛❧❧❡♥❞♦✇♥❡②✳❜❧♦❣s♣♦t✳❝♦♠✴✷✵✶✶✴✶✶✴❣✐r❧✲♥❛♠❡❞✲❢❧♦r✐❞❛✲s♦❧✉t✐♦♥s✳❤t♠❧ And the sections are linked in the HTML version, where they are not in the PDF, which seems like a simple oversight (that infects the vast majority of PDFs, sadly).
- jcrubino 14y agoI think you and Prof Scott Page could make a great team combining your think series with his model thinking class content.
- jcrubino 14y agoU Mich. Prof Scott E. Page http://masi.cscs.lsa.umich.edu/~spage/ http://masi.cscs.lsa.umich.edu/~spage/