{"id":17,"date":"2008-03-02T13:44:38","date_gmt":"2008-03-02T20:44:38","guid":{"rendered":"http:\/\/anthony.darrouzet-nardi.net\/scienceblog\/?p=17"},"modified":"2008-03-03T17:05:45","modified_gmt":"2008-03-04T00:05:45","slug":"i-woke-up-and-suddenly-understood-bayesian-statistics","status":"publish","type":"post","link":"http:\/\/scienceblog.darrouzet-nardi.net\/?p=17","title":{"rendered":"I woke up and suddenly understood Bayesian statistics&#8230;"},"content":{"rendered":"<p>It sounds crazy, but that&#8217;s pretty much what happened. I woke up too early (about 6) and as I lay in bed, my mind drifted to a Bayesian statistics example that I had read on Friday afternoon. I had read all of the parts of it and understood the sentences and concepts presented (for about the 10th time; I&#8217;ve been curious about this for years) but it wasn&#8217;t until this morning that I felt like I <em>got it<\/em>. I&#8217;ve always known it has something to do with prior information and it&#8217;s a computationally intensive technique, but this morning I was finally able to answer the question: why do people bother doing something this abstruse?<\/p>\n<p>For me, a couple things made it click. First, the example, which was in <em>Introduction to Applied Bayesian Statistics and Estimation for Social Scientists<\/em> (pp. 47-49; kudos to author Scott Lynch). It had to do with a young woman who is pregnant and takes a pregnancy test that comes out positive. But the test has a known error rate for false positives and negatives. Ok, great, so we do some math and find out the chances that she is pregnant. But here&#8217;s the kicker! Let&#8217;s say we also know that she only had sex once and we know the likelihood of pregnancy from a single encounter (which is relatively low). That is relevant prior information and the Bayesian methods have a way of incorporating that, which is like, pretty cool. When we incorporate that information, it turns out that our expectation of pregnancy should be a lot lower.<\/p>\n<p>Another important part of the puzzle that helped me put this simple pregnancy example in perspective is something I found out while learning a lot of other multivariate statistics recently: a lot of the hoopla about Bayesian techniques is not necessarily about the inclusion of prior information, but instead about the computational techniques that are used to estimate model parameters (computationally intense resampling techniques like <a href=\"http:\/\/en.wikipedia.org\/wiki\/Markov_Chain_Monte_Carlo\">Markov chain Monte Carlo methods<\/a>). (Apparently a lot of models don&#8217;t even have much prior information.) And to put that in perspective, model parameters are the core of statistics: every measure of central tendency, estimation of uncertainty and model coefficient has a model parameter and the estimation of those is pretty much what statistics is.<\/p>\n<p>So, perhaps I&#8217;m just slow and dense, or perhaps the concepts and philosophy behind Bayesian statistics are actually challenging and subtle! I still have no idea how to implement this stuff or most of the details, but I feel like when I read about it now, I will understand why people bother. Either way, it&#8217;s about time, and I&#8217;m looking forward to exploring more.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>It sounds crazy, but that&#8217;s pretty much what happened. I woke up too early (about 6) and as I lay in bed, my mind drifted to a Bayesian statistics example that I had read on Friday afternoon. I had read all of the parts of it and understood the sentences and concepts presented (for about [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"http:\/\/scienceblog.darrouzet-nardi.net\/index.php?rest_route=\/wp\/v2\/posts\/17"}],"collection":[{"href":"http:\/\/scienceblog.darrouzet-nardi.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/scienceblog.darrouzet-nardi.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/scienceblog.darrouzet-nardi.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/scienceblog.darrouzet-nardi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=17"}],"version-history":[{"count":0,"href":"http:\/\/scienceblog.darrouzet-nardi.net\/index.php?rest_route=\/wp\/v2\/posts\/17\/revisions"}],"wp:attachment":[{"href":"http:\/\/scienceblog.darrouzet-nardi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=17"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/scienceblog.darrouzet-nardi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=17"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/scienceblog.darrouzet-nardi.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=17"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}