Skip to content
HomeVideosBooksBlogs
AllTop postsTopics
Podcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K

    Allen Downey

    allendowney.blogspot.com · Personal blog · on HN since 2011

    Allen Downey, a computer science professor and author, writes about statistics, Bayesian methods, and Python.

    Visit blogHN submissions
    MathData & VisualizationProgramming
    What HN says

    HN links it for the inspection paradox post, which commenters discuss and try to explain, and for his data on declining religious affiliation.

    Stats for nerds
    96HN people shared it
    123linked in comments
    1.9Kstory points
    Jun 2026last shared
    2011people per year2026

    Top posts on HN

    1. 1
      Learning to program is getting harder
      2 people · 478 points · first shared 2018 · 412 comments on HN
    2. 2
      This blog has moved
      1 person · 431 points · first shared 2018 · 108 comments on HN
    3. 3
      The Tyranny of the Extroverts
      1 person · 219 points · first shared 2011 · 87 comments on HN
    4. 4
      The inspection paradox is everywhere (2015)
      7 people · 138 points · first shared 2015 · 42 comments on HN
    5. 5
      Cancer survival rates are misleading
      1 person · 106 points · first shared 2025 · 65 comments on HN
    6. 6
      All your Bayes are belong to us: fun Bayes's Theorem problems.
      2 people · 83 points · first shared 2011 · 5 comments on HN
    7. 7
      Inspection Paradox (2015)
      2 people · 70 points · first shared 2018 · 13 comments on HN
    8. 8
      Preston’s Paradox
      1 person · 67 points · first shared 2022 · 52 comments on HN
    9. 9
      Millennials are still not getting married
      1 person · 50 points · first shared 2016 · 72 comments on HN
    10. 10
      In Search Of: Simpson's Paradox
      2 people · 23 points · first shared 2021 · 3 comments on HN

    What HN people wrote when they linked it

    • canyon289Feb 2024

      Thank you for asking. I find this stuff super interesting. I write about it on my blog

      https://ravinkumar.com/

      and here's a video for the most common question I get about bayes vs frequentist

      https://www.youtube.com/watch?v=foSPfzYs4yY

      For recommendations here's my suggestions split by persona

      * I want a PHD in statistics or to write novel research - Go read BDA3 cover to cover. Gelman etal are amazing, and amazingly brilliant. The book is dense though, even after years of experience I need to now read chapters 2 or 3 times and write out proofs

      * I want have a smooth on ramp into Bayesian stats with lots of code and beautiful writing. I also like video lectures and undergraduate college courses - Statistical Rethinking. As noted below Richard does a wonderful job explaining these concepts with metaphors like golems, interspersing it with this experience as an anthropologist, and using his teaching experience to write well structured introduction into Bayesian stats. This book does assume you understand basic statistics and probability theory.

      * I want a great comparison of Bayesian vs Frequentist stats- This book covers both topics well, compares them fairly, and has all the proofs to back things up https://www.routledge.com/Understanding-Advanced-Statistical-Methods/Westfall-Henning/p/book/9781466512108

      * I'm a programmer type person that likes hands on "build from scratch" using code - Allen Downey's think bayes builds up bayes theorem from Numpy arrays. He's also…

    • saeranvSep 2021

      So I've read this article a couple of times and I still don't quite understand it. Can anyone summarize the key argument for a layperson?

      Here's my best interpretation thus far:

      This particular post is a continuation of his two earlier posts[1], [2] which seems to critique the way statistical significance is simplistically calculated from a gaussian distribution when effect size is small. This leads to an argument that the statistics community is too dependant on generative models for their interpretation, given that these models are typically to simplistic outside of hard sciences:

      > "But in biology, medicine, social science, and economics, our models are much less accurate and less grounded in natural laws. Most of the time, models are selected because they are convenient, not because they are plausible, well motivated from phenomenological principles, or even empirically validated. Freedman built a cottage industry around pointing out how poorly motivated many of the common statistical models are."

      This part I am a little unclear on, but it seems like this leads him to suggest focusing on the random sampling as a way to get counts that you can then plug into various statistical formulas, without the need to assume a probabalistic model:

      > "So what is the remedy here? The thing is, we already know the answer: if we randomized the assignment, we can estimate log odds by counting the number of positive outcomes under treatment and control, and then just plugging these…

    • tuatoruJun 2024

      There are six (maybe more, but I have six so far) factors in low nuptiality (marriage rates)[1] and consequently sub-replacement fertility, under the headings of religion, medicine, technology, geography, sociology, and ethics.

      1. Secularism. Secular populations are less fertile than highly religious populations.

      2. Infant survival (low infant mortality).

      3. Mechanisation particularly of agriculture.

      4. Urbanisation.

      5. Credentialism, the social requirement for people to spend an increasing fraction of their fertile years in pre-employment education. Simple literacy is also pretty important in causing early fertility decline in developing countries.

      6. Universalism together with a tolerance for inequality. Universalism is applying the same rules to everyone, so women can enter the workforce and make their own life decisions just as men do. Tolerance for inequality I hope I don't have to explain. (I am split whether this is one factor or two.)

      There is some interlinkage in these, they are not all totally orthogonal, but they are all fairly distinct dimensions of the problem.

      Japan (and South Korea, and China) max out on credentialism and tolerance for inequality but also score highly in all of the others.

      Finally this is a great example of one of Iain Banks's "Outside Context Problems".

      More than a black swan, it's a problem that governments are simply not equipped to understand or in some cases even see, so they can't do anything to solve it.

      1.…

    • red_admiralSep 2024

      Back in the days of slatestarcodex, the comment policy [1] was you can comment if your post is at least two of these three things: true, necessary, or kind.

      This post is all three: what they're describing is true (these dynamics in meetings do exist, very often), it is kind (in the sense they're giving you a skill to help both yourself and others), and I'll give it necessary in the sense it's used in the original definition (if you want to get ahead in an organization with a nontrivial amount of internal politics - which is most places - you need to have at least some of this skill).

      And yet, something about this post gives me "weird vibes".

      Basically, with a bit of sarcasm you could sum it up as "DON'T BE AUTISTIC", and if you are then at least get therapy until you can act normal.

      When the author says "We [humans] are wired to spidey sense this [vibes] stuff", it turns out some humans are above and some below the mean in this skill distribution. [2]

      And sometimes, in a meeting to decide about how you're going to set up your database sharding, it helps the business' bottom line if you pay more attention to the database specialist than the soft-eye-contact specialist.

      (Don't you want to hire people who are good at both? Yes, but unless you're really, really lucky, you're going to hit Berkson's paradox [3]. And then if you want your databases to run smoothly, you're going to have to compromise.)

      [1]…

    • j_not_jJun 2025

      Downey published a (big-endian, SPARC) method in 2007:

      https://allendowney.com/research/rand/

      And Lemire in 2017 asked the question

      https://lemire.me/blog/2017/02/28/how-many-floating-point-numbers-are-in-the-interval-01/

      The basic approach: collect top 60 bits of a 64-bit PRNG. (Assume the LSBs are corrupt or zero or nonrandom). Set exponent zero. If the top mantissa bit is zero, shift left, subtract one from exponent. Repeat. When you run out of bits, collect another PRNG from your generator and resume until you have 56 bits of mantissa. When done, your floating-point PRNG is 2^exponent * mantissa.

      My short explanation: Suppose you want a random distance. Multiplying a PR integer is the same as selecting a random tile in the distance, and measuring the distance to the (far) edge of the tile. This is the multiply method.

      But if you want a real-valued distance even for very near distances, you need to scale your random number and ensure you have random bits throughout the mantissa. So reduce the exponent for every leading zero in your PR integer and shift. Add more bits if needed.

      Test: the histogram of exponents for a large-enough set of samples is linear, give or take. Very small floating numbers (less than say 1/32768) are 1/16 as likely as numbers in [0.5,1).

    • epalmerMay 2017

      I saw Allen Downey speak about this concept a year ago in a small forum at the University of Richmond. Several professors in the audience challenged his thinking. I approached one after that and asked what he thought and the answer was basically that Dr. Downey's approach is spot on. This coming from a CS professor.

      I have just started reading his Think Stats book http://www.allendowney.com/wp/books/ which is starting to help me better understand statistics. Not far enough into the book yet to make a complete judgement however.

      Got to say I like seeing different perspectives on traditional subjects. My youngest is going to Olin next year in Mechanical Engineering and seeing these sorts of articles keeps me excited about her unconventional engineering education at Olin.

    Related

    Gödel's Lost Letterrjlipton.wordpress.com185 people

    Mihai Pătraşcu 1982–2012

    Gödel's Lost Letter
    Personal · last shared 2021
    Jeremy Kunjeremykun.com194 people

    A Programmer's Introduction to Mathematics

    Jeremy Kun
    Personal · last shared 2026
    Stitch Fix Multithreadedmultithreaded.stitchfix.com87 people

    Engineers Shouldn’t Write ETL

    Stitch Fix Multithreaded
    Company · last shared 2025
    ScienceBlogsscienceblogs.com533 people

    Elsevier = Evil

    ScienceBlogs
    Publication · last shared 2025
    John D. Cookjohndcook.com648 people

    Organizing complexity is the most important skill in software development

    John D. Cook
    Personal · last shared 2026
    Gowers's Webloggowers.wordpress.com136 people

    Fields medalist Tim Gowers: Elsevier — my part in its downfall

    Gowers's Weblog
    Personal · last shared 2026
    LessWronglesswrong.com2.4k people

    The Best Textbooks on Every Subject

    LessWrong
    Publication · last shared 2026
    Statistical Modeling, Causal Inference, and Social Sciencestatmodeling.stat.columbia.edu350 people

    Suspicious data pattern in recent Venezuelan election

    Statistical Modeling, Causal Inference, and Social Science
    Publication · last shared 2026