{"id":442,"date":"2020-04-13T14:15:34","date_gmt":"2020-04-13T14:15:34","guid":{"rendered":"https:\/\/www.allendowney.com\/blog\/?p=442"},"modified":"2020-04-13T14:15:34","modified_gmt":"2020-04-13T14:15:34","slug":"bayesian-hypothesis-testing","status":"publish","type":"post","link":"https:\/\/www.allendowney.com\/blog\/2020\/04\/13\/bayesian-hypothesis-testing\/","title":{"rendered":"Bayesian hypothesis testing"},"content":{"rendered":"\n<p>I have mixed feelings about Bayesian hypothesis testing.  On the positive side, it&#8217;s better than null-hypothesis significance testing (NHST).  <\/p>\n\n\n\n<p>And it is probably necessary as an onboarding tool:  Hypothesis testing is one of the first things future Bayesians ask about; we need to have an answer.<\/p>\n\n\n\n<p>On the negative side, Bayesian hypothesis testing is often unsatisfying because the question it answers is not the most useful question to ask.  <\/p>\n\n\n\n<p>To explain, I&#8217;ll use an example from <a href=\"https:\/\/allendowney.github.io\/BiteSizeBayes\/\">Bite Size Bayes<\/a>, which is a series of Jupyter notebooks I am writing to introduce Bayesian statistics.<\/p>\n\n\n\n<p>In <a href=\"https:\/\/colab.research.google.com\/github\/AllenDowney\/BiteSizeBayes\/blob\/master\/07_euro.ipynb\">Notebook 7<\/a>, I present the following problem from David MacKay&#8217;s book,\u00a0<a rel=\"noreferrer noopener\" href=\"http:\/\/www.inference.org.uk\/mackay\/itila\/p0.html\" target=\"_blank\"><em>Information Theory, Inference, and Learning Algorithms<\/em><\/a>:<\/p>\n\n\n\n<p>&#8220;A statistical statement appeared in The Guardian on Friday January 4, 2002:<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>&#8220;When spun on edge 250 times, a Belgian one-euro coin came up heads 140 times and tails 110. \u2018It looks very suspicious to me\u2019, said Barry Blight, a statistics lecturer at the London School of Economics. \u2018If the coin were unbiased the chance of getting a result as extreme as that would be less than 7%\u2019.&#8221;<\/p><\/blockquote>\n\n\n\n<p>&#8220;But [asks MacKay] do these data give evidence that the coin is biased rather than fair?&#8221;<\/p>\n\n\n\n<p>I start by formulating the question as an estimation problem.  That is, I assume that the coin has some probability, <em>x<\/em>, of landing heads, and I use the data to estimate it.<\/p>\n\n\n\n<p>If we assume that the prior distribution is uniform, which means that any value between 0 and 1 is equally likely, the posterior distribution looks like this:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"392\" height=\"278\" src=\"https:\/\/www.allendowney.com\/blog\/wp-content\/uploads\/2020\/04\/image.png\" alt=\"\" class=\"wp-image-443\" srcset=\"https:\/\/www.allendowney.com\/blog\/wp-content\/uploads\/2020\/04\/image.png 392w, https:\/\/www.allendowney.com\/blog\/wp-content\/uploads\/2020\/04\/image-300x213.png 300w, https:\/\/www.allendowney.com\/blog\/wp-content\/uploads\/2020\/04\/image-381x270.png 381w\" sizes=\"auto, (max-width: 392px) 100vw, 392px\" \/><figcaption>Posterior distribution of <em>x<\/em>, which is the probability of heads, given a uniform prior.<\/figcaption><\/figure>\n\n\n\n<p>This distribution represents everything we know about <em>x<\/em> given the prior and the data.  And we can use it to answer whatever questions we have about the coin.<\/p>\n\n\n\n<p>So let&#8217;s answer MacKay&#8217;s question: &#8220;Do these data give evidence that the coin is biased rather than fair?&#8221;<\/p>\n\n\n\n<p>The question implies that we should consider two hypotheses:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>The coin is fair.<\/li><li>The coin is biased.<\/li><\/ul>\n\n\n\n<p>In classical hypothesis testing, we would define a null hypothesis, choose a test statistic, and compute a p-value.  That&#8217;s what the statistician quoted in The Guardian did.  His null hypothesis is that the coin is fair.  The test statistic is the difference between the observed number of heads (140) and the expected number under the null hypothesis (125).  The p-value he computes is 7%, which he describes as &#8220;suspicious&#8221;.<\/p>\n\n\n\n<p>In Bayesian hypothesis testing, we choose prior probabilities that represent our degree of belief in the two hypotheses.  Then we compute the likelihood of the data under each hypothesis.  The details are in <a href=\"https:\/\/colab.research.google.com\/github\/AllenDowney\/BiteSizeBayes\/blob\/master\/12_binomial.ipynb\">Bite Size Bayes Notebook 12<\/a>.<\/p>\n\n\n\n<p>In this example the answer depends on how we define the hypothesis that the coin is biased:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>If you know ahead of time that the probability of heads is exactly 56%, which is the fraction of heads in the dataset, the data are evidence in favor of the biased hypothesis.<\/li><li>If you don&#8217;t know the probability of heads, but you think any value between 0 and 1 is equally likely, the data are evidence in favor of the fair hypothesis.<\/li><li>And if you have knowledge about biased coins that informs your beliefs about <em>x<\/em>, the data might support the fair or biased hypothesis.<\/li><\/ul>\n\n\n\n<p>In the notebook I summarize these results using Bayes factors, which quantify the strength of the evidence.  If you insist on doing Bayesian hypothesis testing, reporting a Bayes factor is probably a good choice.<\/p>\n\n\n\n<p>But in most cases I think you&#8217;ll find that the answer is not very satisfying.  As in this example, the answer is often &#8220;it depends&#8221;.  But even when the hypotheses are well defined, a Bayes factor is generally less useful than a posterior distribution, because it contains less information.<\/p>\n\n\n\n<p>The posterior distribution incorporates everything we know about the coin; we can use it to compute whatever summary statistics we like and to inform decision-making processes.  We&#8217;ll see examples in the next two notebooks.<\/p>\n\n\n\n<p> <\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have mixed feelings about Bayesian hypothesis testing. On the positive side, it&#8217;s better than null-hypothesis significance testing (NHST). And it is probably necessary as an onboarding tool: Hypothesis testing is one of the first things future Bayesians ask about; we need to have an answer. On the negative side, Bayesian hypothesis testing is often unsatisfying because the question it answers is not the most useful question to ask. To explain, I&#8217;ll use an example from Bite Size Bayes, which&#8230;<\/p>\n<p class=\"read-more\"><a class=\"btn btn-default\" href=\"https:\/\/www.allendowney.com\/blog\/2020\/04\/13\/bayesian-hypothesis-testing\/\"> Read More<span class=\"screen-reader-text\">  Read More<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[1],"tags":[71],"class_list":["post-442","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-bayesian-statistics"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Bayesian hypothesis testing - Probably Overthinking It<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.allendowney.com\/blog\/2020\/04\/13\/bayesian-hypothesis-testing\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Bayesian hypothesis testing - Probably Overthinking It\" \/>\n<meta property=\"og:description\" content=\"I have mixed feelings about Bayesian hypothesis testing. On the positive side, it&#8217;s better than null-hypothesis significance testing (NHST). And it is probably necessary as an onboarding tool: Hypothesis testing is one of the first things future Bayesians ask about; we need to have an answer. On the negative side, Bayesian hypothesis testing is often unsatisfying because the question it answers is not the most useful question to ask. To explain, I&#8217;ll use an example from Bite Size Bayes, which... Read More Read More\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.allendowney.com\/blog\/2020\/04\/13\/bayesian-hypothesis-testing\/\" \/>\n<meta property=\"og:site_name\" content=\"Probably Overthinking It\" \/>\n<meta property=\"article:published_time\" content=\"2020-04-13T14:15:34+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.allendowney.com\/blog\/wp-content\/uploads\/2020\/04\/image.png\" \/>\n<meta name=\"author\" content=\"AllenDowney\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@AllenDowney\" \/>\n<meta name=\"twitter:site\" content=\"@AllenDowney\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"AllenDowney\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.allendowney.com\/blog\/2020\/04\/13\/bayesian-hypothesis-testing\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.allendowney.com\/blog\/2020\/04\/13\/bayesian-hypothesis-testing\/\"},\"author\":{\"name\":\"AllenDowney\",\"@id\":\"https:\/\/www.allendowney.com\/blog\/#\/schema\/person\/4e5bfb2e9af6c3446cb0031a7bf83207\"},\"headline\":\"Bayesian hypothesis testing\",\"datePublished\":\"2020-04-13T14:15:34+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.allendowney.com\/blog\/2020\/04\/13\/bayesian-hypothesis-testing\/\"},\"wordCount\":654,\"publisher\":{\"@id\":\"https:\/\/www.allendowney.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.allendowney.com\/blog\/2020\/04\/13\/bayesian-hypothesis-testing\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.allendowney.com\/blog\/wp-content\/uploads\/2020\/04\/image.png\",\"keywords\":[\"bayesian statistics\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.allendowney.com\/blog\/2020\/04\/13\/bayesian-hypothesis-testing\/\",\"url\":\"https:\/\/www.allendowney.com\/blog\/2020\/04\/13\/bayesian-hypothesis-testing\/\",\"name\":\"Bayesian hypothesis testing - Probably Overthinking It\",\"isPartOf\":{\"@id\":\"https:\/\/www.allendowney.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.allendowney.com\/blog\/2020\/04\/13\/bayesian-hypothesis-testing\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.allendowney.com\/blog\/2020\/04\/13\/bayesian-hypothesis-testing\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.allendowney.com\/blog\/wp-content\/uploads\/2020\/04\/image.png\",\"datePublished\":\"2020-04-13T14:15:34+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.allendowney.com\/blog\/2020\/04\/13\/bayesian-hypothesis-testing\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.allendowney.com\/blog\/2020\/04\/13\/bayesian-hypothesis-testing\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.allendowney.com\/blog\/2020\/04\/13\/bayesian-hypothesis-testing\/#primaryimage\",\"url\":\"https:\/\/www.allendowney.com\/blog\/wp-content\/uploads\/2020\/04\/image.png\",\"contentUrl\":\"https:\/\/www.allendowney.com\/blog\/wp-content\/uploads\/2020\/04\/image.png\",\"width\":392,\"height\":278},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.allendowney.com\/blog\/2020\/04\/13\/bayesian-hypothesis-testing\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.allendowney.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Bayesian hypothesis testing\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.allendowney.com\/blog\/#website\",\"url\":\"https:\/\/www.allendowney.com\/blog\/\",\"name\":\"Probably Overthinking It\",\"description\":\"Data science, Bayesian Statistics, and other ideas\",\"publisher\":{\"@id\":\"https:\/\/www.allendowney.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.allendowney.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.allendowney.com\/blog\/#organization\",\"name\":\"Probably Overthinking It\",\"url\":\"https:\/\/www.allendowney.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.allendowney.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.allendowney.com\/blog\/wp-content\/uploads\/2025\/03\/probably_logo.png\",\"contentUrl\":\"https:\/\/www.allendowney.com\/blog\/wp-content\/uploads\/2025\/03\/probably_logo.png\",\"width\":714,\"height\":784,\"caption\":\"Probably Overthinking It\"},\"image\":{\"@id\":\"https:\/\/www.allendowney.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/x.com\/AllenDowney\",\"https:\/\/www.linkedin.com\/in\/allendowney\/\",\"https:\/\/bsky.app\/profile\/allendowney.bsky.social\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.allendowney.com\/blog\/#\/schema\/person\/4e5bfb2e9af6c3446cb0031a7bf83207\",\"name\":\"AllenDowney\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.allendowney.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/fb01b3a7f7190bea1bbf7f0852e686c2f8c03b099222df2ce4bc7926f15bcb43?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/fb01b3a7f7190bea1bbf7f0852e686c2f8c03b099222df2ce4bc7926f15bcb43?s=96&d=mm&r=g\",\"caption\":\"AllenDowney\"},\"url\":\"https:\/\/www.allendowney.com\/blog\/author\/allendowney_6dbrc4\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Bayesian hypothesis testing - Probably Overthinking It","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.allendowney.com\/blog\/2020\/04\/13\/bayesian-hypothesis-testing\/","og_locale":"en_US","og_type":"article","og_title":"Bayesian hypothesis testing - Probably Overthinking It","og_description":"I have mixed feelings about Bayesian hypothesis testing. On the positive side, it&#8217;s better than null-hypothesis significance testing (NHST). And it is probably necessary as an onboarding tool: Hypothesis testing is one of the first things future Bayesians ask about; we need to have an answer. On the negative side, Bayesian hypothesis testing is often unsatisfying because the question it answers is not the most useful question to ask. To explain, I&#8217;ll use an example from Bite Size Bayes, which... Read More Read More","og_url":"https:\/\/www.allendowney.com\/blog\/2020\/04\/13\/bayesian-hypothesis-testing\/","og_site_name":"Probably Overthinking It","article_published_time":"2020-04-13T14:15:34+00:00","og_image":[{"url":"https:\/\/www.allendowney.com\/blog\/wp-content\/uploads\/2020\/04\/image.png","type":"","width":"","height":""}],"author":"AllenDowney","twitter_card":"summary_large_image","twitter_creator":"@AllenDowney","twitter_site":"@AllenDowney","twitter_misc":{"Written by":"AllenDowney","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.allendowney.com\/blog\/2020\/04\/13\/bayesian-hypothesis-testing\/#article","isPartOf":{"@id":"https:\/\/www.allendowney.com\/blog\/2020\/04\/13\/bayesian-hypothesis-testing\/"},"author":{"name":"AllenDowney","@id":"https:\/\/www.allendowney.com\/blog\/#\/schema\/person\/4e5bfb2e9af6c3446cb0031a7bf83207"},"headline":"Bayesian hypothesis testing","datePublished":"2020-04-13T14:15:34+00:00","mainEntityOfPage":{"@id":"https:\/\/www.allendowney.com\/blog\/2020\/04\/13\/bayesian-hypothesis-testing\/"},"wordCount":654,"publisher":{"@id":"https:\/\/www.allendowney.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.allendowney.com\/blog\/2020\/04\/13\/bayesian-hypothesis-testing\/#primaryimage"},"thumbnailUrl":"https:\/\/www.allendowney.com\/blog\/wp-content\/uploads\/2020\/04\/image.png","keywords":["bayesian statistics"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.allendowney.com\/blog\/2020\/04\/13\/bayesian-hypothesis-testing\/","url":"https:\/\/www.allendowney.com\/blog\/2020\/04\/13\/bayesian-hypothesis-testing\/","name":"Bayesian hypothesis testing - Probably Overthinking It","isPartOf":{"@id":"https:\/\/www.allendowney.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.allendowney.com\/blog\/2020\/04\/13\/bayesian-hypothesis-testing\/#primaryimage"},"image":{"@id":"https:\/\/www.allendowney.com\/blog\/2020\/04\/13\/bayesian-hypothesis-testing\/#primaryimage"},"thumbnailUrl":"https:\/\/www.allendowney.com\/blog\/wp-content\/uploads\/2020\/04\/image.png","datePublished":"2020-04-13T14:15:34+00:00","breadcrumb":{"@id":"https:\/\/www.allendowney.com\/blog\/2020\/04\/13\/bayesian-hypothesis-testing\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.allendowney.com\/blog\/2020\/04\/13\/bayesian-hypothesis-testing\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.allendowney.com\/blog\/2020\/04\/13\/bayesian-hypothesis-testing\/#primaryimage","url":"https:\/\/www.allendowney.com\/blog\/wp-content\/uploads\/2020\/04\/image.png","contentUrl":"https:\/\/www.allendowney.com\/blog\/wp-content\/uploads\/2020\/04\/image.png","width":392,"height":278},{"@type":"BreadcrumbList","@id":"https:\/\/www.allendowney.com\/blog\/2020\/04\/13\/bayesian-hypothesis-testing\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.allendowney.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Bayesian hypothesis testing"}]},{"@type":"WebSite","@id":"https:\/\/www.allendowney.com\/blog\/#website","url":"https:\/\/www.allendowney.com\/blog\/","name":"Probably Overthinking It","description":"Data science, Bayesian Statistics, and other ideas","publisher":{"@id":"https:\/\/www.allendowney.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.allendowney.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.allendowney.com\/blog\/#organization","name":"Probably Overthinking It","url":"https:\/\/www.allendowney.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.allendowney.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.allendowney.com\/blog\/wp-content\/uploads\/2025\/03\/probably_logo.png","contentUrl":"https:\/\/www.allendowney.com\/blog\/wp-content\/uploads\/2025\/03\/probably_logo.png","width":714,"height":784,"caption":"Probably Overthinking It"},"image":{"@id":"https:\/\/www.allendowney.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/AllenDowney","https:\/\/www.linkedin.com\/in\/allendowney\/","https:\/\/bsky.app\/profile\/allendowney.bsky.social"]},{"@type":"Person","@id":"https:\/\/www.allendowney.com\/blog\/#\/schema\/person\/4e5bfb2e9af6c3446cb0031a7bf83207","name":"AllenDowney","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.allendowney.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/fb01b3a7f7190bea1bbf7f0852e686c2f8c03b099222df2ce4bc7926f15bcb43?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/fb01b3a7f7190bea1bbf7f0852e686c2f8c03b099222df2ce4bc7926f15bcb43?s=96&d=mm&r=g","caption":"AllenDowney"},"url":"https:\/\/www.allendowney.com\/blog\/author\/allendowney_6dbrc4\/"}]}},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":883,"url":"https:\/\/www.allendowney.com\/blog\/2023\/03\/20\/the-bayesian-killer-app\/","url_meta":{"origin":442,"position":0},"title":"The Bayesian Killer App","author":"AllenDowney","date":"March 20, 2023","format":false,"excerpt":"It's been a while since anyone said \"killer app\" without irony, so let me remind you that a killer app is software \"so necessary or desirable that it proves the core value of some larger technology,\" quoth Wikipedia. For example, most people didn't have much use for the internet until\u2026","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/img.youtube.com\/vi\/fsdbneHgi58\/0.jpg?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":1704,"url":"https:\/\/www.allendowney.com\/blog\/2026\/01\/09\/bayesian-decision-analysis\/","url_meta":{"origin":442,"position":1},"title":"Bayesian Decision Analysis","author":"AllenDowney","date":"January 9, 2026","format":false,"excerpt":"At PyData Global 2025 I presented a workshop on Bayesian Decision Analysis with PyMC. The video is available now. This workshop is based on the first session of the Applied Bayesian Modeling Workshop I teach along with my colleagues at PyMC Labs. If you would like to learn more, it\u2026","rel":"","context":"In \"bayesian statistics\"","block_context":{"text":"bayesian statistics","link":"https:\/\/www.allendowney.com\/blog\/tag\/bayesian-statistics\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/img.youtube.com\/vi\/PLGVZCDnMOq0qmerwB1eITnr5AfYRGm0DF\/0.jpg?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":609,"url":"https:\/\/www.allendowney.com\/blog\/2021\/05\/07\/founded-upon-an-error\/","url_meta":{"origin":442,"position":2},"title":"Founded Upon an Error","author":"AllenDowney","date":"May 7, 2021","format":false,"excerpt":"A recent post on Reddit asks, \"Why was Bayes' Theory not accepted\/popular historically until the late 20th century?\" Great question! As always, there are many answers to a question like this, and the good people of Reddit provide several. But the first and most popular answer is, in my humble\u2026","rel":"","context":"In \"bayesian\"","block_context":{"text":"bayesian","link":"https:\/\/www.allendowney.com\/blog\/tag\/bayesian\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1684,"url":"https:\/\/www.allendowney.com\/blog\/2025\/12\/16\/sat-math-scores-gender-difference-or-selection-bias\/","url_meta":{"origin":442,"position":3},"title":"SAT math scores: gender difference or selection bias?","author":"AllenDowney","date":"December 16, 2025","format":false,"excerpt":"The video from my PyData Boston talk is up now: https:\/\/www.youtube.com\/watch?v=6pwtbNVgyzg Resources The slides are here Run the first notebook (Poincar\u00e9 problem) on Colab Run the second notebook (analysis of SAT data) on Colab If you want to learn to do this kind of analysis, you can sign up for\u2026","rel":"","context":"In \"bayesian statistics\"","block_context":{"text":"bayesian statistics","link":"https:\/\/www.allendowney.com\/blog\/tag\/bayesian-statistics\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/img.youtube.com\/vi\/6pwtbNVgyzg\/0.jpg?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":1593,"url":"https:\/\/www.allendowney.com\/blog\/2025\/09\/25\/the-poincare-problem\/","url_meta":{"origin":442,"position":4},"title":"The Poincar\u00e9 Problem","author":"AllenDowney","date":"September 25, 2025","format":false,"excerpt":"Selection bias is the hardest problem in statistics because it\u2019s almost unavoidable in practice, and once the data have been collected, it\u2019s usually not possible to quantify the effect of selection or recover an unbiased estimate of what you are trying to measure. And because the effect is systematic, not\u2026","rel":"","context":"In &quot;Bayesian methods&quot;","block_context":{"text":"Bayesian methods","link":"https:\/\/www.allendowney.com\/blog\/category\/bayesian-methods\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.allendowney.com\/blog\/wp-content\/uploads\/2025\/09\/064e15e7bb9b7a88a9b4118964b00919934f5b1e6fe04ebd195cfbf9d7da40a9.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":947,"url":"https:\/\/www.allendowney.com\/blog\/2023\/05\/15\/absence-of-evidence\/","url_meta":{"origin":442,"position":5},"title":"Absence of Evidence","author":"AllenDowney","date":"May 15, 2023","format":false,"excerpt":"If anyone tells you that absence of evidence is not evidence of absence, you have my permission to slap them. Of course, my permission will not prevent you from getting slapped back or charged with assault. Regardless, absence of evidence is very often evidence of absence, and sometimes strong evidence.\u2026","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.allendowney.com\/blog\/wp-json\/wp\/v2\/posts\/442","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.allendowney.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.allendowney.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.allendowney.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.allendowney.com\/blog\/wp-json\/wp\/v2\/comments?post=442"}],"version-history":[{"count":4,"href":"https:\/\/www.allendowney.com\/blog\/wp-json\/wp\/v2\/posts\/442\/revisions"}],"predecessor-version":[{"id":447,"href":"https:\/\/www.allendowney.com\/blog\/wp-json\/wp\/v2\/posts\/442\/revisions\/447"}],"wp:attachment":[{"href":"https:\/\/www.allendowney.com\/blog\/wp-json\/wp\/v2\/media?parent=442"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.allendowney.com\/blog\/wp-json\/wp\/v2\/categories?post=442"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.allendowney.com\/blog\/wp-json\/wp\/v2\/tags?post=442"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}