{"id":80,"date":"2018-10-21T16:56:08","date_gmt":"2018-10-21T16:56:08","guid":{"rendered":"https:\/\/www.allendowney.com\/blog\/?p=80"},"modified":"2018-11-01T14:13:50","modified_gmt":"2018-11-01T14:13:50","slug":"the-game-of-ur-problem","status":"publish","type":"post","link":"https:\/\/www.allendowney.com\/blog\/2018\/10\/21\/the-game-of-ur-problem\/","title":{"rendered":"The Game of Ur problem"},"content":{"rendered":"<p>Here&#8217;s a probability puzzle to ruin your week.<\/p>\n<p>In the <a href=\"https:\/\/www.yourturnmyturn.com\/java\/ur\/index.php\">Royal Game of Ur<\/a>, players advance tokens along a track with 14 spaces. To determine how many spaces to advance, a player rolls 4 dice with 4 sides. Two corners on each die are marked; the other two are not. The total number of marked corners &#8212; which is 0, 1, 2, 3, or 4 &#8212; is the number of spaces to advance.<a href=\"https:\/\/en.wikipedia.org\/wiki\/Royal_Game_of_Ur\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft\" src=\"https:\/\/upload.wikimedia.org\/wikipedia\/commons\/1\/1d\/British_Museum_Royal_Game_of_Ur.jpg\" width=\"296\" height=\"236\" \/><\/a><\/p>\n<p>For example, if the total on your first roll is 2, you could advance a token to space 2. If you roll a 3 on the next roll, you could advance the same token to space 5.<\/p>\n<p>Suppose you have a token on space 13. How many rolls did it take to get there?<\/p>\n<p>Hint: you might want to start by computing the distribution of k given n, where k is the number of the space and n is the number of rolls.\u00a0 Then think about the prior distribution of n.<\/p>\n<p>I&#8217;ll post a solution later this week, but I have to confess: I believe my solution is correct, but there is still part of it I am not satisfied with.<\/p>\n<p>[UPDATE November 1, 2018]<\/p>\n<p>Here&#8217;s the <a href=\"https:\/\/twitter.com\/AllenDowney\/status\/1054053993566081026\">thread on Twitter<\/a> where a few people discuss this problem.<\/p>\n<p>And\u00a0<a href=\"http:\/\/nbviewer.jupyter.org\/github\/AllenDowney\/ThinkBayes2\/blob\/master\/solutions\/game_of_ur_soln.ipynb?flush=true\">here&#8217;s my solution<\/a>.\u00a0 As you will see there are still some unresolved questions.<\/p>\n<p>Here&#8217;s <a href=\"https:\/\/nbviewer.jupyter.org\/gist\/AustinRochford\/623c205a761d501e6a01b6fda0fad7d4\">another solution<\/a> from <a href=\"https:\/\/twitter.com\/AustinRochford\">Austin Rochford<\/a>, which estimates the posterior distribution by simulation.<\/p>\n<p>And here&#8217;s a solution from <a href=\"https:\/\/twitter.com\/dovgalec\">vlad<\/a>, also based on simulation, using WebPPL:<\/p>\n<div class=\"oembed-gist\"><script src=\"https:\/\/gist.github.com\/usptact\/94b26d20fea8afe19058f9f76b4d0896.js\"><\/script><noscript>View the code on <a href=\"https:\/\/gist.github.com\/usptact\/94b26d20fea8afe19058f9f76b4d0896\">Gist<\/a>.<\/noscript><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Here&#8217;s a probability puzzle to ruin your week. In the Royal Game of Ur, players advance tokens along a track with 14 spaces. To determine how many spaces to advance, a player rolls 4 dice with 4 sides. Two corners on each die are marked; the other two are not. The total number of marked corners &#8212; which is 0, 1, 2, 3, or 4 &#8212; is the number of spaces to advance. For example, if the total on your&#8230;<\/p>\n<p class=\"read-more\"><a class=\"btn btn-default\" href=\"https:\/\/www.allendowney.com\/blog\/2018\/10\/21\/the-game-of-ur-problem\/\"> Read More<span class=\"screen-reader-text\">  Read More<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","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":[],"class_list":["post-80","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>The Game of Ur problem - 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\/2018\/10\/21\/the-game-of-ur-problem\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"The Game of Ur problem - Probably Overthinking It\" \/>\n<meta property=\"og:description\" content=\"Here&#8217;s a probability puzzle to ruin your week. In the Royal Game of Ur, players advance tokens along a track with 14 spaces. To determine how many spaces to advance, a player rolls 4 dice with 4 sides. Two corners on each die are marked; the other two are not. The total number of marked corners &#8212; which is 0, 1, 2, 3, or 4 &#8212; is the number of spaces to advance. For example, if the total on your... Read More Read More\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.allendowney.com\/blog\/2018\/10\/21\/the-game-of-ur-problem\/\" \/>\n<meta property=\"og:site_name\" content=\"Probably Overthinking It\" \/>\n<meta property=\"article:published_time\" content=\"2018-10-21T16:56:08+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2018-11-01T14:13:50+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/upload.wikimedia.org\/wikipedia\/commons\/1\/1d\/British_Museum_Royal_Game_of_Ur.jpg\" \/>\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=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.allendowney.com\/blog\/2018\/10\/21\/the-game-of-ur-problem\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.allendowney.com\/blog\/2018\/10\/21\/the-game-of-ur-problem\/\"},\"author\":{\"name\":\"AllenDowney\",\"@id\":\"https:\/\/www.allendowney.com\/blog\/#\/schema\/person\/4e5bfb2e9af6c3446cb0031a7bf83207\"},\"headline\":\"The Game of Ur problem\",\"datePublished\":\"2018-10-21T16:56:08+00:00\",\"dateModified\":\"2018-11-01T14:13:50+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.allendowney.com\/blog\/2018\/10\/21\/the-game-of-ur-problem\/\"},\"wordCount\":258,\"commentCount\":6,\"publisher\":{\"@id\":\"https:\/\/www.allendowney.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.allendowney.com\/blog\/2018\/10\/21\/the-game-of-ur-problem\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/upload.wikimedia.org\/wikipedia\/commons\/1\/1d\/British_Museum_Royal_Game_of_Ur.jpg\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.allendowney.com\/blog\/2018\/10\/21\/the-game-of-ur-problem\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.allendowney.com\/blog\/2018\/10\/21\/the-game-of-ur-problem\/\",\"url\":\"https:\/\/www.allendowney.com\/blog\/2018\/10\/21\/the-game-of-ur-problem\/\",\"name\":\"The Game of Ur problem - Probably Overthinking It\",\"isPartOf\":{\"@id\":\"https:\/\/www.allendowney.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.allendowney.com\/blog\/2018\/10\/21\/the-game-of-ur-problem\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.allendowney.com\/blog\/2018\/10\/21\/the-game-of-ur-problem\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/upload.wikimedia.org\/wikipedia\/commons\/1\/1d\/British_Museum_Royal_Game_of_Ur.jpg\",\"datePublished\":\"2018-10-21T16:56:08+00:00\",\"dateModified\":\"2018-11-01T14:13:50+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.allendowney.com\/blog\/2018\/10\/21\/the-game-of-ur-problem\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.allendowney.com\/blog\/2018\/10\/21\/the-game-of-ur-problem\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.allendowney.com\/blog\/2018\/10\/21\/the-game-of-ur-problem\/#primaryimage\",\"url\":\"https:\/\/upload.wikimedia.org\/wikipedia\/commons\/1\/1d\/British_Museum_Royal_Game_of_Ur.jpg\",\"contentUrl\":\"https:\/\/upload.wikimedia.org\/wikipedia\/commons\/1\/1d\/British_Museum_Royal_Game_of_Ur.jpg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.allendowney.com\/blog\/2018\/10\/21\/the-game-of-ur-problem\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.allendowney.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"The Game of Ur problem\"}]},{\"@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":"The Game of Ur problem - 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\/2018\/10\/21\/the-game-of-ur-problem\/","og_locale":"en_US","og_type":"article","og_title":"The Game of Ur problem - Probably Overthinking It","og_description":"Here&#8217;s a probability puzzle to ruin your week. In the Royal Game of Ur, players advance tokens along a track with 14 spaces. To determine how many spaces to advance, a player rolls 4 dice with 4 sides. Two corners on each die are marked; the other two are not. The total number of marked corners &#8212; which is 0, 1, 2, 3, or 4 &#8212; is the number of spaces to advance. For example, if the total on your... Read More Read More","og_url":"https:\/\/www.allendowney.com\/blog\/2018\/10\/21\/the-game-of-ur-problem\/","og_site_name":"Probably Overthinking It","article_published_time":"2018-10-21T16:56:08+00:00","article_modified_time":"2018-11-01T14:13:50+00:00","og_image":[{"url":"https:\/\/upload.wikimedia.org\/wikipedia\/commons\/1\/1d\/British_Museum_Royal_Game_of_Ur.jpg","type":"","width":"","height":""}],"author":"AllenDowney","twitter_card":"summary_large_image","twitter_creator":"@AllenDowney","twitter_site":"@AllenDowney","twitter_misc":{"Written by":"AllenDowney","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.allendowney.com\/blog\/2018\/10\/21\/the-game-of-ur-problem\/#article","isPartOf":{"@id":"https:\/\/www.allendowney.com\/blog\/2018\/10\/21\/the-game-of-ur-problem\/"},"author":{"name":"AllenDowney","@id":"https:\/\/www.allendowney.com\/blog\/#\/schema\/person\/4e5bfb2e9af6c3446cb0031a7bf83207"},"headline":"The Game of Ur problem","datePublished":"2018-10-21T16:56:08+00:00","dateModified":"2018-11-01T14:13:50+00:00","mainEntityOfPage":{"@id":"https:\/\/www.allendowney.com\/blog\/2018\/10\/21\/the-game-of-ur-problem\/"},"wordCount":258,"commentCount":6,"publisher":{"@id":"https:\/\/www.allendowney.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.allendowney.com\/blog\/2018\/10\/21\/the-game-of-ur-problem\/#primaryimage"},"thumbnailUrl":"https:\/\/upload.wikimedia.org\/wikipedia\/commons\/1\/1d\/British_Museum_Royal_Game_of_Ur.jpg","inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.allendowney.com\/blog\/2018\/10\/21\/the-game-of-ur-problem\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.allendowney.com\/blog\/2018\/10\/21\/the-game-of-ur-problem\/","url":"https:\/\/www.allendowney.com\/blog\/2018\/10\/21\/the-game-of-ur-problem\/","name":"The Game of Ur problem - Probably Overthinking It","isPartOf":{"@id":"https:\/\/www.allendowney.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.allendowney.com\/blog\/2018\/10\/21\/the-game-of-ur-problem\/#primaryimage"},"image":{"@id":"https:\/\/www.allendowney.com\/blog\/2018\/10\/21\/the-game-of-ur-problem\/#primaryimage"},"thumbnailUrl":"https:\/\/upload.wikimedia.org\/wikipedia\/commons\/1\/1d\/British_Museum_Royal_Game_of_Ur.jpg","datePublished":"2018-10-21T16:56:08+00:00","dateModified":"2018-11-01T14:13:50+00:00","breadcrumb":{"@id":"https:\/\/www.allendowney.com\/blog\/2018\/10\/21\/the-game-of-ur-problem\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.allendowney.com\/blog\/2018\/10\/21\/the-game-of-ur-problem\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.allendowney.com\/blog\/2018\/10\/21\/the-game-of-ur-problem\/#primaryimage","url":"https:\/\/upload.wikimedia.org\/wikipedia\/commons\/1\/1d\/British_Museum_Royal_Game_of_Ur.jpg","contentUrl":"https:\/\/upload.wikimedia.org\/wikipedia\/commons\/1\/1d\/British_Museum_Royal_Game_of_Ur.jpg"},{"@type":"BreadcrumbList","@id":"https:\/\/www.allendowney.com\/blog\/2018\/10\/21\/the-game-of-ur-problem\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.allendowney.com\/blog\/"},{"@type":"ListItem","position":2,"name":"The Game of Ur problem"}]},{"@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":517,"url":"https:\/\/www.allendowney.com\/blog\/2020\/11\/23\/when-will-the-haunt-begin\/","url_meta":{"origin":80,"position":0},"title":"When will the haunt begin?","author":"AllenDowney","date":"November 23, 2020","format":false,"excerpt":"One of the favorite board games at my house is\u00a0Betrayal at House on the Hill. A unique feature of the game is the dice, which yield three possible outcomes, 0, 1, or 2, with equal probability. When you add them up, you get some unusual probability distributions. There are two\u2026","rel":"","context":"In \"games\"","block_context":{"text":"games","link":"https:\/\/www.allendowney.com\/blog\/tag\/games\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":659,"url":"https:\/\/www.allendowney.com\/blog\/2021\/08\/09\/bayesian-dice\/","url_meta":{"origin":80,"position":1},"title":"Bayesian Dice","author":"AllenDowney","date":"August 9, 2021","format":false,"excerpt":"This article is available in a Jupyter notebook: click here to run it on Colab. I\u2019ve been enjoying Aubrey Clayton\u2019s new book Bernoulli\u2019s Fallacy. The first chapter, which is about the historical development of competing definitions of probability, is worth the price of admission alone. One of the examples in\u2026","rel":"","context":"In \"Bayes&#039;s Theorem\"","block_context":{"text":"Bayes&#039;s Theorem","link":"https:\/\/www.allendowney.com\/blog\/tag\/bayess-theorem\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1163,"url":"https:\/\/www.allendowney.com\/blog\/2023\/12\/29\/how-many-books\/","url_meta":{"origin":80,"position":2},"title":"How Many Books?","author":"AllenDowney","date":"December 29, 2023","format":false,"excerpt":"If you like this article, you can read more about this kind of Bayesian analysis in Think Bayes. Recently I found a copy of Probably Overthinking It at a local bookstore and posted a picture on Twitter. Aubrey Clayton replied with this question: It's a great question with what turns\u2026","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.allendowney.com\/blog\/wp-content\/uploads\/2023\/12\/image-11.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.allendowney.com\/blog\/wp-content\/uploads\/2023\/12\/image-11.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.allendowney.com\/blog\/wp-content\/uploads\/2023\/12\/image-11.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":1390,"url":"https:\/\/www.allendowney.com\/blog\/2024\/10\/15\/bootstrapping-a-proportion\/","url_meta":{"origin":80,"position":3},"title":"Bootstrapping a Proportion","author":"AllenDowney","date":"October 15, 2024","format":false,"excerpt":"It's another installment in Data Q&A: Answering the real questions with Python. Previous installments are available from the Data Q&A landing page. Here\u2019s a question from the Reddit statistics forum. How do I use bootstrapping to generate confidence intervals for a proportion\/ratio? The situation is this: I obtain samples of\u2026","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.allendowney.com\/blog\/wp-content\/uploads\/2024\/10\/image-4.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":1460,"url":"https:\/\/www.allendowney.com\/blog\/2024\/12\/14\/reject-math-supremacy\/","url_meta":{"origin":80,"position":4},"title":"Reject Math Supremacy","author":"AllenDowney","date":"December 14, 2024","format":false,"excerpt":"The premise of Think Stats, and the other books in the Think series, is that programming is a tool for teaching and learning -- and many ideas that are commonly presented in math notation can be more clearly presented in code. In the draft third edition of Think Stats there\u2026","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1686,"url":"https:\/\/www.allendowney.com\/blog\/2025\/12\/26\/the-raven-paradox\/","url_meta":{"origin":80,"position":5},"title":"The Raven Paradox","author":"AllenDowney","date":"December 26, 2025","format":false,"excerpt":"Suppose you are not sure whether all ravens are black. If you see a white raven, that clearly refutes the hypothesis. And if you see a black raven, that supports the hypothesis in the sense that it increases our confidence, maybe slightly. But what if you see a red apple\u2026","rel":"","context":"In \"bayesianism\"","block_context":{"text":"bayesianism","link":"https:\/\/www.allendowney.com\/blog\/tag\/bayesianism\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.allendowney.com\/blog\/wp-content\/uploads\/2025\/12\/3f8f1dc012592d11ac19f20c5698984fc6134a93c7eeec35c1ba1aed5913a1a2.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.allendowney.com\/blog\/wp-json\/wp\/v2\/posts\/80","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=80"}],"version-history":[{"count":4,"href":"https:\/\/www.allendowney.com\/blog\/wp-json\/wp\/v2\/posts\/80\/revisions"}],"predecessor-version":[{"id":83,"href":"https:\/\/www.allendowney.com\/blog\/wp-json\/wp\/v2\/posts\/80\/revisions\/83"}],"wp:attachment":[{"href":"https:\/\/www.allendowney.com\/blog\/wp-json\/wp\/v2\/media?parent=80"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.allendowney.com\/blog\/wp-json\/wp\/v2\/categories?post=80"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.allendowney.com\/blog\/wp-json\/wp\/v2\/tags?post=80"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}