RSS/Atom Feed Analyzer

Analysis of https://www.allendowney.com/blog/feed/

Feed fetched in 1,121 ms.
Warning Content type is application/rss+xml; charset=UTF-8, not text/xml or applicaton/xml.
Feed is 186,741 characters long.
Feed has an ETag of W/"a00f19953985f6187487d138f373f321-gzip".
Feed has a last modified date of Fri, 04 Sep 2026 13:19:22 GMT.
Feed is well-formed XML.
Warning Feed has no styling.
This is an RSS feed.
Feed title: Probably Overthinking It
Feed self link matches feed URL.
Feed has an image at https://www.allendowney.com/blog/wp-content/uploads/2026/03/cropped-pit_logo1-32x32.jpg.
Feed has 10 items.
First item published on 2026-09-04T13:19:21.000Z
Last item published on 2026-04-16T20:01:37.000Z
All items have published dates.
Newest item was published on 2026-09-04T13:19:21.000Z.
Info Feed's Last-Modified date is newer than the newest item's published date (2026-09-04T13:19:22.000Z > 2026-09-04T13:19:21.000Z).
Home page URL: https://www.allendowney.com/blog/
Home page has feed discovery link in <head>.
Error Home page does not have a link to the feed in the <body>.

Formatted XML
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/">
    <channel>
        <title>Probably Overthinking It</title>
        <atom:link href="https://www.allendowney.com/blog/feed/" rel="self" type="application/rss+xml"/>
        <link>https://www.allendowney.com/blog/</link>
        <description>Data science, Bayesian Statistics, and other ideas</description>
        <lastBuildDate>Fri, 04 Sep 2026 13:19:22 +0000</lastBuildDate>
        <language>en-US</language>
        <sy:updatePeriod>hourly</sy:updatePeriod>
        <sy:updateFrequency>1</sy:updateFrequency>
        <generator>https://wordpress.org/?v=7.1</generator>
        <image>
            <url>https://www.allendowney.com/blog/wp-content/uploads/2026/03/cropped-pit_logo1-32x32.jpg</url>
            <title>Probably Overthinking It</title>
            <link>https://www.allendowney.com/blog/</link>
            <width>32</width>
            <height>32</height>
        </image>
        <site xmlns="com-wordpress:feed-additions:1">152259904</site>
        <item>
            <title>New Book!</title>
            <link>https://www.allendowney.com/blog/2026/09/04/new-book/</link>
            <dc:creator><![CDATA[AllenDowney]]></dc:creator>
            <pubDate>Fri, 04 Sep 2026 13:19:21 +0000</pubDate>
            <category><![CDATA[Uncategorized]]></category>
            <category><![CDATA[announcement]]></category>
            <guid isPermaLink="false">https://www.allendowney.com/blog/?p=1902</guid>
            <description><![CDATA[<p>I am working on a new book called You Would Choose Now: Measuring America&#8217;s Progress Toward Fairness and Tolerance. It&#8217;s a data-driven exploration of progress (or not) in public opinion and civil rights. I posted the first two chapters as an Early Access edition on LeanPub (a platform for posting work in progress like this): https://leanpub.com/ywcn If you would like to check it out, the &#8220;Free Sample&#8221; has just the first chapter. If you sign up with an email address,...</p>
<p class="read-more"><a class="btn btn-default" href="https://www.allendowney.com/blog/2026/09/04/new-book/"> Read More<span class="screen-reader-text">  Read More</span></a></p>
<p>The post <a href="https://www.allendowney.com/blog/2026/09/04/new-book/">New Book!</a> appeared first on <a href="https://www.allendowney.com/blog">Probably Overthinking It</a>.</p>
]]></description>
            <content:encoded><![CDATA[<div class="wp-block-image">
<figure class="alignright size-full is-resized"><img fetchpriority="high" decoding="async" width="540" height="810" src="https://www.allendowney.com/blog/wp-content/uploads/2026/09/cover-concept-spectrum-front.png" alt="" class="wp-image-1903" style="width:268px;height:auto" srcset="https://www.allendowney.com/blog/wp-content/uploads/2026/09/cover-concept-spectrum-front.png 540w, https://www.allendowney.com/blog/wp-content/uploads/2026/09/cover-concept-spectrum-front-200x300.png 200w, https://www.allendowney.com/blog/wp-content/uploads/2026/09/cover-concept-spectrum-front-180x270.png 180w" sizes="(max-width: 540px) 100vw, 540px" /></figure>
</div>


<p class="wp-block-paragraph">I am working on a new book called <em>You Would Choose Now: Measuring America&#8217;s Progress Toward Fairness and Tolerance</em>. It&#8217;s a data-driven exploration of progress (or not) in public opinion and civil rights.</p>



<p class="wp-block-paragraph">I posted the first two chapters as an Early Access edition on LeanPub (a platform for posting work in progress like this): <a href="https://leanpub.com/ywcn">https://leanpub.com/ywcn</a></p>



<p class="wp-block-paragraph">If you would like to check it out, the &#8220;Free Sample&#8221; has just the first chapter. If you sign up with an email address, you can get the &#8220;Community Edition&#8221;, which has the first two chapters &#8212; and that&#8217;s all there are for now. Chapter 3 is scheduled for October 1.</p>



<p class="wp-block-paragraph">As I add chapters over the next six months, I will post excerpts on <a href="https://allendowney.substack.com/">Substack</a>. So if you only follow this blog and not my Substack, you might want to sign up over there. I will continue to post on other topics here.</p>



<h2 class="wp-block-heading">What&#8217;s it about?</h2>



<p class="wp-block-paragraph">If you read <a href="https://www.allendowney.com/blog/2026/06/16/you-would-choose-now/">this post from a couple of weeks ago</a>, you already know the premise of the book: in 2016, Barack Obama gave a commencement address at Howard University, where he said</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p class="wp-block-paragraph"><strong>If you had to choose one moment in history in which you could be born</strong>, and you didn’t know ahead of time who you were going to be — what nationality, what gender, what race, whether you’d be rich or poor, gay or straight, what faith you’d be born into — you wouldn’t choose 100 years ago. You wouldn’t choose the fifties, or the sixties, or the seventies. <strong>You’d choose right now.</strong></p>
</blockquote>



<p class="wp-block-paragraph">That was a bold thing to say to new college graduates, even in 2016. So I read Obama&#8217;s address with a skeptical eye. I wondered if he was right in 2016, and if so, whether he would still be right in 2026. And I thought about how to prove or disprove it. That&#8217;s what the book is about.</p>



<p class="wp-block-paragraph">Chapter 1 is an introduction that includes an example of the primary statistical method I&#8217;ll use, period-cohort analysis. Chapter 2 is about sexual orientation. I plan to publish Chapter 3, which is about gender, on October 1. And then Chapter 4, about race, on November 1.</p>



<p class="wp-block-paragraph">Part of the reason I am publishing incrementally is to encourage reader feedback, so I welcome comments and suggestions.</p>



<p class="wp-block-paragraph">And if you are interested in the technical details, there&#8217;s an <a href="https://allendowney.github.io/YouWouldChooseNow/">appendix that explains the analysis</a>.</p>
<p>The post <a href="https://www.allendowney.com/blog/2026/09/04/new-book/">New Book!</a> appeared first on <a href="https://www.allendowney.com/blog">Probably Overthinking It</a>.</p>
]]></content:encoded>
            <post-id xmlns="com-wordpress:feed-additions:1">1902</post-id>
        </item>
        <item>
            <title>Think Java, but interactive</title>
            <link>https://www.allendowney.com/blog/2026/08/22/think-java-but-interactive/</link>
            <dc:creator><![CDATA[AllenDowney]]></dc:creator>
            <pubDate>Sat, 22 Aug 2026 13:14:57 +0000</pubDate>
            <category><![CDATA[Uncategorized]]></category>
            <category><![CDATA[java]]></category>
            <category><![CDATA[java-runner]]></category>
            <guid isPermaLink="false">https://www.allendowney.com/blog/?p=1893</guid>
            <description><![CDATA[<p>The online version of Think Java now features interactive widgets that run the code examples in the browser. For readers, it means you can try out the examples, modify them, and test your code. And for us it means we can publish an interactive version of the book without providing servers. The widgets use java-runner, an in-browser Java editor and interpreter developed by Think Java co-author Chris Mayfield. java-runner implements a subset of Java with the features needed for most...</p>
<p class="read-more"><a class="btn btn-default" href="https://www.allendowney.com/blog/2026/08/22/think-java-but-interactive/"> Read More<span class="screen-reader-text">  Read More</span></a></p>
<p>The post <a href="https://www.allendowney.com/blog/2026/08/22/think-java-but-interactive/">Think Java, but interactive</a> appeared first on <a href="https://www.allendowney.com/blog">Probably Overthinking It</a>.</p>
]]></description>
            <content:encoded><![CDATA[
<p class="wp-block-paragraph">The <a href="https://chrismayfield.github.io/ThinkJava2/">online version of <em>Think Java</em></a> now features interactive widgets that <strong>run the code examples in the browser</strong>. For readers, it means you can try out the examples, modify them, and test your code. And for us it means we can publish an interactive version of the book without providing servers.</p>



<p class="wp-block-paragraph">The widgets use <a href="https://github.com/ChrisMayfield/java-runner">java-runner</a>, an in-browser Java editor and interpreter developed by <em>Think Java</em> co-author Chris Mayfield.</p>



<p class="wp-block-paragraph">java-runner implements a subset of Java with the features needed for most programming classes, plus some safety features &#8212; like a maximum instruction count to stop infinite loops. It provides a code editor and a REPL.</p>



<p class="wp-block-paragraph">Here&#8217;s an example of the code editor, from <a href="https://chrismayfield.github.io/ThinkJava2/ch06.html#the-while-statement">Section 6.1</a>:</p>



<iframe
  src="https://chrismayfield.github.io/ThinkJava2/embed/collatz-conjecture.html"
  width="100%"
  height="420"
  style="border:1px solid #e0e0e0;border-radius:6px;"
  loading="lazy"
  title="Collatz conjecture — interactive Java">
</iframe>



<p class="wp-block-paragraph">And here&#8217;s an example of the REPL, from <a href="https://chrismayfield.github.io/ThinkJava2/ch06.html#characters">Section 6.6:</a>:</p>



<iframe
  src="https://chrismayfield.github.io/ThinkJava2/embed/fruit-charat-repl.html"
  width="100%"
  height="320"
  style="border:1px solid #e0e0e0;border-radius:6px;"
  loading="lazy"
  title="String charAt — Java REPL">
</iframe>



<p class="wp-block-paragraph">We&#8217;re aware of <a href="https://github.com/ChrisMayfield/java-runner/issues/2">one example</a> where the behavior of java-runner differs from the Java language specification &#8212; so we&#8217;re working on that.</p>



<p class="wp-block-paragraph"></p>
<p>The post <a href="https://www.allendowney.com/blog/2026/08/22/think-java-but-interactive/">Think Java, but interactive</a> appeared first on <a href="https://www.allendowney.com/blog">Probably Overthinking It</a>.</p>
]]></content:encoded>
            <post-id xmlns="com-wordpress:feed-additions:1">1893</post-id>
        </item>
        <item>
            <title>Greatest GOAT of All Time?</title>
            <link>https://www.allendowney.com/blog/2026/06/27/greatest-goat-of-all-time/</link>
            <dc:creator><![CDATA[AllenDowney]]></dc:creator>
            <pubDate>Sat, 27 Jun 2026 15:28:04 +0000</pubDate>
            <category><![CDATA[Uncategorized]]></category>
            <category><![CDATA[cricket]]></category>
            <category><![CDATA[Gaussian]]></category>
            <category><![CDATA[GOAT]]></category>
            <category><![CDATA[lognormal]]></category>
            <category><![CDATA[Weibull]]></category>
            <guid isPermaLink="false">https://www.allendowney.com/blog/?p=1867</guid>
            <description><![CDATA[<p>A recent post claims that the “most statistically dominant athlete” of all time was cricketer Don Bradman. It’s a bold claim – let’s see if it holds up. In Chapter 4 of Probably Overthinking It, I listed a few examples of athletes who are considered the Greatest Of All Time (GOAT), and noted that in many cases they are not just a little better than the second-best, but much better. That is, they are outliers among outliers. And I suggested...</p>
<p class="read-more"><a class="btn btn-default" href="https://www.allendowney.com/blog/2026/06/27/greatest-goat-of-all-time/"> Read More<span class="screen-reader-text">  Read More</span></a></p>
<p>The post <a href="https://www.allendowney.com/blog/2026/06/27/greatest-goat-of-all-time/">Greatest GOAT of All Time?</a> appeared first on <a href="https://www.allendowney.com/blog">Probably Overthinking It</a>.</p>
]]></description>
            <content:encoded><![CDATA[
<p class="wp-block-paragraph"><em>A recent post claims that the “most statistically dominant athlete” of all time was cricketer Don Bradman. It’s a bold claim – let’s see if it holds up.</em></p>



<p class="wp-block-paragraph">In <a href="https://allendowney.github.io/ProbablyOverthinkingIt/lognormal.html#the-greatest-of-all-time"><em>Chapter 4 of Probably Overthinking It</em></a>, I listed a few examples of athletes who are considered the Greatest Of All Time (GOAT), and noted that in many cases they are not just a little better than the second-best, but much better. That is, they are outliers among outliers.</p>



<p class="wp-block-paragraph">And I suggested that part of the explanation for this phenomenon is that the distribution of accomplishment in many fields (at least, the ones where accomplishment can be quantified) follows a lognormal distribution. That matters because the lognormal distribution has a long tail, which means that extreme values can be much farther from the mean than we would see in a Gaussian (normal) distribution.</p>



<p class="wp-block-paragraph">So I was intrigued by <a href="https://www.instagram.com/reel/DZ6anr1CjT2/">this post</a> about <a href="https://en.wikipedia.org/wiki/Don_Bradman#Statistical_summary">Don Bradman</a>:</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p class="wp-block-paragraph">The most statistically dominant athlete ever isn’t Jordan or Messi — and you’ve probably never heard of him. <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f3cf.png" alt="🏏" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>



<p class="wp-block-paragraph">I plotted the career batting averages of the greatest Test cricketers of all time. They make a clean bell curve. In cricket, averaging 50 makes you an immortal legend, and the all-time record holders top out around 60 — about 2 standard deviations above the mean.</p>



<p class="wp-block-paragraph">Then there’s Don Bradman: 99.94. More than 6 standard deviations out. The gap between him and the SECOND best player is bigger than the gap between #2 and the entire average. By the math, a batsman this good should appear about once in 7 billion.</p>



<p class="wp-block-paragraph">To be this far ahead in basketball, Michael Jordan would’ve had to average 43 points in every single game he ever played. No one in any sport — not Jordan, not Gretzky, not Messi — is this far from their peers.</p>



<p class="wp-block-paragraph">Not just the greatest. The single biggest outlier in the history of sport.</p>
</blockquote>



<p class="wp-block-paragraph">Let’s see if that’s true. In particular, I’ll investigate the “clean bell curve” – it implies a Gaussian model of the data, which is where that “once in 7 billion” comes from.</p>



<p class="wp-block-paragraph">To give away the ending, here’s what I found:</p>



<ul class="wp-block-list">
<li>The data don’t fit a Gaussian particularly well, especially in the tail, so the “one in 7 billion” might not be right.</li>



<li>I thought they might fit a lognormal better, but I was wrong.</li>



<li>It turns out that the data fit a Weibull distribution <em>very</em> well, and from that we can get a revised estimate of how much of a GOAT Bradman was.</li>
</ul>



<p class="wp-block-paragraph">As it turns out, he was a pretty goaty GOAT – but not quite one in 7 billion.</p>



<h2 class="wp-block-heading">Load the data</h2>



<p class="wp-block-paragraph">I got the data from <a href="https://www.kaggle.com/datasets/udaytunguturi/batsmen-career-runs-data-for-cricket-analytics">Kaggle</a> (<code>runs_of_batsmen.csv</code>).</p>



<pre class="wp-block-preformatted">DATA_PATH = "runs_of_batsmen.csv"

df = pd.read_csv(DATA_PATH)

# Convert to numeric, coercing errors to NaN
df['Batting Average'] = pd.to_numeric(df['Batting Average'], errors='coerce')
df['Innings'] = pd.to_numeric(df['Innings'], errors='coerce')
</pre>



<p class="wp-block-paragraph">I select only batters with 10 or more innings.</p>



<pre class="wp-block-preformatted">df = df.query('Innings >= 10')
</pre>



<p class="wp-block-paragraph">Here’s what the distribution of batting averages looks like.</p>



<pre class="wp-block-preformatted">import seaborn as sns

sns.kdeplot(df['Batting Average'])
decorate()
</pre>



<figure class="wp-block-image"><img decoding="async" width="630" height="470" src="https://www.allendowney.com/blog/wp-content/uploads/2026/06/9e6e3e754fa48807f6d4f5b72552714ed01e3d2dec5cfb8bb37abb5ad845d7aa.png" alt="_images/9e6e3e754fa48807f6d4f5b72552714ed01e3d2dec5cfb8bb37abb5ad845d7aa.png" class="wp-image-1873" srcset="https://www.allendowney.com/blog/wp-content/uploads/2026/06/9e6e3e754fa48807f6d4f5b72552714ed01e3d2dec5cfb8bb37abb5ad845d7aa.png 630w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/9e6e3e754fa48807f6d4f5b72552714ed01e3d2dec5cfb8bb37abb5ad845d7aa-300x224.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/9e6e3e754fa48807f6d4f5b72552714ed01e3d2dec5cfb8bb37abb5ad845d7aa-362x270.png 362w" sizes="(max-width: 630px) 100vw, 630px" /></figure>



<p class="wp-block-paragraph">That’s not much of a bell curve. It’s pretty clearly skewed to the right, even if we leave Bradman out of it. But let’s fit a Gaussian to it anyway.</p>



<h2 class="wp-block-heading">The Gaussian Model</h2>



<p class="wp-block-paragraph">There are a lot of ways to fit a model to data. The one I like for applications like this is percentile matching – that is, finding a model that minimizes the average vertical distance between the empirical CDF of the data and the CDF of the model. That’s what <code>fit_normal</code> does.</p>



<pre class="wp-block-preformatted">avg_series = df["Batting Average"].dropna()
gaussian_model = fit_normal(avg_series)
</pre>



<p class="wp-block-paragraph">Here’s what that looks like, plotting the tail distribution, which is the complement of the CDF. The shaded area shows the differences between the data and the model.</p>



<pre class="wp-block-preformatted">tail_data = TailDist.from_seq(avg_series)
plot_fit_with_area(tail_data, gaussian_model, kind="tail")
decorate(xlabel="Batting Average", title='Gaussian model')
</pre>



<figure class="wp-block-image"><img decoding="async" width="630" height="470" src="https://www.allendowney.com/blog/wp-content/uploads/2026/06/4b2c95fa3fda1563ca2714d6361e97b106ed1984db9479b168798ca548a9d940.png" alt="_images/4b2c95fa3fda1563ca2714d6361e97b106ed1984db9479b168798ca548a9d940.png" class="wp-image-1871" srcset="https://www.allendowney.com/blog/wp-content/uploads/2026/06/4b2c95fa3fda1563ca2714d6361e97b106ed1984db9479b168798ca548a9d940.png 630w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/4b2c95fa3fda1563ca2714d6361e97b106ed1984db9479b168798ca548a9d940-300x224.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/4b2c95fa3fda1563ca2714d6361e97b106ed1984db9479b168798ca548a9d940-362x270.png 362w" sizes="(max-width: 630px) 100vw, 630px" /></figure>



<p class="wp-block-paragraph">This is not a great fit. There are clear differences in the shapes of the tail distributions.</p>



<p class="wp-block-paragraph">And here’s the average error, which is related to the area between the curves.</p>



<pre class="wp-block-preformatted">mae_normal = average_error(avg_series, gaussian_model)
mae_normal
</pre>



<pre class="wp-block-preformatted">0.017745997600540485
</pre>



<p class="wp-block-paragraph">When we plot the tail distributions on linear scales, it looks like the model might be good enough. The problem is that we can’t see what’s happening in the tail. For that, it’s useful to plot the tail distributions on a log-y scale.</p>



<pre class="wp-block-preformatted">n = len(avg_series)
qs = np.linspace(tail_data.qs.min(), tail_data.qs.max(), 200)
tail_model = TailDist(gaussian_model.sf(qs), index=qs)
</pre>



<pre class="wp-block-preformatted">plot_model_bounds(gaussian_model, n=n, qs=qs, kind="tail", color="gray", alpha=0.2)
tail_model.plot(label="model")
tail_data.plot(label="data")
decorate(yscale="log", title='Gaussian model (log-y scale)')
</pre>



<figure class="wp-block-image"><img loading="lazy" decoding="async" width="630" height="470" src="https://www.allendowney.com/blog/wp-content/uploads/2026/06/b8bccf875d3216eb826852be8de578e37cbfb0909184ce61df747e79bef1db5e.png" alt="_images/b8bccf875d3216eb826852be8de578e37cbfb0909184ce61df747e79bef1db5e.png" class="wp-image-1876" srcset="https://www.allendowney.com/blog/wp-content/uploads/2026/06/b8bccf875d3216eb826852be8de578e37cbfb0909184ce61df747e79bef1db5e.png 630w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/b8bccf875d3216eb826852be8de578e37cbfb0909184ce61df747e79bef1db5e-300x224.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/b8bccf875d3216eb826852be8de578e37cbfb0909184ce61df747e79bef1db5e-362x270.png 362w" sizes="auto, (max-width: 630px) 100vw, 630px" /></figure>



<p class="wp-block-paragraph">The model fits the left side of the distribution well enough, but after that, it diverges badly. Around 60, the difference between the model and the data is about an order of magnitude.</p>



<p class="wp-block-paragraph">Nevertheless, we can use the Gaussian model to compute the probability of a batting average as high as Bradman’s 99.94.</p>



<pre class="wp-block-preformatted">BRADMAN = 99.94


def probability_of_exceeding(model, x, n):
    p = model.cdf(x)
    one_in = 1 / (1 - p)
    in_sample = 1 / (1 - p ** n)
    return one_in, in_sample
</pre>



<p class="wp-block-paragraph">In the fitted distribution, the probability of a single batter achieving Bradman’s average is about one per 5.7 trillion.</p>



<pre class="wp-block-preformatted">one_in, in_sample = probability_of_exceeding(gaussian_model, BRADMAN, n)
one_in / 1e12
</pre>



<pre class="wp-block-preformatted">5.71160383940456
</pre>



<p class="wp-block-paragraph">And even if we account for the sample size, the probability that one of 3438 batsman reaches that level is one per 1.7 billion. So, according to the Gaussian model, this outcome is basically impossible.</p>



<pre class="wp-block-preformatted">n, in_sample / 1e9
</pre>



<pre class="wp-block-preformatted">(3438, 1.6613158346144736)
</pre>



<p class="wp-block-paragraph">But the Gaussian model doesn’t fit the data well – and there’s no reason it should. To see why not, let’s think about the process that generates the distribution of batting averages.</p>



<p class="wp-block-paragraph">As a simplifying assumption, suppose a batsman has the same probability of getting out at any time; in that case, the number of runs in an inning might follow a negative binomial (NB) distribution. As we add up innings (or average over them), the total would eventually converge to a normal distribution, but most batsmans don’t have enough innings to converge. So for each batsman, the distribution of runs follows something between NB and normal. And when we combine them, we get a mixture of those hybrids. There’s no obvious reason the results should fit a simple mathematical model.</p>



<p class="wp-block-paragraph">But it turns out that they do.</p>



<h2 class="wp-block-heading">The Weibull Model</h2>



<p class="wp-block-paragraph">The Weibull distribution is not the first thing I thought of – I tried a lognormal distribution first. But a Weibull distribution fits the data really, really well. The <code>fit_scipy_dist</code> is a more general version of <code>fit_normal</code> that works with any of the SciPy distributions.</p>



<pre class="wp-block-preformatted">weibull_model = fit_scipy_dist(avg_series, weibull_min)
weibull_model.args
</pre>



<pre class="wp-block-preformatted">(1.8667199063293203, 0.9939717502596944, 22.486446489455503)
</pre>



<p class="wp-block-paragraph">Here’s the result. Again, the gray area shows the difference between the data and the model.</p>



<pre class="wp-block-preformatted">plot_fit_with_area(tail_data, weibull_model, kind="tail")
decorate(xlabel="Batting Average", title="Weibull model")
</pre>



<figure class="wp-block-image"><img loading="lazy" decoding="async" width="630" height="470" src="https://www.allendowney.com/blog/wp-content/uploads/2026/06/2c9b224b40833eea766b5d0cd386fc20182601b3ae5245f8f68f7ffca163a4cf.png" alt="_images/2c9b224b40833eea766b5d0cd386fc20182601b3ae5245f8f68f7ffca163a4cf.png" class="wp-image-1872" srcset="https://www.allendowney.com/blog/wp-content/uploads/2026/06/2c9b224b40833eea766b5d0cd386fc20182601b3ae5245f8f68f7ffca163a4cf.png 630w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/2c9b224b40833eea766b5d0cd386fc20182601b3ae5245f8f68f7ffca163a4cf-300x224.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/2c9b224b40833eea766b5d0cd386fc20182601b3ae5245f8f68f7ffca163a4cf-362x270.png 362w" sizes="auto, (max-width: 630px) 100vw, 630px" /></figure>



<p class="wp-block-paragraph">The gray area is not visible. Here’s the average error.</p>



<pre class="wp-block-preformatted">mae_weibull = average_error(avg_series, weibull_model)
mae_weibull
</pre>



<pre class="wp-block-preformatted">0.002555441381799216
</pre>



<p class="wp-block-paragraph">The average error of the Gaussian model is about 7x bigger.</p>



<pre class="wp-block-preformatted">mae_normal / mae_weibull
</pre>



<pre class="wp-block-preformatted">6.944396270223196
</pre>



<p class="wp-block-paragraph">Here’s what the tail looks like on a log-y axis.</p>



<pre class="wp-block-preformatted">tail_model = TailDist(weibull_model.sf(qs), index=qs)
</pre>



<pre class="wp-block-preformatted">plot_model_bounds(weibull_model, n=n, qs=qs, kind="tail", color="gray", alpha=0.2)
tail_model.plot(label="model")
tail_data.plot(label="data")
decorate(yscale="log", title="Weibull model (log-y scale)")
</pre>



<figure class="wp-block-image"><img loading="lazy" decoding="async" width="630" height="470" src="https://www.allendowney.com/blog/wp-content/uploads/2026/06/b42367fb1469d102aa278bd0b6f4c1a339ea7f78a8919fd2da3d27b61c2e3fc3.png" alt="_images/b42367fb1469d102aa278bd0b6f4c1a339ea7f78a8919fd2da3d27b61c2e3fc3.png" class="wp-image-1875" srcset="https://www.allendowney.com/blog/wp-content/uploads/2026/06/b42367fb1469d102aa278bd0b6f4c1a339ea7f78a8919fd2da3d27b61c2e3fc3.png 630w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/b42367fb1469d102aa278bd0b6f4c1a339ea7f78a8919fd2da3d27b61c2e3fc3-300x224.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/b42367fb1469d102aa278bd0b6f4c1a339ea7f78a8919fd2da3d27b61c2e3fc3-362x270.png 362w" sizes="auto, (max-width: 630px) 100vw, 630px" /></figure>



<p class="wp-block-paragraph">The model fits the data well – within the bounds of variability we expect for this sample size – except for Bradman, who is still an outlier.</p>



<p class="wp-block-paragraph">Again, we can compute the probability that any batter exceeds Bradman’s level:</p>



<pre class="wp-block-preformatted">one_in, in_sample = probability_of_exceeding(weibull_model, BRADMAN, n)
one_in / 1e6
</pre>



<pre class="wp-block-preformatted">7.980438255436601
</pre>



<p class="wp-block-paragraph">It’s about one per 8 million. And in a sample of 3438 batsmen, the chance that any one of them reaches that level is one per 2,322.</p>



<pre class="wp-block-preformatted">in_sample / 1e3
</pre>



<pre class="wp-block-preformatted">2.3217442928624186
</pre>



<p class="wp-block-paragraph">So Bradman is still an outlier among outliers, but not quite the statistical anomaly that he would be in a normal distribution.</p>



<p class="wp-block-paragraph">Finally, let’s think about why a Weibull distribution fits this dataset so well. In the data-generating process I suggested earlier, if a batsman has the same probability of getting out at any time, the number of runs in an inning might follow a negative binomial (NB) distribution. If we think of the run-generating process as continuous, the distribution of runs before an out would be exponential. And if we relax the assumption that the hazard rate is constant, the distribution of runs per inning would be Weibull.</p>



<p class="wp-block-paragraph">I think that’s an intriguing first step, but at best it explains the distribution of runs per inning – but not the distribution of batting averages across batsmen with, presumably, different hazard rates.</p>



<h2 class="wp-block-heading">Appendix: The Lognormal Model</h2>



<p class="wp-block-paragraph">Just for completeness, here’s the lognormal model.</p>



<pre class="wp-block-preformatted">log_series = np.log10(avg_series)
log_model = fit_normal(log_series, x0=norm.fit(log_series))
tail_log_data = TailDist.from_seq(log_series)
</pre>



<pre class="wp-block-preformatted">plot_fit_with_area(tail_log_data, log_model, kind="tail")
decorate(xlabel="log10(Batting Average)", title="Lognormal model")
</pre>



<figure class="wp-block-image"><img loading="lazy" decoding="async" width="630" height="470" src="https://www.allendowney.com/blog/wp-content/uploads/2026/06/6344bb082e43613d7cc8910ef8f34769e420045404b8d576f8382bc64b0c8bc2.png" alt="_images/6344bb082e43613d7cc8910ef8f34769e420045404b8d576f8382bc64b0c8bc2.png" class="wp-image-1870" srcset="https://www.allendowney.com/blog/wp-content/uploads/2026/06/6344bb082e43613d7cc8910ef8f34769e420045404b8d576f8382bc64b0c8bc2.png 630w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/6344bb082e43613d7cc8910ef8f34769e420045404b8d576f8382bc64b0c8bc2-300x224.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/6344bb082e43613d7cc8910ef8f34769e420045404b8d576f8382bc64b0c8bc2-362x270.png 362w" sizes="auto, (max-width: 630px) 100vw, 630px" /></figure>



<p class="wp-block-paragraph">The average error is slightly worse than the Gaussian model.</p>



<pre class="wp-block-preformatted">mae_lognormal = average_error(log_series, log_model)
mae_lognormal
</pre>



<pre class="wp-block-preformatted">0.01885918996726559
</pre>



<p class="wp-block-paragraph">And it doesn’t fit the tail well at all.</p>



<pre class="wp-block-preformatted">log_qs = np.log10(qs)
tail_model = TailDist(log_model.sf(log_qs), index=log_qs)
</pre>



<pre class="wp-block-preformatted">plot_model_bounds(log_model, n=n, qs=log_qs, kind="tail", color="gray", alpha=0.2)
tail_model.plot(label="model")
tail_log_data.plot(label="data")
decorate(xlabel="log10(Batting Average)", yscale="log", title="Lognormal model (log-y scale)")
</pre>



<figure class="wp-block-image"><img loading="lazy" decoding="async" width="630" height="470" src="https://www.allendowney.com/blog/wp-content/uploads/2026/06/5d0319f985ddb2ca9f541683b89a467e19b0e12c468c4c00b5a969111401be6b.png" alt="_images/5d0319f985ddb2ca9f541683b89a467e19b0e12c468c4c00b5a969111401be6b.png" class="wp-image-1874" srcset="https://www.allendowney.com/blog/wp-content/uploads/2026/06/5d0319f985ddb2ca9f541683b89a467e19b0e12c468c4c00b5a969111401be6b.png 630w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/5d0319f985ddb2ca9f541683b89a467e19b0e12c468c4c00b5a969111401be6b-300x224.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/5d0319f985ddb2ca9f541683b89a467e19b0e12c468c4c00b5a969111401be6b-362x270.png 362w" sizes="auto, (max-width: 630px) 100vw, 630px" /></figure>



<p class="wp-block-paragraph"><a href="https://allendowney.github.io/ProbablyOverthinkingIt/chile.html"></a></p>



<p class="wp-block-paragraph"></p>
<p>The post <a href="https://www.allendowney.com/blog/2026/06/27/greatest-goat-of-all-time/">Greatest GOAT of All Time?</a> appeared first on <a href="https://www.allendowney.com/blog">Probably Overthinking It</a>.</p>
]]></content:encoded>
            <post-id xmlns="com-wordpress:feed-additions:1">1867</post-id>
        </item>
        <item>
            <title>You Would Choose Now</title>
            <link>https://www.allendowney.com/blog/2026/06/16/you-would-choose-now/</link>
            <dc:creator><![CDATA[AllenDowney]]></dc:creator>
            <pubDate>Tue, 16 Jun 2026 20:23:37 +0000</pubDate>
            <category><![CDATA[Uncategorized]]></category>
            <category><![CDATA[age period cohort analysis]]></category>
            <category><![CDATA[bayesian statistics]]></category>
            <category><![CDATA[general social survey]]></category>
            <category><![CDATA[racism]]></category>
            <guid isPermaLink="false">https://www.allendowney.com/blog/?p=1846</guid>
            <description><![CDATA[<p>In 2016, Barack Obama gave a commencement address at Howard University, where he said If you had to choose one moment in history in which you could be born, and you didn’t know ahead of time who you were going to be — what nationality, what gender, what race, whether you’d be rich or poor, gay or straight, what faith you’d be born into — you wouldn’t choose 100 years ago. You wouldn’t choose the fifties, or the sixties, or...</p>
<p class="read-more"><a class="btn btn-default" href="https://www.allendowney.com/blog/2026/06/16/you-would-choose-now/"> Read More<span class="screen-reader-text">  Read More</span></a></p>
<p>The post <a href="https://www.allendowney.com/blog/2026/06/16/you-would-choose-now/">You Would Choose Now</a> appeared first on <a href="https://www.allendowney.com/blog">Probably Overthinking It</a>.</p>
]]></description>
            <content:encoded><![CDATA[
<p class="wp-block-paragraph">In 2016, Barack Obama gave a <a href="https://obamawhitehouse.archives.gov/the-press-office/2016/05/07/remarks-president-howard-university-commencement-ceremony/" target="_blank" rel="noreferrer noopener">commencement address at Howard University</a>, where he said</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p class="wp-block-paragraph"><strong>If you had to choose one moment in history in which you could be born</strong>, and you didn’t know ahead of time who you were going to be — what nationality, what gender, what race, whether you’d be rich or poor, gay or straight, what faith you’d be born into — you wouldn’t choose 100 years ago. You wouldn’t choose the fifties, or the sixties, or the seventies. You’d choose right now. If you had to choose a time to be, in the words of Lorraine Hansberry, “young, gifted, and black” in America, <strong>you would choose right now</strong>. [Emphasis added]</p>
</blockquote>



<p class="wp-block-paragraph">Was he right? It’s a broad claim — about racism, sexism, homophobia, and more — so I’ll focus on the last sentence: If you are young, gifted, and Black, would you choose right now?</p>



<p class="wp-block-paragraph">And I’ll focus on just one part of the answer: public opinions about race relations and civil rights. On these topics, the General Social Survey includes several questions that have been asked repeatedly — although some of them were dropped from the survey before Obama’s assertion in 2016.</p>



<p class="wp-block-paragraph">As an example, we’ll start with a question about open housing, which has been asked since 1973, and shows one of the clearest trends over time.</p>



<h2 class="wp-block-heading">Open housing</h2>



<p class="wp-block-paragraph">The GSS asks this question about open housing:</p>



<p class="wp-block-paragraph"><em>Suppose there is a community-wide vote on the general housing issue. There are two possible laws to vote on. (A) One law says that a homeowner can decide for himself whom to sell his house to, even if he prefers not to sell to someone because of their race or color. (B) The second law says that a homeowner cannot refuse to sell to someone because of their race or color. Which law would you vote for?</em></p>



<p class="wp-block-paragraph">The following figure shows the percentage of respondents who chose the first law, which allows someone selling their house to discriminate.</p>



<figure class="wp-block-image" id="racopen-time-model"><img loading="lazy" decoding="async" width="1145" height="907" src="https://www.allendowney.com/blog/wp-content/uploads/2026/06/time_model_racopen_r-8299d0a2b2cf2cdfabb273df835b9cc2.png" alt="Time series: percent voting for homeowner discretion." class="wp-image-1855" srcset="https://www.allendowney.com/blog/wp-content/uploads/2026/06/time_model_racopen_r-8299d0a2b2cf2cdfabb273df835b9cc2.png 1145w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/time_model_racopen_r-8299d0a2b2cf2cdfabb273df835b9cc2-300x238.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/time_model_racopen_r-8299d0a2b2cf2cdfabb273df835b9cc2-1024x811.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/time_model_racopen_r-8299d0a2b2cf2cdfabb273df835b9cc2-768x608.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/time_model_racopen_r-8299d0a2b2cf2cdfabb273df835b9cc2-341x270.png 341w" sizes="auto, (max-width: 1145px) 100vw, 1145px" /><figcaption class="wp-element-caption">Time series: percent voting for homeowner discretion.</figcaption></figure>



<p class="wp-block-paragraph">In 1973, about 65% favored the first law; in 2024, it had dropped below 20%. When public opinion changes as fast as that, it is usually the result of two effects:</p>



<ul class="wp-block-list">
<li>Generational replacement: as older people with receding viewpoints age out of the survey, they are replaced by young adults with rising viewpoints.</li>



<li>Changing minds: people adopt different views over the course of their lives, possibly in response to events.</li>
</ul>



<p class="wp-block-paragraph">With a repeated survey like the GSS, we can follow each generation to see how it changes over time. The following figure shows one line for each year of birth, estimating support for homeowner discretion over time.</p>



<figure class="wp-block-image" id="racopen-cohort-trajectories"><img loading="lazy" decoding="async" width="1330" height="757" src="https://www.allendowney.com/blog/wp-content/uploads/2026/06/cohort_trajectory_ra-0963fe1b4d9c9eddb280337f187dceec.png" alt="Cohort trajectories: percent voting for homeowner discretion, one line per birth year." class="wp-image-1853" srcset="https://www.allendowney.com/blog/wp-content/uploads/2026/06/cohort_trajectory_ra-0963fe1b4d9c9eddb280337f187dceec.png 1330w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/cohort_trajectory_ra-0963fe1b4d9c9eddb280337f187dceec-300x171.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/cohort_trajectory_ra-0963fe1b4d9c9eddb280337f187dceec-1024x583.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/cohort_trajectory_ra-0963fe1b4d9c9eddb280337f187dceec-768x437.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/cohort_trajectory_ra-0963fe1b4d9c9eddb280337f187dceec-474x270.png 474w" sizes="auto, (max-width: 1330px) 100vw, 1330px" /><figcaption class="wp-element-caption">Cohort trajectories: percent voting for homeowner discretion, one line per birth year.</figcaption></figure>



<p class="wp-block-paragraph">In the top left we can see that when people born in the 1900s and 1910s were interviewed in 1973, almost 80% of them said homeowners should be allowed to discriminate based on race. In the bottom right we can see that when people born in the 2000s were interviewed in 2024, fewer than 20% of them held that view. So there are big differences between generations. And, following the cohorts over time, we can see that the trend is downward — that is, toward support for open housing laws.</p>



<p class="wp-block-paragraph">From this analysis we can decompose the period effect (holding the mixture of cohorts constant) and the cohort effect (holding the mixture of survey years constant). Here’s the estimated cohort effect:</p>



<figure class="wp-block-image" id="racopen-cohort-standardized"><img loading="lazy" decoding="async" width="1145" height="907" src="https://www.allendowney.com/blog/wp-content/uploads/2026/06/cohort_standardized_-5948d7e3bac401a97f12f62053463a76.png" alt="Standardized cohort component, percent voting for homeowner discretion." class="wp-image-1854" srcset="https://www.allendowney.com/blog/wp-content/uploads/2026/06/cohort_standardized_-5948d7e3bac401a97f12f62053463a76.png 1145w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/cohort_standardized_-5948d7e3bac401a97f12f62053463a76-300x238.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/cohort_standardized_-5948d7e3bac401a97f12f62053463a76-1024x811.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/cohort_standardized_-5948d7e3bac401a97f12f62053463a76-768x608.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/cohort_standardized_-5948d7e3bac401a97f12f62053463a76-341x270.png 341w" sizes="auto, (max-width: 1145px) 100vw, 1145px" /><figcaption class="wp-element-caption">Standardized cohort component, percent voting for homeowner discretion.</figcaption></figure>



<p class="wp-block-paragraph">Looking at differences between cohorts, the biggest changes happened between people born in 1900 and 1960. Since then, the cohort effect is essentially flat.</p>



<p class="wp-block-paragraph">And here’s the period effect after factoring out the cohort effect.</p>



<figure class="wp-block-image" id="racopen-period-standardized"><img loading="lazy" decoding="async" width="1145" height="907" src="https://www.allendowney.com/blog/wp-content/uploads/2026/06/time_standardized_ra-97800a69f320b39488f4fa53500fbcd7.png" alt="Standardized period component, percent voting for homeowner discretion." class="wp-image-1856" srcset="https://www.allendowney.com/blog/wp-content/uploads/2026/06/time_standardized_ra-97800a69f320b39488f4fa53500fbcd7.png 1145w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/time_standardized_ra-97800a69f320b39488f4fa53500fbcd7-300x238.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/time_standardized_ra-97800a69f320b39488f4fa53500fbcd7-1024x811.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/time_standardized_ra-97800a69f320b39488f4fa53500fbcd7-768x608.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/time_standardized_ra-97800a69f320b39488f4fa53500fbcd7-341x270.png 341w" sizes="auto, (max-width: 1145px) 100vw, 1145px" /><figcaption class="wp-element-caption">Standardized period component, percent voting for homeowner discretion.</figcaption></figure>



<p class="wp-block-paragraph">The trend is consistently downward, with a possible plateau between 1995 and 2005. If you are young, Black, and looking for a house, these trends are good news. Let’s see if the other questions show the same patterns.</p>



<h2 class="wp-block-heading">Race relations and civil rights</h2>



<p class="wp-block-paragraph">Here are other questions related to race relations and civil rights — I selected the ones that were asked repeatedly over the widest intervals.</p>



<p class="wp-block-paragraph"><strong>Affirmative action:</strong></p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p class="wp-block-paragraph">Some people say that because of past discrimination, Black people should be given preference in hiring and promotion. Others say that such preference in hiring and promotion of Black people is wrong because it discriminates against whites. What about your opinion — are you for or against preferential hiring and promotion of Black people?</p>
</blockquote>



<p class="wp-block-paragraph"><strong>Segregation:</strong></p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p class="wp-block-paragraph">Do you agree or disagree with the following statement: African-Americans shouldn’t push themselves where they’re not wanted.</p>
</blockquote>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p class="wp-block-paragraph">Do you agree or disagree with the following statement: White people have a right to keep African-Americans out of their neighborhoods if they want to, and African-Americans should respect that right.</p>
</blockquote>



<p class="wp-block-paragraph"><strong>Interracial marriage:</strong></p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p class="wp-block-paragraph">Do you think there should be laws against marriages between African-Americans and whites?</p>
</blockquote>



<p class="wp-block-paragraph"><strong>Black presidential candidate:</strong></p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p class="wp-block-paragraph">If your party nominated an African-American for President, would you vote for him if he were qualified for the job?</p>
</blockquote>



<p class="wp-block-paragraph">If some of these questions seem dated, remember that they were written in the 1970s. The wording of the questions is mostly unchanged, except that the original use of “Negroes” was updated to “African-American” and then updated again to “Black”.</p>



<p class="wp-block-paragraph">Now let’s see how the responses have changed. To make the results easier to compare, for each question we’ll look at responses associated with a more racist viewpoint. So we’ll track:</p>



<ul class="wp-block-list">
<li>Support for segregation</li>



<li>Opposition to interracial marriage</li>



<li>Unwillingness to vote for a Black candidate</li>



<li>Opposition to affirmative action (with the acknowledgement that this view is not necessarily racist)</li>
</ul>



<p class="wp-block-paragraph">The following figure shows the percentage of respondents with these views, plotted over time.</p>



<figure class="wp-block-image" id="race-other-time-model"><img loading="lazy" decoding="async" width="1145" height="766" src="https://www.allendowney.com/blog/wp-content/uploads/2026/06/section5_race_other_-229a1c1aae9b3bbb655c12076d848de4.png" alt="Race relations and policy — time series." class="wp-image-1858" srcset="https://www.allendowney.com/blog/wp-content/uploads/2026/06/section5_race_other_-229a1c1aae9b3bbb655c12076d848de4.png 1145w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/section5_race_other_-229a1c1aae9b3bbb655c12076d848de4-300x201.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/section5_race_other_-229a1c1aae9b3bbb655c12076d848de4-1024x685.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/section5_race_other_-229a1c1aae9b3bbb655c12076d848de4-768x514.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/section5_race_other_-229a1c1aae9b3bbb655c12076d848de4-404x270.png 404w" sizes="auto, (max-width: 1145px) 100vw, 1145px" /><figcaption class="wp-element-caption">Race relations and policy — time series.</figcaption></figure>



<p class="wp-block-paragraph">All of these views have declined over time, although opposition to affirmative action is still high.</p>



<p class="wp-block-paragraph">For three of the questions, support for the more racist responses had fallen below 15% when they were dropped from the survey. For example, in 1973 more than 40% agreed that “White people have a right to keep Negroes out of their neighborhoods if they want to, and Negroes should respect that right.” By 2002, it was below 10% — and in 2026 I think a lot of people wouldn’t read that sentence out loud, much less believe it.</p>



<p class="wp-block-paragraph">One reason the GSS drops questions like these is that statistical estimates are less precise when an observed proportion is far from 50% in either direction. For example, in 2010, fewer than 4% of respondents said they were unwilling to vote for a Black presidential candidate. At that level, even a low error rate becomes a problem; for example, if 1% of respondents misunderstand the question or record the wrong response, they would account for 1 out of 4 of the negative responses.</p>



<p class="wp-block-paragraph">Another reason is that a question that was relevant when it was added to the survey might seem dated a few decades later, might introduce a framing or mindset that influences responses, and might even antagonize respondents. For example, if you agreed to take a survey and they were still asking about interracial marriage in 2026, it might make you wonder about the worldview of the survey writers.</p>



<p class="wp-block-paragraph">Now we’ll decompose these trends into cohort and period effects. The following figure shows the cohort effects.</p>



<figure class="wp-block-image" id="race-other-cohort"><img loading="lazy" decoding="async" width="1145" height="766" src="https://www.allendowney.com/blog/wp-content/uploads/2026/06/section5_race_other_-6cdc00b18309e16a8f72b0e5982469d4.png" alt="Race relations and policy — standardized cohort component." class="wp-image-1857" srcset="https://www.allendowney.com/blog/wp-content/uploads/2026/06/section5_race_other_-6cdc00b18309e16a8f72b0e5982469d4.png 1145w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/section5_race_other_-6cdc00b18309e16a8f72b0e5982469d4-300x201.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/section5_race_other_-6cdc00b18309e16a8f72b0e5982469d4-1024x685.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/section5_race_other_-6cdc00b18309e16a8f72b0e5982469d4-768x514.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/section5_race_other_-6cdc00b18309e16a8f72b0e5982469d4-404x270.png 404w" sizes="auto, (max-width: 1145px) 100vw, 1145px" /><figcaption class="wp-element-caption">Race relations and policy — standardized cohort component.</figcaption></figure>



<p class="wp-block-paragraph">On support for segregation and opposition to interracial marriage, the cohort effect is consistently downward — that is, each generation is less likely to support these views.</p>



<p class="wp-block-paragraph">Opposition to affirmative action was almost unchanged between cohorts born in the 1940s, 1950s, 1960s, and 1970s, but since then it has declined steeply.</p>



<p class="wp-block-paragraph">Unwillingness to vote for a Black candidate declined earlier and reached a minimum with the Baby Boomers (born 1946 to 1964). It might have increased after that, but the increase is within the range of statistical uncertainty.</p>



<p class="wp-block-paragraph">Now here’s the period effect after controlling for changes in the cohort mix.</p>



<figure class="wp-block-image" id="race-other-period"><img loading="lazy" decoding="async" width="1145" height="766" src="https://www.allendowney.com/blog/wp-content/uploads/2026/06/section5_race_other_-c59e1a5e05295e6a8a45b7f42e3e5ccf.png" alt="Race relations and policy — standardized period component." class="wp-image-1852" srcset="https://www.allendowney.com/blog/wp-content/uploads/2026/06/section5_race_other_-c59e1a5e05295e6a8a45b7f42e3e5ccf.png 1145w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/section5_race_other_-c59e1a5e05295e6a8a45b7f42e3e5ccf-300x201.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/section5_race_other_-c59e1a5e05295e6a8a45b7f42e3e5ccf-1024x685.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/section5_race_other_-c59e1a5e05295e6a8a45b7f42e3e5ccf-768x514.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/section5_race_other_-c59e1a5e05295e6a8a45b7f42e3e5ccf-404x270.png 404w" sizes="auto, (max-width: 1145px) 100vw, 1145px" /><figcaption class="wp-element-caption">Race relations and policy — standardized period component.</figcaption></figure>



<p class="wp-block-paragraph">The trends are all consistently downward, which means that the changes we see in the time series are not just generational replacement — they are also changing minds.</p>



<h2 class="wp-block-heading">Unequal Outcomes</h2>



<p class="wp-block-paragraph">In 1977, the GSS added four questions starting with this preamble:</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p class="wp-block-paragraph">On the average, African-Americans have worse jobs, income, and housing than white people. Do you think these differences are &#8230;</p>
</blockquote>



<p class="wp-block-paragraph">Then they ask:</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<ol start="1" class="wp-block-list">
<li>&#8230; mainly due to discrimination?</li>



<li>&#8230; because most African-Americans have less in-born ability to learn?</li>



<li>&#8230; because most African-Americans don’t have the chance for education that it takes to rise out of poverty?</li>



<li>&#8230; because most African-Americans just don’t have the motivation or will power to pull themselves up out of poverty?</li>
</ol>
</blockquote>



<p class="wp-block-paragraph">Respondents can answer yes or no to each question, so they could affirm all four, or none, or any combination. The following figure shows the percentage affirming each explanation.</p>



<figure class="wp-block-image" id="racdif-time-model"><img loading="lazy" decoding="async" width="1133" height="766" src="https://www.allendowney.com/blog/wp-content/uploads/2026/06/section5_racdif_batt-5d0ecac9781b91f8a4be1c96911e4362.png" alt="Racial inequality explanations — time-series." class="wp-image-1860" srcset="https://www.allendowney.com/blog/wp-content/uploads/2026/06/section5_racdif_batt-5d0ecac9781b91f8a4be1c96911e4362.png 1133w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/section5_racdif_batt-5d0ecac9781b91f8a4be1c96911e4362-300x203.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/section5_racdif_batt-5d0ecac9781b91f8a4be1c96911e4362-1024x692.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/section5_racdif_batt-5d0ecac9781b91f8a4be1c96911e4362-768x519.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/section5_racdif_batt-5d0ecac9781b91f8a4be1c96911e4362-399x270.png 399w" sizes="auto, (max-width: 1133px) 100vw, 1133px" /><figcaption class="wp-element-caption">Racial inequality explanations — time-series.</figcaption></figure>



<p class="wp-block-paragraph">Over time, respondents are</p>



<ul class="wp-block-list">
<li>Less likely to accept lack of motivation or in-born ability as explanations, and</li>



<li>More likely to accept discrimination.</li>
</ul>



<p class="wp-block-paragraph">Belief in educational opportunity as an explanation was high in the 1980s, declined in the 1990s, and has increased since.</p>



<p class="wp-block-paragraph">The following figure shows how the responses differ between generations.</p>



<figure class="wp-block-image" id="racdif-cohort"><img loading="lazy" decoding="async" width="1133" height="766" src="https://www.allendowney.com/blog/wp-content/uploads/2026/06/section5_racdif_batt-526456048bc907b188c3c6d57245742f.png" alt="Racial inequality explanations — standardized cohort component." class="wp-image-1859" srcset="https://www.allendowney.com/blog/wp-content/uploads/2026/06/section5_racdif_batt-526456048bc907b188c3c6d57245742f.png 1133w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/section5_racdif_batt-526456048bc907b188c3c6d57245742f-300x203.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/section5_racdif_batt-526456048bc907b188c3c6d57245742f-1024x692.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/section5_racdif_batt-526456048bc907b188c3c6d57245742f-768x519.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/section5_racdif_batt-526456048bc907b188c3c6d57245742f-399x270.png 399w" sizes="auto, (max-width: 1133px) 100vw, 1133px" /><figcaption class="wp-element-caption">Racial inequality explanations — standardized cohort component.</figcaption></figure>



<p class="wp-block-paragraph">The picture here is a little more complicated, but in general, more recent cohorts are more likely to endorse discrimination and educational opportunity, and less likely to endorse motivation and innate ability — although it looks like cohorts born after 1990 are increasingly likely to believe in innate differences.</p>



<p class="wp-block-paragraph">The following figure shows the period effects.</p>



<figure class="wp-block-image" id="racdif-period"><img loading="lazy" decoding="async" width="1133" height="766" src="https://www.allendowney.com/blog/wp-content/uploads/2026/06/section5_racdif_batt-966107004e9305ca4625379ef979a7f2.png" alt="Racial inequality explanations — standardized period component." class="wp-image-1851" srcset="https://www.allendowney.com/blog/wp-content/uploads/2026/06/section5_racdif_batt-966107004e9305ca4625379ef979a7f2.png 1133w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/section5_racdif_batt-966107004e9305ca4625379ef979a7f2-300x203.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/section5_racdif_batt-966107004e9305ca4625379ef979a7f2-1024x692.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/section5_racdif_batt-966107004e9305ca4625379ef979a7f2-768x519.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/section5_racdif_batt-966107004e9305ca4625379ef979a7f2-399x270.png 399w" sizes="auto, (max-width: 1133px) 100vw, 1133px" /><figcaption class="wp-element-caption">Racial inequality explanations — standardized period component.</figcaption></figure>



<p class="wp-block-paragraph">The period effects have the same shapes as the original time series, but the magnitudes of the changes are a little smaller after we factor out the cohort effects. So again, the changes we see over time are a combination of generational replacement and changed minds.</p>



<h2 class="wp-block-heading">What about now?</h2>



<p class="wp-block-paragraph">So when Obama said, “You wouldn’t choose the fifties, or the sixties, or the seventies. You’d choose right now,” was he right?</p>



<p class="wp-block-paragraph">If the prevalence of racist views is one of the factors you would consider, the choice is clear: public opinion was less racist in 2016 than it was in the 1970s. We don’t have GSS data from the fifties and sixties, but we have data from people born in the 1900s and 1910s, and it is equally clear: younger cohorts are less racist than older cohorts.</p>



<p class="wp-block-paragraph">Of course, these are survey results, and people don’t always say what they believe. But I think it’s likely that the changes we see in the responses reflect true changes in beliefs. For example, as opposition to interracial marriage has declined, rates of interracial marriage have in fact increased. And given that presidential elections tend to be tightly contested, if many people were unwilling to vote for a Black candidate, Obama would not have been elected (and might not have spoken at Howard University).</p>



<p class="wp-block-paragraph">But even if we conclude that Obama was right in 2016, would he still be right in 2024? In the most recent data, it looks like fewer people believe that unequal outcomes are “mainly due to discrimination”. And it looks like the youngest respondents are more likely to believe in innate racial differences, compared to previous generations. </p>



<p class="wp-block-paragraph">Because some of the questions where we see the biggest changes were dropped from the survey, we can’t rule out the possibility that those trends have reversed. But other surveys can fill in the blanks. For example, <a href="https://news.gallup.com/poll/354638/approval-interracial-marriage-new-high.aspx" target="_blank" rel="noreferrer noopener">Gallup reported</a> that opposition to interracial marriage dropped to 4% in 2021, less than the 12% seen in the GSS in 2002. And when <a href="https://news.gallup.com/poll/257495/americans-views-voting-candidates-various-characteristics.aspx" target="_blank" rel="noreferrer noopener">they asked</a> if people would vote for a Black presidential candidate in 2019, about 3% said no, slightly less than the proportion in the GSS in 2010. So I don&#8217;t think these trends reversed when the GSS stopped looking.</p>



<p class="wp-block-paragraph">Even if racism is in decline, concern about racism is not. Since 1948, Gallup has asked “What do you think is the most important problem facing this country today?” The following figure shows the percentage who said racism or a related term:</p>



<figure class="wp-block-image" id="gallup-racism-important-problem"><img loading="lazy" decoding="async" width="720" height="409" src="https://www.allendowney.com/blog/wp-content/uploads/2026/06/0gwa4e54wk-jnwac6ieq-8e5904aab68f78f3da3b9a18288e7394.png" alt="Percent naming racism (or a related term) as the most important problem facing the country (Gallup)." class="wp-image-1850" srcset="https://www.allendowney.com/blog/wp-content/uploads/2026/06/0gwa4e54wk-jnwac6ieq-8e5904aab68f78f3da3b9a18288e7394.png 720w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/0gwa4e54wk-jnwac6ieq-8e5904aab68f78f3da3b9a18288e7394-300x170.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/0gwa4e54wk-jnwac6ieq-8e5904aab68f78f3da3b9a18288e7394-475x270.png 475w" sizes="auto, (max-width: 720px) 100vw, 720px" /><figcaption class="wp-element-caption">Percent naming racism (or a related term) as the most important problem facing the country (Gallup). Reproduced from Gallup, &#8220;<a href="https://news.gallup.com/poll/350165/heightened-racial-concern-clear-legacy-floyd-death.aspx">Heightened Racial Concern a Clear Legacy of Floyd&#8217;s Death</a>&#8220;, May 2021.</figcaption></figure>



<p class="wp-block-paragraph">Several of the peaks align with notable historical events, including:</p>



<figure class="wp-block-table"><table><tbody><tr><th>Year</th><th>Peak</th><th>Possible events</th></tr><tr><td>1958</td><td>29%</td><td>Aftermath of the <a href="https://en.wikipedia.org/wiki/Little_Rock_Nine" target="_blank" rel="noreferrer noopener">Little Rock Crisis</a> in 1957 (federal troops escorting Black students into a desegregated school in Arkansas).</td></tr><tr><td>1967</td><td>52%</td><td>Urban riots and racial unrest, especially in <a href="https://en.wikipedia.org/wiki/1967_Detroit_riot" target="_blank" rel="noreferrer noopener">Detroit</a> and <a href="https://en.wikipedia.org/wiki/1967_Newark_riots" target="_blank" rel="noreferrer noopener">Newark</a>.</td></tr><tr><td>1968</td><td>35%</td><td>Assassination of Martin Luther King Jr. followed by nationwide riots in more than 100 cities.</td></tr><tr><td>1992</td><td>15%</td><td><a href="https://en.wikipedia.org/wiki/1992_Los_Angeles_riots">1992 Los Angeles Riots</a> after the acquittal of officers filmed beating Rodney King.</td></tr><tr><td>2015–2017</td><td>10–18%</td><td>Multiple events, possibly including the <a href="https://en.wikipedia.org/wiki/Charleston_church_shooting" target="_blank" rel="noreferrer noopener">Charleston church shooting</a> in 2015, the killing of <a href="https://en.wikipedia.org/wiki/Killing_of_Philando_Castile" target="_blank" rel="noreferrer noopener">Philando Castile</a> in 2016, and a <a href="https://en.wikipedia.org/wiki/Unite_the_Right_rally" target="_blank" rel="noreferrer noopener">white supremacist rally in Charlottesville</a> in 2017.</td></tr><tr><td>2020–2021</td><td>19%</td><td>Killing of George Floyd in May 2020, nationwide protests, and intense discussion of systemic racism.</td></tr></tbody></table></figure>



<p class="wp-block-paragraph">The salience of racism as a national issue seems be driven by events, and media coverage, more than by the prevalence of racist attitudes. That’s not ideal — the limited resource of attention should go where it is most needed — but it might not be all bad. Even if racist beliefs are rarer than they used to be, they are not gone. I’m glad if only 3% of Americans refuse to vote for a Black candidate, but that’s not zero, and in a close election, it could be a deciding factor.</p>



<p class="wp-block-paragraph">So we should be aware of what’s going on — and we should keep an eye on the trends that have stalled or reversed. But we should not ignore the consistent decline of racist attitudes in the last fifty years. Based on the data, if I had to choose when to be born, not knowing who I was going to be, I would choose right now.</p>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<p class="wp-block-paragraph">Note: The scenario Obama posed is a nod to the <a href="https://en.wikipedia.org/wiki/Original_position" target="_blank" rel="noreferrer noopener">veil of ignorance</a>, a hypothetical used by moral philosopher John Rawls to explore basic principles of justice.</p>



<p class="wp-block-paragraph"></p>
<p>The post <a href="https://www.allendowney.com/blog/2026/06/16/you-would-choose-now/">You Would Choose Now</a> appeared first on <a href="https://www.allendowney.com/blog">Probably Overthinking It</a>.</p>
]]></content:encoded>
            <post-id xmlns="com-wordpress:feed-additions:1">1846</post-id>
        </item>
        <item>
            <title>Who Is More Trusting: Liberals or Conservatives?</title>
            <link>https://www.allendowney.com/blog/2026/06/12/who-is-more-trusting-liberals-or-conservatives/</link>
            <dc:creator><![CDATA[AllenDowney]]></dc:creator>
            <pubDate>Fri, 12 Jun 2026 13:40:20 +0000</pubDate>
            <category><![CDATA[Uncategorized]]></category>
            <category><![CDATA[age period cohort analysis]]></category>
            <category><![CDATA[bayesian statistics]]></category>
            <category><![CDATA[general social survey]]></category>
            <category><![CDATA[political alignment]]></category>
            <guid isPermaLink="false">https://www.allendowney.com/blog/?p=1836</guid>
            <description><![CDATA[<p>When I go crawling around in data from the General Social Survey, sooner or later I run into Ryan Burge, who writes Graphs About Religion. In his most recent post, he wrote about changes in interpersonal trust, as measured by this GSS question: Generally speaking, would you say that most people can be trusted or that you can’t be too careful in dealing with people? Among other analyses, he looks at how the responses relate to self-identification as liberal, conservative,...</p>
<p class="read-more"><a class="btn btn-default" href="https://www.allendowney.com/blog/2026/06/12/who-is-more-trusting-liberals-or-conservatives/"> Read More<span class="screen-reader-text">  Read More</span></a></p>
<p>The post <a href="https://www.allendowney.com/blog/2026/06/12/who-is-more-trusting-liberals-or-conservatives/">Who Is More Trusting: Liberals or Conservatives?</a> appeared first on <a href="https://www.allendowney.com/blog">Probably Overthinking It</a>.</p>
]]></description>
            <content:encoded><![CDATA[
<p class="wp-block-paragraph">When I go crawling around in data from the General Social Survey, sooner or later I run into Ryan Burge, who writes <em>Graphs About Religion</em>. In <a href="https://www.graphsaboutreligion.com/p/gen-z-doesnt-trust-anyone" target="_blank" rel="noreferrer noopener">his most recent post</a>, he wrote about changes in interpersonal trust, as measured by this GSS question:</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p class="wp-block-paragraph">Generally speaking, would you say that most people can be trusted or that you can’t be too careful in dealing with people?</p>
</blockquote>



<p class="wp-block-paragraph">Among other analyses, he looks at how the responses relate to self-identification as liberal, conservative, or moderate. The results are &#8230; complicated. Ryan writes:</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p class="wp-block-paragraph">Among older Americans who identify as liberal, they are more likely to trust other people. Among Gen Z liberals, it’s exactly the opposite.</p>
</blockquote>



<p class="wp-block-paragraph">To explain why older liberals are more trusting, Ryan suggests:</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p class="wp-block-paragraph">Liberalism is based on collectivism. It embraces the idea that “together, we can achieve more.” Things like universal healthcare rely on a sense of trust among large groups of people.</p>
</blockquote>



<p class="wp-block-paragraph">But if that’s true, why does the effect go in the opposite direction with Gen Z? Ryan speculates:</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p class="wp-block-paragraph">Well, maybe liberals feel very slighted by the fact that Donald Trump has been on the ballot for president in every election in which they’ve been eligible to vote, and he’s won twice. Or it could be that they are more impacted by the cynicism of the internet than conservatives? Or maybe it’s because they report higher rates of depression and anxiety than the rest of the ideological spectrum?</p>
</blockquote>



<p class="wp-block-paragraph">As it happened, I looked at the same GSS variable in <a href="https://www.allendowney.com/blog/2026/04/03/trust-and-well-being/" target="_blank" rel="noreferrer noopener">a recent article</a>. But I didn’t do the breakdown by political ideology, so let’s do that now.</p>



<h3 class="wp-block-heading">The Story So Far</h3>



<p class="wp-block-paragraph">First, here’s a recap of what we saw in the previous post, with the whole GSS sample. The following figure shows the percentage of respondents who said “most people can be trusted.”</p>



<figure class="wp-block-image" id="trust-recap-time-series"><img loading="lazy" decoding="async" width="1133" height="826" src="https://www.allendowney.com/blog/wp-content/uploads/2026/06/time_model_trust_rw2-25d010d905ca562e299e59b0e89d1713.png" alt="Time series: percent saying most people can be trusted (all respondents)" class="wp-image-1839" srcset="https://www.allendowney.com/blog/wp-content/uploads/2026/06/time_model_trust_rw2-25d010d905ca562e299e59b0e89d1713.png 1133w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/time_model_trust_rw2-25d010d905ca562e299e59b0e89d1713-300x219.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/time_model_trust_rw2-25d010d905ca562e299e59b0e89d1713-1024x747.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/time_model_trust_rw2-25d010d905ca562e299e59b0e89d1713-768x560.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/time_model_trust_rw2-25d010d905ca562e299e59b0e89d1713-370x270.png 370w" sizes="auto, (max-width: 1133px) 100vw, 1133px" /><figcaption class="wp-element-caption">Time series: percent saying most people can be trusted (all respondents)</figcaption></figure>



<p class="wp-block-paragraph">Interpersonal trust has declined consistently since the survey started in 1972. In the previous post, I decomposed this trend into cohort and period effects. Here’s the estimated cohort effect:</p>



<figure class="wp-block-image" id="trust-recap-cohort-effect"><img loading="lazy" decoding="async" width="1133" height="790" src="https://www.allendowney.com/blog/wp-content/uploads/2026/06/cohort_standardized_-83920254db4863278c92f3cee792510c.png" alt="Standardized cohort effect with fixed time mix, percent saying most people can be trusted (all respondents)" class="wp-image-1840" srcset="https://www.allendowney.com/blog/wp-content/uploads/2026/06/cohort_standardized_-83920254db4863278c92f3cee792510c.png 1133w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/cohort_standardized_-83920254db4863278c92f3cee792510c-300x209.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/cohort_standardized_-83920254db4863278c92f3cee792510c-1024x714.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/cohort_standardized_-83920254db4863278c92f3cee792510c-768x535.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/cohort_standardized_-83920254db4863278c92f3cee792510c-387x270.png 387w" sizes="auto, (max-width: 1133px) 100vw, 1133px" /><figcaption class="wp-element-caption">Standardized cohort effect with fixed time mix, percent saying most people can be trusted (all respondents)</figcaption></figure>



<p class="wp-block-paragraph">The level of trust increased between the cohorts born in the 1900s through the 1940s, and then started a steep decline — more than 30 percentage points over 60 years. And here’s the remaining period effect, after factoring out the cohort effect.</p>



<figure class="wp-block-image" id="trust-recap-period-effect"><img loading="lazy" decoding="async" width="1133" height="790" src="https://www.allendowney.com/blog/wp-content/uploads/2026/06/time_standardized_tr-2f029b683d9ad86a39a536e4f95c8c0f.png" alt="Standardized time trend with fixed cohort mix, percent saying most people can be trusted (all respondents)" class="wp-image-1841" srcset="https://www.allendowney.com/blog/wp-content/uploads/2026/06/time_standardized_tr-2f029b683d9ad86a39a536e4f95c8c0f.png 1133w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/time_standardized_tr-2f029b683d9ad86a39a536e4f95c8c0f-300x209.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/time_standardized_tr-2f029b683d9ad86a39a536e4f95c8c0f-1024x714.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/time_standardized_tr-2f029b683d9ad86a39a536e4f95c8c0f-768x535.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/time_standardized_tr-2f029b683d9ad86a39a536e4f95c8c0f-387x270.png 387w" sizes="auto, (max-width: 1133px) 100vw, 1133px" /><figcaption class="wp-element-caption">Standardized time trend with fixed cohort mix, percent saying most people can be trusted (all respondents)</figcaption></figure>



<p class="wp-block-paragraph">There is almost no period effect in the full sample.</p>



<h3 class="wp-block-heading">Breakdown by Politics</h3>



<p class="wp-block-paragraph">Now let’s get to the question we started with:</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p class="wp-block-paragraph">Who is more trusting: liberals or conservatives?</p>
</blockquote>



<p class="wp-block-paragraph">Here’s the time series, broken down by ideology.</p>



<figure class="wp-block-image" id="trust-polviews-time-series"><img loading="lazy" decoding="async" width="1133" height="826" src="https://www.allendowney.com/blog/wp-content/uploads/2026/06/composed_trust_polvi-2191f28230cc6036ffa53c7c589783eb.png" alt="Time series: percent saying most people can be trusted, by 3-point political views" class="wp-image-1842" srcset="https://www.allendowney.com/blog/wp-content/uploads/2026/06/composed_trust_polvi-2191f28230cc6036ffa53c7c589783eb.png 1133w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/composed_trust_polvi-2191f28230cc6036ffa53c7c589783eb-300x219.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/composed_trust_polvi-2191f28230cc6036ffa53c7c589783eb-1024x747.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/composed_trust_polvi-2191f28230cc6036ffa53c7c589783eb-768x560.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/composed_trust_polvi-2191f28230cc6036ffa53c7c589783eb-370x270.png 370w" sizes="auto, (max-width: 1133px) 100vw, 1133px" /><figcaption class="wp-element-caption">Time series: percent saying most people can be trusted, by 3-point political views</figcaption></figure>



<p class="wp-block-paragraph">Until recently, there was not much difference: liberals and conservatives were about equally likely to say people can be trusted — both a little more trusting than moderates (who are, maybe, too distrustful to join a team).</p>



<p class="wp-block-paragraph">Since the 2000s, liberals and conservatives have diverged, and now liberals are more trusting, by about 5 percentage points. But all three groups are still declining.</p>



<p class="wp-block-paragraph">Now let’s decompose those trends into cohort and period effects. Here are the cohort effects for the three groups.</p>



<figure class="wp-block-image" id="trust-polviews-cohort-effect"><img loading="lazy" decoding="async" width="1133" height="826" src="https://www.allendowney.com/blog/wp-content/uploads/2026/06/composed_trust_polvi-5e9990b3c69d8128602000b1b4e77eac.png" alt="Standardized cohort effect for generalized trust by political views (uniform weights on survey years within group)" class="wp-image-1844" srcset="https://www.allendowney.com/blog/wp-content/uploads/2026/06/composed_trust_polvi-5e9990b3c69d8128602000b1b4e77eac.png 1133w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/composed_trust_polvi-5e9990b3c69d8128602000b1b4e77eac-300x219.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/composed_trust_polvi-5e9990b3c69d8128602000b1b4e77eac-1024x747.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/composed_trust_polvi-5e9990b3c69d8128602000b1b4e77eac-768x560.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/composed_trust_polvi-5e9990b3c69d8128602000b1b4e77eac-370x270.png 370w" sizes="auto, (max-width: 1133px) 100vw, 1133px" /><figcaption class="wp-element-caption">Standardized cohort effect for generalized trust by political views (uniform weights on survey years within group)</figcaption></figure>



<p class="wp-block-paragraph">Here we can see what Ryan reported: in most generations, liberals are more trusting than conservatives; it’s only in the most recent generation that it goes the other way. The crossover happens among people born in the mid-1990s, close to the conventional beginning of Gen Z (born 1997 to 2012).</p>



<p class="wp-block-paragraph">And here’s the period effect for the three groups.</p>



<figure class="wp-block-image" id="trust-polviews-period-effect"><img loading="lazy" decoding="async" width="1133" height="826" src="https://www.allendowney.com/blog/wp-content/uploads/2026/06/composed_trust_polvi-e873e0d24bfb4397559e322760556ee6.png" alt="Standardized period trend for generalized trust by political views (fixed within-group cohort weights)" class="wp-image-1843" srcset="https://www.allendowney.com/blog/wp-content/uploads/2026/06/composed_trust_polvi-e873e0d24bfb4397559e322760556ee6.png 1133w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/composed_trust_polvi-e873e0d24bfb4397559e322760556ee6-300x219.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/composed_trust_polvi-e873e0d24bfb4397559e322760556ee6-1024x747.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/composed_trust_polvi-e873e0d24bfb4397559e322760556ee6-768x560.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/composed_trust_polvi-e873e0d24bfb4397559e322760556ee6-370x270.png 370w" sizes="auto, (max-width: 1133px) 100vw, 1133px" /><figcaption class="wp-element-caption">Standardized period trend for generalized trust by political views (fixed within-group cohort weights)</figcaption></figure>



<p class="wp-block-paragraph">For conservatives and moderates, the period effect is generally downward, although small. For liberals, it’s the other way around, generally increasing since about 2000.</p>



<p class="wp-block-paragraph">The cohort-period decomposition provides some hints about what’s going on:</p>



<ul class="wp-block-list">
<li>Among conservatives and moderates, the cohort and period effects are both downward, so they contributed to a steeper decline over time.</li>



<li>Among liberals, the cohort effect is also downward, but the period effect is upward, so the period effect mitigates the cohort effect.</li>
</ul>



<p class="wp-block-paragraph">To explain the cohort effect, I think Ryan’s suggestions are plausible. People born after 1995 have grown up during a discouraging time to be a liberal. Recent developments contrary to the liberal worldview include</p>



<ul class="wp-block-list">
<li>The rise of populist and nationalist movements in several countries, along with democratic backsliding or erosion of liberal norms.</li>



<li>Slow progress or reversal on climate change.</li>



<li>Increasing distrust of experts, journalists, scientists, and public institutions.</li>



<li>Declining confidence in institutions such as Congress, the media, and organized religion.</li>



<li>A series of conservative Supreme Court decisions, most notably the overturning of long-established abortion rights protections in 2022.</li>
</ul>



<p class="wp-block-paragraph">Negativity bias in the media — especially social media — is probably a contributing factor. And going to school during the pandemic probably didn’t help.</p>



<p class="wp-block-paragraph">But what about that period effect — can we think of reasons liberals would be more trusting, starting around 2005? If the recent cohort effect among young liberals is driven by the Trump era (at least in part), maybe the period effect was driven by events and trends of the Obama era that were aligned with the liberal worldview:</p>



<ul class="wp-block-list">
<li>Perception that the country was becoming more socially inclusive and diverse.</li>



<li>Greater visibility and acceptance of LGBTQ people, and growing support for same-sex marriage, culminating in nationwide legalization in 2015.</li>



<li>Expansion of health insurance coverage through the Patient Protection and Affordable Care Act.</li>
</ul>



<p class="wp-block-paragraph">And falling crime rates from the 1990s through the 2010s might have contributed more directly to increasing interpersonal trust.</p>



<p class="wp-block-paragraph">Of course these explanations are speculative, so let’s get back to what’s supported by the data:</p>



<ul class="wp-block-list">
<li>Since the 1970s, interpersonal trust has declined consistently in all three groups (liberal, conservative, and moderate).</li>



<li>Before 2005, liberals and conservatives were about equally trusting; since then, the decline among liberals has slowed, so they are now the most trusting group.</li>



<li>Among conservatives and moderates, the cohort and period effects are both downward, so they contribute to steeper decline.</li>



<li>Among liberals, the cohort effect is steeply downward in the most recent cohorts, but the decline is mitigated by a positive period effect.</li>
</ul>



<p class="wp-block-paragraph">For now, liberals are the most trusting group, but if the cohort effect persists, they might not be for long.</p>



<p class="wp-block-paragraph"></p>
<p>The post <a href="https://www.allendowney.com/blog/2026/06/12/who-is-more-trusting-liberals-or-conservatives/">Who Is More Trusting: Liberals or Conservatives?</a> appeared first on <a href="https://www.allendowney.com/blog">Probably Overthinking It</a>.</p>
]]></content:encoded>
            <post-id xmlns="com-wordpress:feed-additions:1">1836</post-id>
        </item>
        <item>
            <title>The Frog Puzzle</title>
            <link>https://www.allendowney.com/blog/2026/06/04/the-frog-puzzle/</link>
            <dc:creator><![CDATA[AllenDowney]]></dc:creator>
            <pubDate>Thu, 04 Jun 2026 19:13:19 +0000</pubDate>
            <category><![CDATA[Uncategorized]]></category>
            <category><![CDATA[Bayes&#039;s Theorem]]></category>
            <category><![CDATA[Frog Puzzle]]></category>
            <category><![CDATA[probability]]></category>
            <guid isPermaLink="false">https://www.allendowney.com/blog/?p=1828</guid>
            <description><![CDATA[<p>Here’s a probability puzzle from a TED-Ed video called Can you solve the frog riddle? by Derek Abbott. It came up recently in this Reddit thread: You’re stranded in a rainforest after accidentally eating a poisonous mushroom. To survive the poison, you need to lick a certain species of frog. Only female frogs produce the antidote. Male and female frogs occur in equal numbers and look identical, but male frogs have a distinctive croak. You see one frog alone on...</p>
<p class="read-more"><a class="btn btn-default" href="https://www.allendowney.com/blog/2026/06/04/the-frog-puzzle/"> Read More<span class="screen-reader-text">  Read More</span></a></p>
<p>The post <a href="https://www.allendowney.com/blog/2026/06/04/the-frog-puzzle/">The Frog Puzzle</a> appeared first on <a href="https://www.allendowney.com/blog">Probably Overthinking It</a>.</p>
]]></description>
            <content:encoded><![CDATA[
<p class="wp-block-paragraph">Here’s a probability puzzle from a TED-Ed video called <a href="https://www.youtube.com/watch?v=cpwSGsb-rTs">Can you solve the frog riddle?</a> by Derek Abbott. It came up recently in this <a href="https://www.reddit.com/r/probabilitytheory/comments/1ttzcjt/frog_riddle_again/">Reddit thread</a>:</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p class="wp-block-paragraph">You’re stranded in a rainforest after accidentally eating a poisonous mushroom. To survive the poison, you need to lick a certain species of frog. Only female frogs produce the antidote. Male and female frogs occur in equal numbers and look identical, but male frogs have a distinctive croak.</p>



<p class="wp-block-paragraph">You see one frog alone on a tree stump. In another direction, you hear the croak of a male frog coming from a clearing with two frogs. You can’t tell which one made the sound.</p>



<p class="wp-block-paragraph">You only have time to go to one place. What are your chances of survival if you go to the clearing and lick both frogs? What if you go to the lone frog?</p>
</blockquote>



<p class="wp-block-paragraph">The second question is relatively easy: if we assume that you are equally likely to see a male or female frog, the probability is 50% that the lone frog is female.</p>



<p class="wp-block-paragraph">The first question depends on how we interpret the puzzle. In particular, it hinges on the word “distinctive” – does that mean:</p>



<ul class="wp-block-list">
<li>Only male frogs croak, and the sound is distinguishable from background noises, or</li>



<li>Both male and female frogs croak, but the male croak is distinguishable from the female croak.</li>
</ul>



<p class="wp-block-paragraph">Based on the answer presented in the video, the first meaning is intended. So we’ll start by solving that version.</p>



<p class="wp-block-paragraph">But the second meaning makes the problem a little harder, so we’ll solve that one, too.</p>



<h2 class="wp-block-heading">Only Male Frogs Croak</h2>



<p class="wp-block-paragraph">To solve the intended version of the puzzle, we’ll assume</p>



<ul class="wp-block-list">
<li>Only male frogs croak, and</li>



<li>When two frogs appear together, their sexes are independent.</li>
</ul>



<p class="wp-block-paragraph">So we’ll start with a prior where all two-frog combinations are equally likely.</p>



<pre class="wp-block-preformatted">from sympy import Rational

hypo = ['FF', 'FM', 'MF', 'MM']
prior = Rational(1)
</pre>



<p class="wp-block-paragraph">Now let’s think about the likelihood of the data under each scenario. In the video, the solution is based on these assumptions:</p>



<ul class="wp-block-list">
<li>If both frogs are female, the probability of hearing the male croak is 0.</li>



<li>If either frog is male, the probability that one of them croaks is 1.</li>
</ul>



<pre class="wp-block-preformatted">likelihood = [0, 1, 1, 1]
</pre>



<p class="wp-block-paragraph">I’ll use a <code>BayesTable</code> to compute the posterior probability for each scenario.</p>



<pre class="wp-block-preformatted">import pandas as pd
import numpy as np

class BayesTable(pd.DataFrame):
    def __init__(self, hypo, prior=1, **options):
        columns = ['prior', 'likelihood', 'unnorm', 'posterior']
        super().__init__(index=hypo, columns=columns, **options)
        self.prior = prior
    
    def update(self, likelihood):
        self.likelihood = likelihood
        self.unnorm = self.prior * self.likelihood
        nc = self.unnorm.sum()
        self.posterior = self.unnorm / nc
</pre>



<pre class="wp-block-preformatted">table = BayesTable(hypo, prior)
table.update(likelihood)
table
</pre>



<figure class="wp-block-table"><table class="has-fixed-layout"><thead><tr><th></th><th>prior</th><th>likelihood</th><th>unnorm</th><th>posterior</th></tr></thead><tbody><tr><th>FF</th><td>1</td><td>0</td><td>0</td><td>0</td></tr><tr><th>FM</th><td>1</td><td>1</td><td>1</td><td>1/3</td></tr><tr><th>MF</th><td>1</td><td>1</td><td>1</td><td>1/3</td></tr><tr><th>MM</th><td>1</td><td>1</td><td>1</td><td>1/3</td></tr></tbody></table></figure>



<p class="wp-block-paragraph">From the table, we can extract the posterior probability that both frogs are male.</p>



<pre class="wp-block-preformatted">from sympy import init_printing
init_printing(use_latex=False)
</pre>



<pre class="wp-block-preformatted">table.posterior['MM']
</pre>



<pre class="wp-block-preformatted">1/3
</pre>



<p class="wp-block-paragraph">With these assumptions, the probability 1/3 that both frogs are male (and you die), so the probability is 2/3 that at least one is female (and you live).</p>



<p class="wp-block-paragraph">And that’s the answer in the video.</p>



<h2 class="wp-block-heading">Poisson (not Poison) Frogs</h2>



<p class="wp-block-paragraph">But is that the right likelihood? Suppose frogs are equally likely to croak at any instant in time, so their croaks follow a Poisson process. If we assume that these croaking processes are independent, two frogs would be more likely to croak, during a given interval, than one.</p>



<p class="wp-block-paragraph">If the interval is much longer than the average time between croaks, the probability that either frog croaks approaches 1, which is consistent with the previous solution.</p>



<p class="wp-block-paragraph">But if the interval is short – as it might be if you were deciding whether to approach the first frog – the probability of hearing a croak would be double if there are two male frogs rather than one.</p>



<p class="wp-block-paragraph">In that case, the likelihood of the data would be:</p>



<pre class="wp-block-preformatted">half = Rational(1, 2)
likelihood = [0, half, half, 1]
</pre>



<p class="wp-block-paragraph">And here are the posterior probabilities:</p>



<pre class="wp-block-preformatted">table = BayesTable(hypo, prior)
table.update(likelihood)
table
</pre>



<figure class="wp-block-table"><table class="has-fixed-layout"><thead><tr><th></th><th>prior</th><th>likelihood</th><th>unnorm</th><th>posterior</th></tr></thead><tbody><tr><th>FF</th><td>1</td><td>0</td><td>0</td><td>0</td></tr><tr><th>FM</th><td>1</td><td>1/2</td><td>1/2</td><td>1/4</td></tr><tr><th>MF</th><td>1</td><td>1/2</td><td>1/2</td><td>1/4</td></tr><tr><th>MM</th><td>1</td><td>1</td><td>1</td><td>1/2</td></tr></tbody></table></figure>



<p class="wp-block-paragraph">With Poisson frogs and a short interval, the probability of two male frogs is 1/2, so it doesn’t matter whether you approach the lone frog or the pair of frogs.</p>



<h2 class="wp-block-heading">Female Frogs Croak, Too</h2>



<p class="wp-block-paragraph">Now let’s think about the other interpretation of the puzzle: suppose both male and female frogs croak, but we can distinguish one from the other. And suppose male and female frogs croak at different rates, but they are still independent.</p>



<p class="wp-block-paragraph">Assume that male frogs croak at a rate of 1 per time unit, and female frogs at a rate of <code>r</code> per time unit. In that case, if we start listening at a random time, the probability that we hear a male frog first is <code>1 / (r+1)</code> if there’s only one male frog, and <code>1</code> if there are two male frogs.</p>



<p class="wp-block-paragraph">So the likelihood in this case is:</p>



<pre class="wp-block-preformatted">from sympy import symbols

r = symbols('r')
likelihood = [0, 1 / (r+1), 1 / (r+1), 1]
</pre>



<p class="wp-block-paragraph">And here are the posteriors</p>



<pre class="wp-block-preformatted">table = BayesTable(hypo, prior)
table.update(likelihood)
table
</pre>



<figure class="wp-block-table"><table class="has-fixed-layout"><thead><tr><th></th><th>prior</th><th>likelihood</th><th>unnorm</th><th>posterior</th></tr></thead><tbody><tr><th>FF</th><td>1</td><td>0</td><td>0</td><td>0</td></tr><tr><th>FM</th><td>1</td><td>1/(r + 1)</td><td>1/(r + 1)</td><td>1/((1 + 2/(r + 1))*(r + 1))</td></tr><tr><th>MF</th><td>1</td><td>1/(r + 1)</td><td>1/(r + 1)</td><td>1/((1 + 2/(r + 1))*(r + 1))</td></tr><tr><th>MM</th><td>1</td><td>1</td><td>1</td><td>1/(1 + 2/(r + 1))</td></tr></tbody></table></figure>



<p class="wp-block-paragraph">In this scenario, here’s the probability you die.</p>



<pre class="wp-block-preformatted">prob_die = table.posterior['MM']
prob_die.simplify()
</pre>



<pre class="wp-block-preformatted">r + 1
─────
r + 3
</pre>



<p class="wp-block-paragraph">If female frogs don’t croak, we get the same answer as in the first scenario.</p>



<pre class="wp-block-preformatted">prob_die.subs({r: 0})
</pre>



<pre class="wp-block-preformatted">1/3
</pre>



<p class="wp-block-paragraph">If male and female frogs croak at the same rate, the probability that both frogs are male is 1/2.</p>



<pre class="wp-block-preformatted">prob_die.subs({r: 1})
</pre>



<pre class="wp-block-preformatted">1/2
</pre>



<p class="wp-block-paragraph">But if female frogs croak much more often, the fact that a male croaked first is strong evidence that both are male, so the posterior probability is close to 1.</p>



<pre class="wp-block-preformatted">prob_die.subs({r: 1000}).evalf()
</pre>



<pre class="wp-block-preformatted">0.998005982053839
</pre>



<h2 class="wp-block-heading">Assortative Mating</h2>



<p class="wp-block-paragraph">Now suppose that when we see two frogs together, their sexes are not independent; specifically, let’s assume that the probability of a same-sex pair is <code>p</code>, so the probability of a mixed-sex pair is <code>1-p</code>. In this scenario, the priors (before we hear the croak) are not equal.</p>



<pre class="wp-block-preformatted">p = symbols('p')
prior = [p, 1-p, 1-p, p]
</pre>



<p class="wp-block-paragraph">Here are the posterior probabilities, assuming again that both male and female frogs, possibly at different rates.</p>



<pre class="wp-block-preformatted">likelihood = [0, 1 / (r+1), 1 / (r+1), 1]
table = BayesTable(hypo, prior)
table.update(likelihood)
table
</pre>



<figure class="wp-block-table"><table class="has-fixed-layout"><thead><tr><th></th><th>prior</th><th>likelihood</th><th>unnorm</th><th>posterior</th></tr></thead><tbody><tr><th>FF</th><td>p</td><td>0</td><td>0</td><td>0</td></tr><tr><th>FM</th><td>1 &#8211; p</td><td>1/(r + 1)</td><td>(1 &#8211; p)/(r + 1)</td><td>(1 &#8211; p)/((p + 2*(1 &#8211; p)/(r + 1))*(r + 1))</td></tr><tr><th>MF</th><td>1 &#8211; p</td><td>1/(r + 1)</td><td>(1 &#8211; p)/(r + 1)</td><td>(1 &#8211; p)/((p + 2*(1 &#8211; p)/(r + 1))*(r + 1))</td></tr><tr><th>MM</th><td>p</td><td>1</td><td>p</td><td>p/(p + 2*(1 &#8211; p)/(r + 1))</td></tr></tbody></table></figure>



<pre class="wp-block-preformatted">table.posterior['MM'].simplify()
</pre>



<pre class="wp-block-preformatted"> p⋅(r + 1) 
───────────
p⋅r - p + 2
</pre>



<p class="wp-block-paragraph">If <code>p=1/2</code>, this simplifies to the previous scenario.</p>



<pre class="wp-block-preformatted">table.posterior['MM'].subs({p: half}).simplify()
</pre>



<pre class="wp-block-preformatted">r + 1
─────
r + 3
</pre>



<p class="wp-block-paragraph">And if <code>r=0</code> (female frogs don’t croak), we get the answer presented in the video.</p>



<pre class="wp-block-preformatted">table.posterior['MM'].subs({p: half, r: 0}).simplify()
</pre>



<pre class="wp-block-preformatted">1/3
</pre>



<p class="wp-block-paragraph">But depending on the assumptions, the probability can be as low as <code>0</code></p>



<pre class="wp-block-preformatted">table.posterior['MM'].subs({p: 0, r: 1}).simplify()
</pre>



<pre class="wp-block-preformatted">0
</pre>



<p class="wp-block-paragraph">Or as high as <code>1</code>.</p>



<pre class="wp-block-preformatted">table.posterior['MM'].subs({p: 1, r: 0}).simplify()
</pre>



<pre class="wp-block-preformatted">1
</pre>



<p class="wp-block-paragraph">Or anything in between. As is often the case with problems like these, the answer depends on a precise specification of the data-generating process.</p>



<h2 class="wp-block-heading">Discussion</h2>



<p class="wp-block-paragraph">If all of this seems like more trouble than it’s worth, let me suggest a metacognitive shortcut for solving puzzles like this.</p>



<ol class="wp-block-list">
<li>Notice that in all probability puzzles, the answer is either 1/2 or 1/3.</li>



<li>Also, the answer is always counterintuitive; otherwise it wouldn’t be a puzzle.</li>



<li>Therefore, if your intuition says the answer is 1/2, it’s actually 1/3, and vice versa.</li>
</ol>



<p class="wp-block-paragraph">That might save you some time.</p>



<p class="wp-block-paragraph">This notebook uses methods and materials from <em>Think Bayes</em>, second edition. If you like this sort of thing, you can read the whole book, and more examples, at <a href="https://allendowney.github.io/ThinkBayes2/">allendowney.github.io/ThinkBayes2/</a>.</p>



<p class="wp-block-paragraph"><br><br></p>



<p class="wp-block-paragraph"></p>
<p>The post <a href="https://www.allendowney.com/blog/2026/06/04/the-frog-puzzle/">The Frog Puzzle</a> appeared first on <a href="https://www.allendowney.com/blog">Probably Overthinking It</a>.</p>
]]></content:encoded>
            <post-id xmlns="com-wordpress:feed-additions:1">1828</post-id>
        </item>
        <item>
            <title>Sexual morality</title>
            <link>https://www.allendowney.com/blog/2026/05/28/sexual-morality/</link>
            <dc:creator><![CDATA[AllenDowney]]></dc:creator>
            <pubDate>Thu, 28 May 2026 18:21:52 +0000</pubDate>
            <category><![CDATA[Uncategorized]]></category>
            <category><![CDATA[age period cohort analysis]]></category>
            <category><![CDATA[bayesian statistics]]></category>
            <category><![CDATA[general social survey]]></category>
            <guid isPermaLink="false">https://www.allendowney.com/blog/?p=1818</guid>
            <description><![CDATA[<p>This article is one of a series looking at changes in public opinion over the last 50 years, with a focus on culture war topics. In this installment, we’ll look at responses to four questions in the General Social Survey (GSS) related to sexual activity: As we’ll see, answers to these questions have diverged in the last 50 years. A large majority answer that extramarital and teen sex are wrong, and that has barely changed (although opposition). At the same...</p>
<p class="read-more"><a class="btn btn-default" href="https://www.allendowney.com/blog/2026/05/28/sexual-morality/"> Read More<span class="screen-reader-text">  Read More</span></a></p>
<p>The post <a href="https://www.allendowney.com/blog/2026/05/28/sexual-morality/">Sexual morality</a> appeared first on <a href="https://www.allendowney.com/blog">Probably Overthinking It</a>.</p>
]]></description>
            <content:encoded><![CDATA[
<p class="wp-block-paragraph">This article is one of a series looking at changes in public opinion over the last 50 years, with a focus on culture war topics. In this installment, we’ll look at responses to four questions in the General Social Survey (GSS) related to sexual activity:</p>



<ol start="1" class="wp-block-list">
<li><strong>Premarital sex</strong> (<code>premarsx</code>): <em>There’s been a lot of discussion about the way morals and attitudes about sex are changing in this country. If a man and woman have sex relations before marriage, do you think it is always wrong, almost always wrong, wrong only sometimes, or not wrong at all?</em></li>



<li><strong>Teen premarital sex</strong> (<code>teensex</code>): <em>What if they are in their early teens, say 14 to 16 years old? In that case, do you think sex relations before marriage are always wrong, almost always wrong, wrong only sometimes, or not wrong at all?</em></li>



<li><strong>Extramarital sex</strong> (<code>xmarsex</code>): <em>What is your opinion about a married person having sexual relations with someone other than the marriage partner—is it always wrong, almost always wrong, wrong only sometimes, or not wrong at all?</em></li>



<li><strong>Same-sex relations</strong> (<code>homosex</code>): <em>What about sexual relations between two adults of the same sex—do you think it is always wrong, almost always wrong, wrong only sometimes, or not wrong at all?</em></li>
</ol>



<p class="wp-block-paragraph">As we’ll see, answers to these questions have diverged in the last 50 years. A large majority answer that extramarital and teen sex are wrong, and that has barely changed (although opposition). At the same time, opposition to premarital sex and same-sex relations has declined substantially.</p>



<p class="wp-block-paragraph">In this article, we’ll look at these trends and decompose them into cohort and period effects. In the next article, we’ll look at the relationship between these responses and religion, both affiliation and attendance.</p>



<p class="wp-block-paragraph">We’ll start with the first question, on premarital sex.</p>



<h2 class="wp-block-heading">Premarital sex</h2>



<p class="wp-block-paragraph">The following figure shows the percentage of respondents saying premarital sex is always or almost always wrong, from 1972 to 2024. The shaded area shows the results from a Bayesian model that estimates the latent trend — that is, a slowly varying underlying level of opposition to premarital sex.</p>



<figure class="wp-block-image" id="premarsx-time-model"><img loading="lazy" decoding="async" width="1145" height="826" src="https://www.allendowney.com/blog/wp-content/uploads/2026/05/time_model_premarsx_-92782a5d81ed3c322ce3a3b74a1a1525.png" alt="Time series national trend: percent saying premarital sex is always or almost always wrong (premarsx)." class="wp-image-1820" srcset="https://www.allendowney.com/blog/wp-content/uploads/2026/05/time_model_premarsx_-92782a5d81ed3c322ce3a3b74a1a1525.png 1145w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/time_model_premarsx_-92782a5d81ed3c322ce3a3b74a1a1525-300x216.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/time_model_premarsx_-92782a5d81ed3c322ce3a3b74a1a1525-1024x739.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/time_model_premarsx_-92782a5d81ed3c322ce3a3b74a1a1525-768x554.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/time_model_premarsx_-92782a5d81ed3c322ce3a3b74a1a1525-374x270.png 374w" sizes="auto, (max-width: 1145px) 100vw, 1145px" /></figure>



<p class="wp-block-paragraph">Opposition to premarital sex has declined since 1972, from about 47% to about 20%.</p>



<p class="wp-block-paragraph">As always, when we see this kind of change over time, it might be caused by cohort or period effects, or a combination of the two. Using a Bayesian model, I estimate a cohort effect for each birth year and a period effect for each survey year. The following figure shows the resulting trajectory for each cohort over time.</p>



<figure class="wp-block-image" id="premarsx-cohort-trajectories"><img loading="lazy" decoding="async" width="1330" height="773" src="https://www.allendowney.com/blog/wp-content/uploads/2026/05/cohort_trajectory_pr-795031a5150bdfce6ad7635df8bae9d3.png" alt="Cohort trajectories: percent always or almost always wrong (premarsx), one line per birth year." class="wp-image-1826" srcset="https://www.allendowney.com/blog/wp-content/uploads/2026/05/cohort_trajectory_pr-795031a5150bdfce6ad7635df8bae9d3.png 1330w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/cohort_trajectory_pr-795031a5150bdfce6ad7635df8bae9d3-300x174.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/cohort_trajectory_pr-795031a5150bdfce6ad7635df8bae9d3-1024x595.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/cohort_trajectory_pr-795031a5150bdfce6ad7635df8bae9d3-768x446.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/cohort_trajectory_pr-795031a5150bdfce6ad7635df8bae9d3-465x270.png 465w" sizes="auto, (max-width: 1330px) 100vw, 1330px" /></figure>



<p class="wp-block-paragraph">Each line represents a single birth year. For example, the yellow line at the top shows the fitted trajectory for people born in 1900, who were 72 when the survey started in 1972 and 90 when they aged out in 1990. The blue line in the bottom right shows responses of people born in 2000, who became eligible to participate in the survey when they turned 18 in 2018.</p>



<p class="wp-block-paragraph">One pattern is clear: each cohort is less likely than the previous cohort to say that premarital sex is wrong. Among people born in 1900, it was more than 70%. Among people born in the 2000s, it is close to 10%. So that’s a big difference.</p>



<p class="wp-block-paragraph">From these results, we can estimate the cohort and period effects separately. The following figure shows the cohort effect, standardized to control for the period effect by simulating responses as if every cohort was interviewed during every iteration of the survey.</p>



<figure class="wp-block-image" id="premarsx-cohort-standardized"><img loading="lazy" decoding="async" width="1145" height="826" src="https://www.allendowney.com/blog/wp-content/uploads/2026/05/cohort_standardized_-2ddcc0ce51962fa548b8944732f56f2c.png" alt="Standardized cohort component with uniform weights on observed survey years (premarsx)." class="wp-image-1821" srcset="https://www.allendowney.com/blog/wp-content/uploads/2026/05/cohort_standardized_-2ddcc0ce51962fa548b8944732f56f2c.png 1145w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/cohort_standardized_-2ddcc0ce51962fa548b8944732f56f2c-300x216.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/cohort_standardized_-2ddcc0ce51962fa548b8944732f56f2c-1024x739.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/cohort_standardized_-2ddcc0ce51962fa548b8944732f56f2c-768x554.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/cohort_standardized_-2ddcc0ce51962fa548b8944732f56f2c-374x270.png 374w" sizes="auto, (max-width: 1145px) 100vw, 1145px" /></figure>



<p class="wp-block-paragraph">The decline was steepest between the cohorts born in 1900 and 1950. After that, it leveled off, then declined again among the cohorts born in the 1980s.</p>



<p class="wp-block-paragraph">Now we can estimate the period effect, standardized to control for the cohort effect, shown in the following figure.</p>



<figure class="wp-block-image" id="premarsx-period-standardized"><img loading="lazy" decoding="async" width="1145" height="826" src="https://www.allendowney.com/blog/wp-content/uploads/2026/05/time_standardized_pr-3ad2679bfedff58845cbd5c8219ec152.png" alt="Standardized period component with fixed cohort mix (premarsx)." class="wp-image-1822" srcset="https://www.allendowney.com/blog/wp-content/uploads/2026/05/time_standardized_pr-3ad2679bfedff58845cbd5c8219ec152.png 1145w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/time_standardized_pr-3ad2679bfedff58845cbd5c8219ec152-300x216.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/time_standardized_pr-3ad2679bfedff58845cbd5c8219ec152-1024x739.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/time_standardized_pr-3ad2679bfedff58845cbd5c8219ec152-768x554.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/time_standardized_pr-3ad2679bfedff58845cbd5c8219ec152-374x270.png 374w" sizes="auto, (max-width: 1145px) 100vw, 1145px" /></figure>



<p class="wp-block-paragraph">The period effect is smaller than the cohort effect — about 8 percentage points from peak to trough — and less consistent. Opposition to premarital sex increased between 1980 and 2000, which coincides with increasing awareness of AIDS and public messaging about sexual risk, as well as the rise of the Religious Right and “family values” politics.</p>



<p class="wp-block-paragraph">But before I speculate about the causes of these patterns, it will be useful to look at the responses to the other questions.</p>



<h2 class="wp-block-heading">When is sex wrong?</h2>



<p class="wp-block-paragraph">The following figure shows the estimated percentage who think sex is wrong (always or almost always) in each of the four scenarios: premarital, teen, extramarital, and same-sex.</p>



<figure class="wp-block-image" id="sex-wrongness-composite-time-model"><img loading="lazy" decoding="async" width="1145" height="766" src="https://www.allendowney.com/blog/wp-content/uploads/2026/05/section1a_sex_wrongn-80473854b8315d2c65a20e45ee21992c.png" alt="Composite overlay: sexual-behavior wrongness scale — national time-series model (four items)." class="wp-image-1824" srcset="https://www.allendowney.com/blog/wp-content/uploads/2026/05/section1a_sex_wrongn-80473854b8315d2c65a20e45ee21992c.png 1145w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/section1a_sex_wrongn-80473854b8315d2c65a20e45ee21992c-300x201.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/section1a_sex_wrongn-80473854b8315d2c65a20e45ee21992c-1024x685.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/section1a_sex_wrongn-80473854b8315d2c65a20e45ee21992c-768x514.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/section1a_sex_wrongn-80473854b8315d2c65a20e45ee21992c-404x270.png 404w" sizes="auto, (max-width: 1145px) 100vw, 1145px" /></figure>



<p class="wp-block-paragraph">Reading from top to bottom:</p>



<ul class="wp-block-list">
<li>Nearly everyone thinks “a married person having sexual relations with someone other than the marriage partner” is wrong, and the percentage has barely changed in more than 50 years.</li>



<li>Opposition to teen sex (the question specifies ages 14-16) is nearly as high, although it has declined since 2005 by about 15 percentage points.</li>



<li>Opposition to same-sex relations was high and mostly unchanged between 1972 and 1990. Since then it has decreased by almost 50 percentage points in 30 years, which is an astonishing speed for this kind of social change. Since 2020, opposition has increased a little.</li>



<li>Finally, as we’ve already seen, opposition to premarital sex declined substantially since the beginning of the survey.</li>
</ul>



<p class="wp-block-paragraph">For all four scenarios, we can estimate the cohort effect, controlling for the period effect, shown in the following figure.</p>



<figure class="wp-block-image" id="sex-wrongness-composite-cohort"><img loading="lazy" decoding="async" width="1145" height="766" src="https://www.allendowney.com/blog/wp-content/uploads/2026/05/section1a_sex_wrongn-f61ab0124fa6ad280ce97c7fe9addcba.png" alt="Composite overlay: standardized cohort component with uniform weights on observed years (four items)." class="wp-image-1825" srcset="https://www.allendowney.com/blog/wp-content/uploads/2026/05/section1a_sex_wrongn-f61ab0124fa6ad280ce97c7fe9addcba.png 1145w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/section1a_sex_wrongn-f61ab0124fa6ad280ce97c7fe9addcba-300x201.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/section1a_sex_wrongn-f61ab0124fa6ad280ce97c7fe9addcba-1024x685.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/section1a_sex_wrongn-f61ab0124fa6ad280ce97c7fe9addcba-768x514.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/section1a_sex_wrongn-f61ab0124fa6ad280ce97c7fe9addcba-404x270.png 404w" sizes="auto, (max-width: 1145px) 100vw, 1145px" /></figure>



<p class="wp-block-paragraph">For all four scenarios, there is a consistent downward trend in the cohort effect, modest for extramarital and teen sex, much steeper for premarital and same-sex relations.</p>



<p class="wp-block-paragraph">The following figure shows the period effects.</p>



<figure class="wp-block-image" id="sex-wrongness-composite-period"><img loading="lazy" decoding="async" width="1145" height="766" src="https://www.allendowney.com/blog/wp-content/uploads/2026/05/section1a_sex_wrongn-f67ed5b82acbc806401f00d555e7c43e.png" alt="Composite overlay: standardized period component with fixed cohort mix (four items)." class="wp-image-1823" srcset="https://www.allendowney.com/blog/wp-content/uploads/2026/05/section1a_sex_wrongn-f67ed5b82acbc806401f00d555e7c43e.png 1145w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/section1a_sex_wrongn-f67ed5b82acbc806401f00d555e7c43e-300x201.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/section1a_sex_wrongn-f67ed5b82acbc806401f00d555e7c43e-1024x685.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/section1a_sex_wrongn-f67ed5b82acbc806401f00d555e7c43e-768x514.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/section1a_sex_wrongn-f67ed5b82acbc806401f00d555e7c43e-404x270.png 404w" sizes="auto, (max-width: 1145px) 100vw, 1145px" /></figure>



<p class="wp-block-paragraph">After controlling for the cohort effects, the remaining period effects are more modest.</p>



<ul class="wp-block-list">
<li>Opposition to teen sex is mostly unchanged, with some decline since 2010.</li>



<li>Opposition to extramarital sex increased between 1972 and 2010, and decreased since then.</li>



<li>Opposition to same-sex relations shows by far the largest period effect, increasing between 1972 and 1990, and decreasing since then — although increasing again since 2020.</li>



<li>Opposition to premarital sex has increased and decreased modestly.</li>
</ul>



<p class="wp-block-paragraph">In most scenarios, the cohort effect accounts for more of the observed change — but for same-sex relations, the period effect also makes a substantial contribution.</p>



<h2 class="wp-block-heading">Dogma, morality, and health</h2>



<p class="wp-block-paragraph">To make sense of these patterns, let’s think about what people might mean when they say that sex is wrong.</p>



<p class="wp-block-paragraph">Taking premarital sex as an example, some people consider sex outside marriage to be contrary to spiritual values or religious teachings. Others might be concerned with sexually-transmitted disease or the social consequences of children born outside of stable families.</p>



<p class="wp-block-paragraph">And for teens specifically, some object because they see adolescence as a period of innocence that should be protected, believe sexual activity compromises purity or chastity, or think sexual restraint reflects virtues like self-discipline and respect for social norms. Also, some might think teenagers don’t have the knowledge, experience, and impulse control to avoid health consequences of sex, especially pregnancy, or the maturity to handle emotional challenges.</p>



<p class="wp-block-paragraph">Similarly, some people object to same-sex relations because they see them as contrary to religious teachings, inconsistent with traditional ideas about gender and family, or incompatible with social norms about sexuality.</p>



<p class="wp-block-paragraph">And people might object to extramarital sex because of the emotional harm it causes, because it breaks a vow, because it threatens families and social stability, or because it violates holy matrimony.</p>



<p class="wp-block-paragraph">In each scenario, objections arise from different concerns: practical risks and harms, social concerns about norms and stability, and moral or religious beliefs. Looking only at multiple-choice responses, we don’t know what respondents had in mind.</p>



<p class="wp-block-paragraph">But the differences we see — between teen and extramarital sex on one hand, and premarital sex and same-sex relations on the other — suggest a conjecture: objections rooted in immediate harms and concrete consequences might be more stable over time; objections rooted in social norms, morality, and religion might be more historically contingent.</p>



<p class="wp-block-paragraph">In the next article, we’ll test this conjecture by looking at relationships between religion and attitudes about sex — and how both have changed over time.</p>



<p class="wp-block-paragraph"><a href="https://allendowney.github.io/CultureWar//blog8-confidence"></a><a href="https://allendowney.github.io/CultureWar//blog8-confidence"></a></p>



<p class="wp-block-paragraph"></p>
<p>The post <a href="https://www.allendowney.com/blog/2026/05/28/sexual-morality/">Sexual morality</a> appeared first on <a href="https://www.allendowney.com/blog">Probably Overthinking It</a>.</p>
]]></content:encoded>
            <post-id xmlns="com-wordpress:feed-additions:1">1818</post-id>
        </item>
        <item>
            <title>Confidence in Institutions</title>
            <link>https://www.allendowney.com/blog/2026/05/19/confidence-in-institutions/</link>
            <dc:creator><![CDATA[AllenDowney]]></dc:creator>
            <pubDate>Tue, 19 May 2026 15:04:04 +0000</pubDate>
            <category><![CDATA[Uncategorized]]></category>
            <category><![CDATA[age period cohort analysis]]></category>
            <category><![CDATA[bayesian statistics]]></category>
            <category><![CDATA[general social survey]]></category>
            <guid isPermaLink="false">https://www.allendowney.com/blog/?p=1803</guid>
            <description><![CDATA[<p>This article is one of a series exploring responses to core questions in the General Social Survey (GSS), estimating period and cohort effects, and looking for historical events that might explain the trends we see. Confidence in American institutions In this installment, we’ll look at 13 questions related to confidence in institutions. We’ll start with a detailed look at confidence in “the people running Congress”, and then summarize results from the other questions. The complete survey question is: I am...</p>
<p class="read-more"><a class="btn btn-default" href="https://www.allendowney.com/blog/2026/05/19/confidence-in-institutions/"> Read More<span class="screen-reader-text">  Read More</span></a></p>
<p>The post <a href="https://www.allendowney.com/blog/2026/05/19/confidence-in-institutions/">Confidence in Institutions</a> appeared first on <a href="https://www.allendowney.com/blog">Probably Overthinking It</a>.</p>
]]></description>
            <content:encoded><![CDATA[
<p class="wp-block-paragraph">This article is one of a series exploring responses to core questions in the General Social Survey (GSS), estimating period and cohort effects, and looking for historical events that might explain the trends we see.<a href="https://github.com/AllenDowney/CultureWar" target="_blank" rel="noreferrer noopener"></a><a href="https://github.com/AllenDowney/CultureWar/edit/main/jb/blog8_confidence.md" target="_blank" rel="noreferrer noopener"></a></p>



<h2 class="wp-block-heading" id="confidence-in-american-institutions">Confidence in American institutions</h2>



<p class="wp-block-paragraph">In this installment, we’ll look at 13 questions related to confidence in institutions. We’ll start with a detailed look at confidence in “the people running Congress”, and then summarize results from the other questions. The <a href="https://gssdataexplorer.norc.org/variables/459/vshow" target="_blank" rel="noreferrer noopener">complete survey question</a> is:</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p class="wp-block-paragraph">I am going to name some institutions in this country. As far as the people running these institutions are concerned, would you say you have a great deal of confidence, only some confidence, or hardly any confidence at all in [&#8230;] Congress.</p>
</blockquote>



<p class="wp-block-paragraph">The following figure shows the fraction of people who answered “a great deal of confidence” or “only some confidence,” and a smooth line fitted to the raw percentages.</p>



<figure class="wp-block-image" id="conlegis-time-model"><img loading="lazy" decoding="async" width="1145" height="790" src="https://www.allendowney.com/blog/wp-content/uploads/2026/05/time_model_conlegis_-e47a9b867ea68609944d3abe98446e29.png" alt="Time-only model, confidence in the people running Congress." class="wp-image-1808" srcset="https://www.allendowney.com/blog/wp-content/uploads/2026/05/time_model_conlegis_-e47a9b867ea68609944d3abe98446e29.png 1145w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/time_model_conlegis_-e47a9b867ea68609944d3abe98446e29-300x207.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/time_model_conlegis_-e47a9b867ea68609944d3abe98446e29-1024x707.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/time_model_conlegis_-e47a9b867ea68609944d3abe98446e29-768x530.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/time_model_conlegis_-e47a9b867ea68609944d3abe98446e29-391x270.png 391w" sizes="auto, (max-width: 1145px) 100vw, 1145px" /></figure>



<p class="wp-block-paragraph">The long-term trend is downward, from about 80% during the first iteration of the survey to below 50% in the most recent iterations. But there are ups and downs.</p>



<p class="wp-block-paragraph">It looks like confidence was increasing during the 1980s before collapsing in the early 1990s. Possible causes of the decline include:</p>



<ul class="wp-block-list">
<li>The <a href="https://en.wikipedia.org/wiki/House_banking_scandal" target="_blank" rel="noreferrer noopener">House banking scandal</a>, also known as Rubbergate, and the <a href="https://en.wikipedia.org/wiki/Congressional_Post_Office_scandal" target="_blank" rel="noreferrer noopener">Congressional Post Office scandal</a>.</li>



<li>Increased polarization and perception of dysfunction during the period when <a href="https://en.wikipedia.org/wiki/Newt_Gingrich#Speaker_of_the_House" target="_blank" rel="noreferrer noopener">Newt Gingrich</a> was minority whip (1989-1995).</li>



<li>An <a href="https://en.wikipedia.org/wiki/Early_1990s_recession_in_the_United_States" target="_blank" rel="noreferrer noopener">economic recession</a> from 1990 into 1991.</li>
</ul>



<p class="wp-block-paragraph">Confidence in Congress recovered between 1995 and 2005, and declined again between 2005 and 2015. A likely contributor is the <a href="https://en.wikipedia.org/wiki/Great_Recession" target="_blank" rel="noreferrer noopener">Great Recession</a> from late 2007 to mid-2009.</p>



<p class="wp-block-paragraph">This period also saw the rise of anti-establishment politics, including the <a href="https://en.wikipedia.org/wiki/Tea_Party_movement" target="_blank" rel="noreferrer noopener">Tea Party movement</a> and <a href="https://en.wikipedia.org/wiki/Ron_Paul" target="_blank" rel="noreferrer noopener">Ron Paul’s</a> presidential campaign.</p>



<p class="wp-block-paragraph">Now we’ll decompose these changes into period and cohort effects.</p>



<h3 class="wp-block-heading" id="period-and-cohort-effects">Period and cohort effects</h3>



<p class="wp-block-paragraph">Using the <a href="https://allendowney.github.io/CultureWar/tech-report/" target="_blank" rel="noreferrer noopener">Bayesian model described here</a> we can estimate a latent “confidence in Congress” factor for each birth cohort over time. The following figure shows these estimates; each line represents a single birth year.</p>



<figure class="wp-block-image" id="conlegis-cohort-trajectories"><img loading="lazy" decoding="async" width="1330" height="778" src="https://www.allendowney.com/blog/wp-content/uploads/2026/05/cohort_trajectory_co-d5cd0d30431d1f3f08bcc503ebb4d786.png" alt="Cohort trajectories, percent with a great deal or only some confidence in the people running Congress." class="wp-image-1814" srcset="https://www.allendowney.com/blog/wp-content/uploads/2026/05/cohort_trajectory_co-d5cd0d30431d1f3f08bcc503ebb4d786.png 1330w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/cohort_trajectory_co-d5cd0d30431d1f3f08bcc503ebb4d786-300x175.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/cohort_trajectory_co-d5cd0d30431d1f3f08bcc503ebb4d786-1024x599.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/cohort_trajectory_co-d5cd0d30431d1f3f08bcc503ebb4d786-768x449.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/cohort_trajectory_co-d5cd0d30431d1f3f08bcc503ebb4d786-462x270.png 462w" sizes="auto, (max-width: 1330px) 100vw, 1330px" /></figure>



<p class="wp-block-paragraph">Those results are easier to interpret if we factor out the cohort effect (keeping the mixture of survey years constant) and the period effect (keeping the mixture of cohorts constant). The following figure shows the standardized cohort effect.</p>



<figure class="wp-block-image" id="conlegis-cohort-standardized"><img loading="lazy" decoding="async" width="1145" height="790" src="https://www.allendowney.com/blog/wp-content/uploads/2026/05/cohort_standardized_-aca7608b25112981c03dc33fffe90a93.png" alt="Standardized cohort effect with fixed time mix, confidence in Congress." class="wp-image-1812" srcset="https://www.allendowney.com/blog/wp-content/uploads/2026/05/cohort_standardized_-aca7608b25112981c03dc33fffe90a93.png 1145w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/cohort_standardized_-aca7608b25112981c03dc33fffe90a93-300x207.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/cohort_standardized_-aca7608b25112981c03dc33fffe90a93-1024x707.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/cohort_standardized_-aca7608b25112981c03dc33fffe90a93-768x530.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/cohort_standardized_-aca7608b25112981c03dc33fffe90a93-391x270.png 391w" sizes="auto, (max-width: 1145px) 100vw, 1145px" /></figure>



<p class="wp-block-paragraph">Among people born between 1900 and 1950, there is almost no change. Then starting with people born in the 1960s, confidence in Congress has increased consistently and substantially.</p>



<p class="wp-block-paragraph">To interpret this result, it is helpful to go back to the previous figure. Starting in the upper left:</p>



<ul class="wp-block-list">
<li>Among people born in the 1960s and 1970s, about 80% reported confidence in Congress when they were surveyed as young adults.</li>



<li>Among people born in the 1980s and 1990s, it was closer to 70%.</li>



<li>And among people born in the 2000s it’s below 70%.</li>
</ul>



<p class="wp-block-paragraph">The entry point of each cohort is below the entry point of previous cohorts, but because these entry points are above the declining trend of previous generations, this <em>relative</em> optimism is interpreted as an increasing cohort effect.</p>



<p class="wp-block-paragraph">So we should not conclude that younger generations are more confident in Congress, only that when they are first surveyed, they start out above the trajectory of previous cohorts.</p>



<p class="wp-block-paragraph">As a simplification, we might imagine an 18-year-old entering adulthood with a relatively idealized understanding of American government — shaped by civics classes and maybe a school trip to Washington D.C. — before later political experiences erode some of that confidence.</p>



<p class="wp-block-paragraph">Another possibility is that younger generations have grown up with lower expectations of government, so when they say they have “some confidence”, they might be evaluating Congress against a lower standard.</p>



<p class="wp-block-paragraph">The following figure shows the estimated period effect, with the mix of cohorts held constant.</p>



<figure class="wp-block-image" id="conlegis-period-standardized"><img loading="lazy" decoding="async" width="1145" height="790" src="https://www.allendowney.com/blog/wp-content/uploads/2026/05/time_standardized_co-d65cdea9156d375abd801cc2826c9844.png" alt="Standardized period effect with fixed cohort mix, Congress." class="wp-image-1807" srcset="https://www.allendowney.com/blog/wp-content/uploads/2026/05/time_standardized_co-d65cdea9156d375abd801cc2826c9844.png 1145w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/time_standardized_co-d65cdea9156d375abd801cc2826c9844-300x207.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/time_standardized_co-d65cdea9156d375abd801cc2826c9844-1024x707.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/time_standardized_co-d65cdea9156d375abd801cc2826c9844-768x530.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/time_standardized_co-d65cdea9156d375abd801cc2826c9844-391x270.png 391w" sizes="auto, (max-width: 1145px) 100vw, 1145px" /></figure>



<p class="wp-block-paragraph">This decline is steeper than what we saw in the time-only model, because we have factored out the mitigating effect of relative optimism in recent generations.</p>



<h3 class="wp-block-heading" id="government-institutions">Government Institutions</h3>



<p class="wp-block-paragraph">Now we’ll apply the same analysis to questions about the executive branch of the federal government, the Supreme Court, and the military (technically part of the executive branch).</p>



<p class="wp-block-paragraph">The following figure shows the estimated cohort effects for each of these institutions.</p>



<figure class="wp-block-image" id="cluster-gov-cohort"><img loading="lazy" decoding="async" width="1145" height="764" src="https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_1_govern-7c461121f9363f4e9a2440f4a41ce384.png" alt="Government and security institutions, standardized cohort component (uniform survey years)." class="wp-image-1811" srcset="https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_1_govern-7c461121f9363f4e9a2440f4a41ce384.png 1145w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_1_govern-7c461121f9363f4e9a2440f4a41ce384-300x200.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_1_govern-7c461121f9363f4e9a2440f4a41ce384-1024x683.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_1_govern-7c461121f9363f4e9a2440f4a41ce384-768x512.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_1_govern-7c461121f9363f4e9a2440f4a41ce384-405x270.png 405w" sizes="auto, (max-width: 1145px) 100vw, 1145px" /></figure>



<p class="wp-block-paragraph">And the following figure shows the period effect, after factoring out the cohort effect.</p>



<figure class="wp-block-image" id="cluster-gov-standardized-period"><img loading="lazy" decoding="async" width="1145" height="764" src="https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_1_govern-b24ed098d4d8b3b779b1face8e1cd0be.png" alt="Government and security institutions, standardized period component (fixed cohort mix)." class="wp-image-1813" srcset="https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_1_govern-b24ed098d4d8b3b779b1face8e1cd0be.png 1145w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_1_govern-b24ed098d4d8b3b779b1face8e1cd0be-300x200.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_1_govern-b24ed098d4d8b3b779b1face8e1cd0be-1024x683.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_1_govern-b24ed098d4d8b3b779b1face8e1cd0be-768x512.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_1_govern-b24ed098d4d8b3b779b1face8e1cd0be-405x270.png 405w" sizes="auto, (max-width: 1145px) 100vw, 1145px" /></figure>



<p class="wp-block-paragraph">The results for the executive branch are similar to the results for Congress.</p>



<ul class="wp-block-list">
<li>The cohort effect is flat between people born in the 1900s and 1950s, and increasing after that.</li>



<li>The period effect declines substantially and consistently — without the ups and downs of confidence in Congress.</li>
</ul>



<p class="wp-block-paragraph">When respondents are asked about the “executive branch”, it’s not clear whether they think primarily about the president, federal agencies, or the federal government in general.</p>



<p class="wp-block-paragraph">The patterns for the military and Supreme Court are different.</p>



<ul class="wp-block-list">
<li>Confidence in the military is generally high. The cohort effect declined gradually, and possibly more steeply among people born after 1980. The period effect gradually increased.</li>



<li>Confidence in the Supreme Court is higher than confidence in other branches, although the period effect has dropped steeply since 2015. The cohort effect increased among people born between 1900 and 1960; among more recent generations it is gradually declining.</li>
</ul>



<p class="wp-block-paragraph">Historically, the Court cultivated an image of being above politics; that perception weakened substantially in the 2010s. In March 2016, Merrick Garland was nominated to the Supreme Court after the death of Antonin Scalia. The Republican majority in the Senate refused to hold a hearing or vote on his nomination. The seat remained empty until Donald Trump nominated, and the Senate confirmed, Neil Gorsuch, who is considered to be more conservative. To many liberals, the Senate’s 293-day blockade undermined the legitimacy of the Court.</p>



<p class="wp-block-paragraph">Then when Ruth Bader Ginsburg died in September 2020, Donald Trump nominated Amy Coney Barrett and the Senate confirmed her 8 days before the 2020 presidential election, in a process criticized by Democratic leaders as illegitimate.</p>



<p class="wp-block-paragraph">These appointments, along with the confirmation of Brett Kavanaugh in 2018, shifted the composition of the Court toward conservatives, forming what is now described as a 6-3 supermajority of conservative justices.</p>



<p class="wp-block-paragraph">Since then, the Supreme Court has issued several decisions contrary to majority public opinion, most notably the 2022 decision overturning <em>Roe v. Wade</em>. Other unpopular decisions weakened gun control and limited federal regulatory authority, especially over environmental policy. Many of these decisions have been perceived, especially on the left, to be motivated by politics rather than constitutional principles and precedent.</p>



<p class="wp-block-paragraph">The slope of the cohort effect might reflect a generational change in associations with the Supreme Court. Older cohorts may associate the Supreme Court with landmark decisions like Brown v. Board of Education and the expansion of civil rights. Younger cohorts may instead associate it with partisan conflict, blocked reforms, and ideological polarization. Older generations might also have been more deferential toward the institution itself. Younger generations, exposed to more adversarial and partisan media coverage, might be less inclined to deference.</p>



<h3 class="wp-block-heading" id="economic-institutions">Economic institutions</h3>



<p class="wp-block-paragraph">The following figures show the cohort and period effects for confidence in economic institutions: banks, major companies, and organized labor.</p>



<figure class="wp-block-image" id="cluster-econ-cohort"><img loading="lazy" decoding="async" width="1145" height="764" src="https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_2_econom-b4cf1eea3eb5290377d151bac981fdaf.png" alt="Economic institutions, standardized cohort component." class="wp-image-1809" srcset="https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_2_econom-b4cf1eea3eb5290377d151bac981fdaf.png 1145w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_2_econom-b4cf1eea3eb5290377d151bac981fdaf-300x200.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_2_econom-b4cf1eea3eb5290377d151bac981fdaf-1024x683.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_2_econom-b4cf1eea3eb5290377d151bac981fdaf-768x512.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_2_econom-b4cf1eea3eb5290377d151bac981fdaf-405x270.png 405w" sizes="auto, (max-width: 1145px) 100vw, 1145px" /></figure>



<p class="wp-block-paragraph"></p>



<figure class="wp-block-image" id="cluster-econ-standardized-period"><img loading="lazy" decoding="async" width="1145" height="764" src="https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_2_econom-76a4be0f163f28d139a677ac90cfd0e5.png" alt="Economic institutions, standardized period component." class="wp-image-1806" srcset="https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_2_econom-76a4be0f163f28d139a677ac90cfd0e5.png 1145w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_2_econom-76a4be0f163f28d139a677ac90cfd0e5-300x200.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_2_econom-76a4be0f163f28d139a677ac90cfd0e5-1024x683.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_2_econom-76a4be0f163f28d139a677ac90cfd0e5-768x512.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_2_econom-76a4be0f163f28d139a677ac90cfd0e5-405x270.png 405w" sizes="auto, (max-width: 1145px) 100vw, 1145px" /></figure>



<p class="wp-block-paragraph">Confidence in these institutions is generally high. Looking at the cohort effects, the most salient feature is increased confidence in organized labor among people born after 1940.</p>



<p class="wp-block-paragraph">A possible explanation is that younger cohorts have less exposure to organized labor. Older generations were more likely to be affected by strikes and related economic disruption, and more likely to be aware of corruption in labor unions. As union membership has declined and the gig economy has expanded, younger cohorts are less aware of the negative aspects of organized labor, including dues, and more likely to perceive their lack of negotiating power in the labor market. Also, anti-labor ideology has declined since the end of the Cold War, as the framing has shifted from “labor versus management” to “workers versus corporations”.</p>



<p class="wp-block-paragraph">By comparison with the cohort effects, the period effects are modest:</p>



<ul class="wp-block-list">
<li>The period effect on organized labor is almost unchanged since the 1980s — the change we see over time is almost entirely due to generational replacement.</li>



<li>The period effect on confidence in major companies has declined somewhat.</li>



<li>The trend for banks and financial institutions is more complicated — arguably driven by shorter-term period effects like scandals and financial crises. The first notable downturn, in the 1980s, coincides with the <a href="https://en.wikipedia.org/wiki/Savings_and_loan_crisis" target="_blank" rel="noreferrer noopener">savings and loan crisis</a>, when hundreds of financial institutions failed and taxpayers absorbed large bailout costs, followed by an <a href="https://en.wikipedia.org/wiki/Early_1990s_recession_in_the_United_States" target="_blank" rel="noreferrer noopener">economic recession</a> from 1990 into 1991. The larger downturn around 2008 coincides with the <a href="https://en.wikipedia.org/wiki/2008_financial_crisis" target="_blank" rel="noreferrer noopener">2008 global financial crisis</a>, when taxpayers were hit with even larger bailout costs, and public anger at “private gains, public losses” came to a focus in the <a href="https://en.wikipedia.org/wiki/Occupy_Wall_Street" target="_blank" rel="noreferrer noopener">Occupy Wall Street protests</a>.</li>
</ul>



<h3 class="wp-block-heading" id="professions-knowledge-and-religion">Professions, knowledge, and religion</h3>



<p class="wp-block-paragraph">The following figures show estimated cohort and period effects for confidence in education, medicine, the scientific community, and organized religion.</p>



<figure class="wp-block-image" id="cluster-prof-cohort"><img loading="lazy" decoding="async" width="1145" height="764" src="https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_3_profes-14bdbff63efcff6380045908aa3157ab.png" alt="Professions and knowledge institutions, standardized cohort component." class="wp-image-1816" srcset="https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_3_profes-14bdbff63efcff6380045908aa3157ab.png 1145w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_3_profes-14bdbff63efcff6380045908aa3157ab-300x200.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_3_profes-14bdbff63efcff6380045908aa3157ab-1024x683.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_3_profes-14bdbff63efcff6380045908aa3157ab-768x512.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_3_profes-14bdbff63efcff6380045908aa3157ab-405x270.png 405w" sizes="auto, (max-width: 1145px) 100vw, 1145px" /></figure>



<p class="wp-block-paragraph"></p>



<figure class="wp-block-image" id="cluster-prof-standardized-period"><img loading="lazy" decoding="async" width="1145" height="764" src="https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_3_profes-f5418c000cfe9c18849ed481e1182500.png" alt="Professions and knowledge institutions, standardized period component." class="wp-image-1805" srcset="https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_3_profes-f5418c000cfe9c18849ed481e1182500.png 1145w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_3_profes-f5418c000cfe9c18849ed481e1182500-300x200.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_3_profes-f5418c000cfe9c18849ed481e1182500-1024x683.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_3_profes-f5418c000cfe9c18849ed481e1182500-768x512.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_3_profes-f5418c000cfe9c18849ed481e1182500-405x270.png 405w" sizes="auto, (max-width: 1145px) 100vw, 1145px" /></figure>



<p class="wp-block-paragraph">Confidence in these institutions is highest for science and medicine, lower for education and religion.</p>



<p class="wp-block-paragraph">Looking at the period effects, they are all in decline. Confidence in education declined most steeply; confidence in the scientific community is relatively stable, although it declines after 2020.</p>



<p class="wp-block-paragraph">Thinking about confidence in education, it might be useful to separate colleges and universities from K-12 schools.</p>



<ul class="wp-block-list">
<li>In higher education, the decline might be due to increasing tuition and student debt, credential inflation, and increasing uncertainty about the economic return on a college degree, especially among majors in the arts and humanities. More recently, confidence in universities has decreased steeply, especially among conservatives, due to the perception of ideological bias.</li>



<li>In K-12 education, declining confidence might be related to anxiety about standardized testing, international competition, and especially around the <a href="https://en.wikipedia.org/wiki/No_Child_Left_Behind_Act" target="_blank" rel="noreferrer noopener">No Child Left Behind Act</a> in 2001, the framing of public schools as underperforming institutions requiring accountability reforms and federal intervention. Also, public schools have increasingly become focal points for political conflicts about curriculum, race, gender, religion, and parental authority.</li>
</ul>



<p class="wp-block-paragraph">Most of the cohort effects have increased modestly; in particular confidence in education is higher among people born after 1980, compared to previous generations observed at the same time. But for these institutions, the interaction of the period and cohort effect is similar to what we saw for Congress — it’s not that recent generations have <em>more</em> confidence, it’s just that when they are surveyed as young adults, they come in at entry points above the declining trend of previous generations.</p>



<p class="wp-block-paragraph">Confidence in organized religion is the exception — the period and cohort effects both trend downward, so the decline is additive. A likely contributor to the period effect is growing public awareness of <a href="https://en.wikipedia.org/wiki/Catholic_Church_sex_abuse_cases_in_the_United_States" target="_blank" rel="noreferrer noopener">sexual abuse and institutional coverups in the Catholic Church</a>, which received national attention beginning in the 1980s, escalated after the <a href="https://en.wikipedia.org/wiki/Sexual_abuse_scandal_in_the_Archdiocese_of_Boston" target="_blank" rel="noreferrer noopener">Boston Globe investigations</a> published in 2002, and continues to the present with additional revelations in the United States and other countries. But the decline is not limited to the Catholic Church, and it began before these scandals were widely known.</p>



<p class="wp-block-paragraph">The cohort effect likely reflects broader secularization trends, including declining religious affiliation, lower church attendance, and weakening institutional authority among younger generations.</p>



<h3 class="wp-block-heading" id="media">Media</h3>



<p class="wp-block-paragraph">Finally, the following figures show estimated cohort and period effects for confidence in television and the press.</p>



<figure class="wp-block-image" id="cluster-media-cohort"><img loading="lazy" decoding="async" width="1145" height="764" src="https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_4_media_-8bf3f75d17ac4f1f8991025f1051ce52.png" alt="Media, standardized cohort component." class="wp-image-1815" srcset="https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_4_media_-8bf3f75d17ac4f1f8991025f1051ce52.png 1145w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_4_media_-8bf3f75d17ac4f1f8991025f1051ce52-300x200.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_4_media_-8bf3f75d17ac4f1f8991025f1051ce52-1024x683.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_4_media_-8bf3f75d17ac4f1f8991025f1051ce52-768x512.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_4_media_-8bf3f75d17ac4f1f8991025f1051ce52-405x270.png 405w" sizes="auto, (max-width: 1145px) 100vw, 1145px" /></figure>



<p class="wp-block-paragraph"></p>



<figure class="wp-block-image" id="cluster-media-standardized-period"><img loading="lazy" decoding="async" width="1145" height="764" src="https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_4_media_-db77e283c289a556c23c800a199f1ce9.png" alt="Media, standardized period component." class="wp-image-1810" srcset="https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_4_media_-db77e283c289a556c23c800a199f1ce9.png 1145w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_4_media_-db77e283c289a556c23c800a199f1ce9-300x200.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_4_media_-db77e283c289a556c23c800a199f1ce9-1024x683.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_4_media_-db77e283c289a556c23c800a199f1ce9-768x512.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_4_media_-db77e283c289a556c23c800a199f1ce9-405x270.png 405w" sizes="auto, (max-width: 1145px) 100vw, 1145px" /></figure>



<p class="wp-block-paragraph">There is almost no cohort effect, although the most recent cohorts might have a little more confidence in television.</p>



<p class="wp-block-paragraph">The headline here is the period effect, which is consistently downward, and steeper for the press than television. The steepest part of the decline for both media started around 1990, shortly after the 1987 abolition of the <a href="https://en.wikipedia.org/wiki/Fairness_doctrine" target="_blank" rel="noreferrer noopener">fairness doctrine</a>, which required broadcast coverage of controversial topics to be “fair in the sense that it provides an opportunity for the presentation of contrasting points of view,” as described in the <a href="https://www.fcc.gov/document/editorializing-broadcast-licensees" target="_blank" rel="noreferrer noopener">1949 FCC report</a> that established the doctrine.</p>



<p class="wp-block-paragraph">The end of the fairness doctrine coincided with the rise of talk radio programs with explicit political viewpoints, including <a href="https://en.wikipedia.org/wiki/The_Rush_Limbaugh_Show" target="_blank" rel="noreferrer noopener">The Rush Limbaugh Show</a>, which was nationally syndicated in 1988.</p>



<p class="wp-block-paragraph">Cable television news followed, including <a href="https://en.wikipedia.org/wiki/Fox_News" target="_blank" rel="noreferrer noopener">Fox News Channel</a> in 1996, with an explicit conservative orientation, and <a href="https://en.wikipedia.org/wiki/MSNBC" target="_blank" rel="noreferrer noopener">MSNBC</a>, which developed a more liberal identity in the 2000s.</p>



<p class="wp-block-paragraph">During this period, more generally, media audiences became more fragmented. Prior to 1980, most Americans were exposed to a small number of shared news sources, notably the three major television networks. Talk radio and cable television offered more options and less common experience.</p>



<p class="wp-block-paragraph">And then the internet happened, starting in the 1990s with online news and political blogs, including the <a href="https://en.wikipedia.org/wiki/Drudge_Report" target="_blank" rel="noreferrer noopener">Drudge Report</a> which started as a weekly email newsletter in 1995, and rose to national prominence when it broke the <a href="https://en.wikipedia.org/wiki/Clinton%E2%80%93Lewinsky_scandal" target="_blank" rel="noreferrer noopener">Clinton-Lewinsky scandal</a> in 1998.</p>



<p class="wp-block-paragraph">Social media followed. YouTube was founded in 2005; Facebook and Twitter launched in 2006. While these platforms have become important sources of news for many Americans, engagement-driven algorithms often promote emotionally provocative and polarizing content over careful reporting. The rise of the internet contributed to the decline of local newspapers, and eventually national newspapers as well.</p>



<p class="wp-block-paragraph">Ownership of television stations became increasingly consolidated following the <a href="https://en.wikipedia.org/wiki/Telecommunications_Act_of_1996" target="_blank" rel="noreferrer noopener">1996 Telecommunications Act</a>, allowing a small number of national media companies to control larger shares of local news programming. The effect of this consolidation is explained in <a href="https://www.vox.com/policy-and-politics/2018/4/2/17189302/sinclair-broadcast-fake-news-biased-trump-viral-video" target="_blank" rel="noreferrer noopener">this Vox article</a> and memorably demonstrated in <a href="https://www.youtube.com/watch?v=hWLjYJ4BzvI" target="_blank" rel="noreferrer noopener">this Deadspin compilation</a> showing dozens of TV news anchors reading nearly identical scripts provided by the <a href="https://en.wikipedia.org/wiki/Sinclair_Broadcast_Group" target="_blank" rel="noreferrer noopener">Sinclair Broadcast Group</a>, which requires the channels it owns to air segments called <a href="https://www.nytimes.com/2017/05/12/business/media/sinclair-broadcast-komo-conservative-media.html" target="_blank" rel="noreferrer noopener">“must-runs”</a> — many of them presenting conservative talking points.</p>



<p class="wp-block-paragraph">Finally, since the beginning of his presidential campaign in 2015, Donald Trump has repeatedly denigrated television and print media, frequently describing unfavorable coverage as “fake news” and labeling journalists “enemies of the people.” These attacks likely contribute to declining confidence in the press, especially among Republicans.</p>



<h3 class="wp-block-heading" id="negativity-bias">Negativity Bias</h3>



<p class="wp-block-paragraph">In the previous examples, you might notice that I offer explanations for the downturns, but no explanation for the upturns. That’s because bad things, like scandals and economic crises, often happen quickly and they get a lot of coverage; good things often happen slowly and continue without comment.</p>



<p class="wp-block-paragraph">For many institutions, no news is good news. When they do their jobs, they don’t get much attention, and public confidence drifts higher, even without specific positive events or coverage.</p>



<p class="wp-block-paragraph">So I want to end this article by highlighting some of the positive results we see in this data:</p>



<ul class="wp-block-list">
<li>Confidence in education, science, and medicine is high and although the period effects are negative, the cohort effects are positive, which bodes well for the future.</li>



<li>Confidence in financial institutions and organized labor is high.</li>



<li>Confidence in government is lower and declining, but as each generation of young adults starts out more optimistic than their elders, there is hope for a turnaround.</li>
</ul>



<p class="wp-block-paragraph">But the recent steep decline of confidence in the Supreme Court is a concern, as is the loss of confidence in the media. It’s hard to find a positive take on those trends.</p>



<p class="wp-block-paragraph"><a href="https://allendowney.github.io/CultureWar//blog7-hapgen"></a><a href="https://allendowney.github.io/CultureWar//blog7-hapgen"></a></p>



<p class="wp-block-paragraph"></p>
<p>The post <a href="https://www.allendowney.com/blog/2026/05/19/confidence-in-institutions/">Confidence in Institutions</a> appeared first on <a href="https://www.allendowney.com/blog">Probably Overthinking It</a>.</p>
]]></content:encoded>
            <post-id xmlns="com-wordpress:feed-additions:1">1803</post-id>
        </item>
        <item>
            <title>Planning for your midlife crisis</title>
            <link>https://www.allendowney.com/blog/2026/05/01/planning-for-your-midlife-crisis/</link>
            <dc:creator><![CDATA[AllenDowney]]></dc:creator>
            <pubDate>Fri, 01 May 2026 19:34:53 +0000</pubDate>
            <category><![CDATA[Uncategorized]]></category>
            <category><![CDATA[life expectancy]]></category>
            <category><![CDATA[mortality]]></category>
            <category><![CDATA[ODSC]]></category>
            <guid isPermaLink="false">https://www.allendowney.com/blog/?p=1794</guid>
            <description><![CDATA[<p>Yesterday I presented a talk at ODSC East 2026, called &#8220;Counterfactual Analysis with Bayesian Models: What Drives the Life Expectancy Gap?&#8221; Here&#8217;s the abstract Across nearly every country in the world, women live longer than men—but the size of this gap varies from about two years in some countries to more than twelve in others. What explains these differences, and how much of the gap can be closed? In this talk, I present a practical approach to counterfactual analysis using...</p>
<p class="read-more"><a class="btn btn-default" href="https://www.allendowney.com/blog/2026/05/01/planning-for-your-midlife-crisis/"> Read More<span class="screen-reader-text">  Read More</span></a></p>
<p>The post <a href="https://www.allendowney.com/blog/2026/05/01/planning-for-your-midlife-crisis/">Planning for your midlife crisis</a> appeared first on <a href="https://www.allendowney.com/blog">Probably Overthinking It</a>.</p>
]]></description>
            <content:encoded><![CDATA[
<p class="wp-block-paragraph">Yesterday I presented a talk at ODSC East 2026, called &#8220;Counterfactual Analysis with Bayesian Models: What Drives the Life Expectancy Gap?&#8221; Here&#8217;s the abstract</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p class="wp-block-paragraph">Across nearly every country in the world, women live longer than men—but the size of this gap varies from about two years in some countries to more than twelve in others. What explains these differences, and how much of the gap can be closed?</p>



<p class="wp-block-paragraph">In this talk, I present a practical approach to counterfactual analysis using Bayesian regression models. Using publicly available mortality data, we build a model that relates the life expectancy gap between men and women to differences in cause-specific death rates, including homicide, drug overdoses, traffic fatalities, smoking-related disease, and chronic illness.</p>



<p class="wp-block-paragraph">The model generates posterior simulations that answer “what-if” questions. For example: How much smaller would the U.S. life expectancy gap be if homicide rates matched those in Western Europe?</p>



<p class="wp-block-paragraph">The talk presents the workflow—from assembling global datasets to fitting interpretable Bayesian models with PyMC and generating counterfactual simulations. Attendees will learn how Bayesian models can support explainable modeling and analysis under uncertainty.</p>
</blockquote>



<p class="wp-block-paragraph">I think the talk went well, and we got some good questions at the end. There&#8217;s no recording, unfortunately, <a href="https://docs.google.com/presentation/d/e/2PACX-1vSiwjA6Mi95poqGQJiXw7Mdy0BgPa-aEmVhJHXwP35QRjt2dduEEN53yZi4fnpAReVaS-EDWS3CwMt1/pub?start=false&amp;loop=false&amp;delayms=3000">but my slides are here</a>. And if you want to know more, I have a series of blog posts on Substack</p>



<ul class="wp-block-list">
<li><a href="https://allendowney.substack.com/p/the-gender-gap-in-life-expectancy">The Gender Gap in Life Expectancy</a></li>



<li><a href="https://allendowney.substack.com/p/what-drives-the-life-expectancy-gender">What Drives the Life Expectancy Gender Gap?</a></li>



<li><a href="https://allendowney.substack.com/p/how-much-of-the-life-expectancy-gap">How Much of the Life Expectancy Gap Could We Close?</a></li>



<li><a href="https://allendowney.substack.com/p/international-patterns-in-the-life">International Patterns in the Life Expectancy Gap</a></li>
</ul>



<p class="wp-block-paragraph">The fifth and final post is on the way. In the meantime, here&#8217;s a quick post on a related topic.</p>



<h2 class="wp-block-heading">Are you middle-aged?</h2>



<p class="wp-block-paragraph">Here’s a question from Reddit’s <a href="https://www.reddit.com/r/stupidquestions/comments/1sxesux/what_age_is_actually_considered_middle_age/">Stupid Questions forum</a>:</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p class="wp-block-paragraph">I always thought middle age was in your 40s but since life expectancy is around 75 or so, wouldn’t it be about 35?</p>
</blockquote>



<p class="wp-block-paragraph">If life expectancy is 75, you might think the midpoint is half that, which is 37.5. But if 75 is life expectancy <em>at birth</em> and you survive to age 37.5, your life expectancy <em>at that age</em> is higher than 75. So 37.5 is not halfway!</p>



<p class="wp-block-paragraph">If we really want to find the midpoint – and it wouldn’t be <em>Probably Overthinking It</em> if we didn’t – we have to find the age where your expected remaining lifetime equals your current age.</p>



<p class="wp-block-paragraph">Let’s do it.</p>



<h2 class="wp-block-heading">Data</h2>



<p class="wp-block-paragraph">From the <a href="https://www.mortality.org/Country/Country?cntr=USA">Human Mortality Database</a> I downloaded life tables for the United States, combined and broken down for men and women. The following function reads and cleans a table.</p>



<pre id="codecell1" class="wp-block-preformatted">def read_life_table(filename):
    lt = pd.read_fwf(filename, skiprows=2, infer_nrows=200)
    lt['Age'] = lt['Age'].str.replace('+', '', regex=False).astype(int)
    return lt
</pre>



<p class="wp-block-paragraph">Here are the first few rows of the combined table (see notes below for details).</p>



<pre id="codecell2" class="wp-block-preformatted">blt = read_life_table('../data/bltper_1x1.txt')
blt.head()
</pre>



<figure class="wp-block-table"><table class="has-fixed-layout"><thead><tr><th></th><th>Year</th><th>Age</th><th>mx</th><th>qx</th><th>ax</th><th>lx</th><th>dx</th><th>Lx</th><th>Tx</th><th>ex</th></tr></thead><tbody><tr><th>0</th><td>1933</td><td>0</td><td>0.06129</td><td>0.05861</td><td>0.25</td><td>100000</td><td>5861</td><td>95624</td><td>6089609</td><td>60.90</td></tr><tr><th>1</th><td>1933</td><td>1</td><td>0.00946</td><td>0.00941</td><td>0.50</td><td>94139</td><td>886</td><td>93696</td><td>5993985</td><td>63.67</td></tr><tr><th>2</th><td>1933</td><td>2</td><td>0.00435</td><td>0.00434</td><td>0.50</td><td>93253</td><td>405</td><td>93050</td><td>5900289</td><td>63.27</td></tr><tr><th>3</th><td>1933</td><td>3</td><td>0.00310</td><td>0.00310</td><td>0.50</td><td>92848</td><td>288</td><td>92704</td><td>5807239</td><td>62.55</td></tr><tr><th>4</th><td>1933</td><td>4</td><td>0.00239</td><td>0.00238</td><td>0.50</td><td>92560</td><td>221</td><td>92450</td><td>5714535</td><td>61.74</td></tr></tbody></table></figure>



<p class="wp-block-paragraph">We’ll also read the female and male tables.</p>



<pre id="codecell3" class="wp-block-preformatted">flt = read_life_table('../data/fltper_1x1.txt')
</pre>



<pre id="codecell4" class="wp-block-preformatted">mlt = read_life_table('../data/mltper_1x1.txt')
</pre>



<p class="wp-block-paragraph">The tables include data from 1933 to 2024, so we’ll select the most recent data.</p>



<pre id="codecell5" class="wp-block-preformatted">year = blt['Year'].unique()[-1]
table = blt.query('Year == @year').set_index('Age')
</pre>



<p class="wp-block-paragraph">The column we’ll use is <code>ex</code>, which is life expectancy as a function of age.</p>



<pre id="codecell6" class="wp-block-preformatted">age = table.index.to_series()
ex = table['ex']
</pre>



<p class="wp-block-paragraph">Life expectancy at birth is 79 years, so the naive midpoint is 39.5.</p>



<pre id="codecell7" class="wp-block-preformatted">ex[0], ex[0] / 2
</pre>



<pre id="codecell8" class="wp-block-preformatted">(79.08, 39.54)
</pre>



<p class="wp-block-paragraph">But at age 40, expected remaining lifetime is 41.1, so 39.5 is not the midpoint.</p>



<pre id="codecell9" class="wp-block-preformatted">ex[39], ex[40]
</pre>



<pre id="codecell10" class="wp-block-preformatted">(42.04, 41.12)
</pre>



<p class="wp-block-paragraph">This plot shows life expectancy at each age, compared to age.</p>



<pre id="codecell11" class="wp-block-preformatted">ex.plot(label='Remaining life expectancy')
age.plot(label='Age')
decorate(ylabel='Years',
        title='Remaining life expectancy vs age, United States 2024')
</pre>



<figure class="wp-block-image"><img loading="lazy" decoding="async" width="438" height="250" src="https://www.allendowney.com/blog/wp-content/uploads/2026/05/a55e9cbde25b36d9c42e2ede2a78a827460d537f230b5cc4e7dfcb519a44bbc6.png" alt="_images/a55e9cbde25b36d9c42e2ede2a78a827460d537f230b5cc4e7dfcb519a44bbc6.png" class="wp-image-1797" srcset="https://www.allendowney.com/blog/wp-content/uploads/2026/05/a55e9cbde25b36d9c42e2ede2a78a827460d537f230b5cc4e7dfcb519a44bbc6.png 438w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/a55e9cbde25b36d9c42e2ede2a78a827460d537f230b5cc4e7dfcb519a44bbc6-300x171.png 300w" sizes="auto, (max-width: 438px) 100vw, 438px" /></figure>



<p class="wp-block-paragraph">“Middle age” is where the lines cross, which we can compute by linear interpolation.</p>



<pre id="codecell12" class="wp-block-preformatted">from scipy.interpolate import interp1d

inverse = interp1d(ex - age, age)
inverse(0)
</pre>



<pre id="codecell13" class="wp-block-preformatted">array(40.58638743)
</pre>



<p class="wp-block-paragraph">So the overall midpoint is 40.6 years. But as you might expect, it’s different for men and women. Let’s put the analysis we did in a function.</p>



<pre id="codecell14" class="wp-block-preformatted">def get_midpoint(filename):
    lt = read_life_table(filename)
    year = lt['Year'].unique()[-1]
    table = lt.query('Year == @year').set_index('Age')

    age = pd.Series(table.index)
    ex = table['ex']

    inverse = interp1d(ex - age, age)
    return inverse(0)
</pre>



<p class="wp-block-paragraph">And run it for men.</p>



<pre id="codecell15" class="wp-block-preformatted">get_midpoint('../data/mltper_1x1.txt')
</pre>



<pre id="codecell16" class="wp-block-preformatted">array(39.57142857)
</pre>



<p class="wp-block-paragraph">And women.</p>



<pre id="codecell17" class="wp-block-preformatted">get_midpoint('../data/fltper_1x1.txt')
</pre>



<pre id="codecell18" class="wp-block-preformatted">array(41.56185567)
</pre>



<p class="wp-block-paragraph">Men hit middle age at 39.6, women at 41.6.</p>



<h2 class="wp-block-heading">The Gender Gap and Age</h2>



<p class="wp-block-paragraph">Finally, let’s see how the gender gap in life expectancy changes as a function of age.</p>



<pre id="codecell19" class="wp-block-preformatted">ex_male = mlt.query('Year == @year').set_index('Age')['ex']
ex_female = flt.query('Year == @year').set_index('Age')['ex']
gap = ex_female - ex_male
</pre>



<pre id="codecell20" class="wp-block-preformatted">gap.plot(label='')
decorate(ylabel='Years',
         title='Life expectancy gender gap vs age')
</pre>



<figure class="wp-block-image"><img loading="lazy" decoding="async" width="438" height="250" src="https://www.allendowney.com/blog/wp-content/uploads/2026/05/2cf48be5acc971ad8f6973506c224767a25ef2e38bcf53c5b12b0f895c26ed11.png" alt="_images/2cf48be5acc971ad8f6973506c224767a25ef2e38bcf53c5b12b0f895c26ed11.png" class="wp-image-1796" srcset="https://www.allendowney.com/blog/wp-content/uploads/2026/05/2cf48be5acc971ad8f6973506c224767a25ef2e38bcf53c5b12b0f895c26ed11.png 438w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/2cf48be5acc971ad8f6973506c224767a25ef2e38bcf53c5b12b0f895c26ed11-300x171.png 300w" sizes="auto, (max-width: 438px) 100vw, 438px" /></figure>



<p class="wp-block-paragraph">At birth the life expectancy gap is close to five years. At age 100, it is close to zero.</p>



<p class="wp-block-paragraph">But just looking at the gap might be misleading. For a more complete picture let’s also look at the ratio.</p>



<pre id="codecell21" class="wp-block-preformatted">ratio = ex_female / ex_male
ratio.plot(label='')

decorate(ylabel='Ratio',
         title='Life expectancy gender ratio (female / male)')
</pre>



<figure class="wp-block-image"><img loading="lazy" decoding="async" width="446" height="250" src="https://www.allendowney.com/blog/wp-content/uploads/2026/05/1a514d22895c3e18a767184700d6edf467975abb4b302afe044fd42c002ae21c.png" alt="_images/1a514d22895c3e18a767184700d6edf467975abb4b302afe044fd42c002ae21c.png" class="wp-image-1798" srcset="https://www.allendowney.com/blog/wp-content/uploads/2026/05/1a514d22895c3e18a767184700d6edf467975abb4b302afe044fd42c002ae21c.png 446w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/1a514d22895c3e18a767184700d6edf467975abb4b302afe044fd42c002ae21c-300x168.png 300w" sizes="auto, (max-width: 446px) 100vw, 446px" /></figure>



<p class="wp-block-paragraph">The life expectancy ratio tells a more complicated story.</p>



<ul class="wp-block-list">
<li>At birth, the ratio is 1.06, which means female babies live 6% longer, on average.</li>



<li>Around age 80, the ratio peaks at nearly 1.14 – so between female and male octogenarians, we expect the women to live 14% longer.</li>



<li>At advanced ages, the ratio declines steeply and actually crosses over after age 100 – although the crossover is minimal and might not be statistically valid.</li>
</ul>



<p class="wp-block-paragraph">To interpret these results, we can think about the causes of death that contribute to age-specific death rates at different stages of life.</p>



<ul class="wp-block-list">
<li>In young adulthood, the causes of death that contribute most to gender gaps include road traffic, homicide, accidental injury, drug use disorders.</li>



<li>In advanced adulthood, they include cancer, cardiovascular disease, respiratory disease, liver disease, diabetes, and suicide.</li>
</ul>



<p class="wp-block-paragraph">The causes that affect younger people have large gender gaps, but relatively low death rates. As people get older, these low-rate causes contribute less to age-specific death rates, and the higher-rate causes contribute more.</p>



<p class="wp-block-paragraph">I think that’s a plausible explanation for the increasing ratio from age 0 to 80. For the decline that follows, I can only speculate that there is a selection effect: people who get to these advanced ages are likely to have better-than-average lifestyle histories (less smoking and drinking, better diet, more exercise) – and among people with better lifestyles, the gender gap is small.</p>



<h2 class="wp-block-heading">Notes</h2>



<p class="wp-block-paragraph">Data credit: HMD. Human Mortality Database. Max Planck Institute for Demographic Research (Germany), University of California, Berkeley (USA), and French Institute for Demographic Studies (France). Available at [<a href="http://www.mortality.org">www.mortality.org</a>].</p>



<p class="wp-block-paragraph">Here are the columns of the 1×1 Period Life Tables:</p>



<ul class="wp-block-list">
<li><strong>Year</strong>: Calendar year to which the period life table refers.</li>



<li><strong>Age</strong>: Exact age (x), in years, at the beginning of the interval ([x, x+1)).</li>



<li><strong>mx</strong>: Central death rate at age (x):</li>
</ul>



<ul class="wp-block-list">
<li><strong>qx</strong>: Probability of dying between ages (x) and (x+1):</li>
</ul>



<ul class="wp-block-list">
<li><strong>ax</strong>: Average fraction of the interval lived by those who die in ([x, x+1)). Typically around 0.5 for most ages, lower for infants (reflecting higher early mortality within the year).</li>



<li><strong>lx</strong>: Number of survivors at exact age (x), out of a radix (usually 100,000 births).</li>



<li><strong>dx</strong>: Number of deaths between ages (x) and (x+1):</li>
</ul>



<ul class="wp-block-list">
<li><strong>Lx</strong>: Person-years lived between ages (x) and (x+1), approximately</li>
</ul>



<ul class="wp-block-list">
<li><strong>Tx</strong>: Total person-years remaining above age (x):</li>
</ul>



<ul class="wp-block-list">
<li><strong>ex</strong>: Life expectancy at age (x):</li>
</ul>



<p class="wp-block-paragraph">The details are in<a href="https://github.com/AllenDowney/ProbablyOverthinkingIt/blob/book/examples/midlife.ipynb"> this Jupyter notebook</a>.</p>
<p>The post <a href="https://www.allendowney.com/blog/2026/05/01/planning-for-your-midlife-crisis/">Planning for your midlife crisis</a> appeared first on <a href="https://www.allendowney.com/blog">Probably Overthinking It</a>.</p>
]]></content:encoded>
            <post-id xmlns="com-wordpress:feed-additions:1">1794</post-id>
        </item>
        <item>
            <title>Changing Opinions on Assisted Suicide</title>
            <link>https://www.allendowney.com/blog/2026/04/16/changing-opinions-on-assisted-suicide/</link>
            <dc:creator><![CDATA[AllenDowney]]></dc:creator>
            <pubDate>Thu, 16 Apr 2026 20:01:37 +0000</pubDate>
            <category><![CDATA[Uncategorized]]></category>
            <category><![CDATA[age period cohort analysis]]></category>
            <category><![CDATA[bayesian statistics]]></category>
            <category><![CDATA[general social survey]]></category>
            <guid isPermaLink="false">https://www.allendowney.com/blog/?p=1782</guid>
            <description><![CDATA[<p>In Graphs About Religion, Ryan Burge recently wrote about changing opinions about assisted suicide and how they relate to religion. As always, when I see survey responses changing over time, I wonder whether it is driven primarily by period or cohort effects. And if you’ve read my last few posts, you know I’ve been working on a Bayesian model to answer that question. Ryan’s analysis is based on four questions from the General Social Survey (GSS): In addition, we’ll look...</p>
<p class="read-more"><a class="btn btn-default" href="https://www.allendowney.com/blog/2026/04/16/changing-opinions-on-assisted-suicide/"> Read More<span class="screen-reader-text">  Read More</span></a></p>
<p>The post <a href="https://www.allendowney.com/blog/2026/04/16/changing-opinions-on-assisted-suicide/">Changing Opinions on Assisted Suicide</a> appeared first on <a href="https://www.allendowney.com/blog">Probably Overthinking It</a>.</p>
]]></description>
            <content:encoded><![CDATA[
<p class="wp-block-paragraph">In <a href="https://www.graphsaboutreligion.com/p/god-death-and-the-right-to-choose" target="_blank" rel="noreferrer noopener">Graphs About Religion</a>, Ryan Burge recently wrote about changing opinions about assisted suicide and how they relate to religion.</p>



<p class="wp-block-paragraph">As always, when I see survey responses changing over time, I wonder whether it is driven primarily by period or cohort effects. And if you’ve read my last few posts, you know I’ve been working on a Bayesian model to answer that question.</p>



<p class="wp-block-paragraph">Ryan’s analysis is based on four questions from the General Social Survey (GSS):</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p class="wp-block-paragraph">Do you think a person has the right to end his or her own life if this person:</p>



<ul class="wp-block-list">
<li>Has an incurable disease? (<code>suicide1</code>)</li>



<li>Has gone bankrupt? (<code>suicide2</code>)</li>



<li>Has dishonored his or her family? (<code>suicide3</code>)</li>



<li>Is tired of living and ready to die? (<code>suicide4</code>)</li>
</ul>
</blockquote>



<p class="wp-block-paragraph">In addition, we’ll look at results from a related question (<code>letdie1</code>):</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p class="wp-block-paragraph">When a person has a disease that cannot be cured, do you think doctors should be allowed by law to end the patient’s life by some painless means if the patient and his family request it?</p>
</blockquote>



<p class="wp-block-paragraph">The framing of the questions is different: the first four are about the right to end one’s life and the last is about the legality of doctor-assisted suicide.</p>



<p class="wp-block-paragraph">Before we look at the breakdown of period and cohort effects, here are the results from a model that estimates latent opposition to each proposition as a smooth function over time.</p>



<figure class="wp-block-image" id="letdie-single-time"><img loading="lazy" decoding="async" width="1108" height="704" src="https://www.allendowney.com/blog/wp-content/uploads/2026/04/letdie_compare_time_-340f828df36b2086971ded6f63293cf6.png" alt="Time-only trends." class="wp-image-1784" srcset="https://www.allendowney.com/blog/wp-content/uploads/2026/04/letdie_compare_time_-340f828df36b2086971ded6f63293cf6.png 1108w, https://www.allendowney.com/blog/wp-content/uploads/2026/04/letdie_compare_time_-340f828df36b2086971ded6f63293cf6-300x191.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/04/letdie_compare_time_-340f828df36b2086971ded6f63293cf6-1024x651.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/04/letdie_compare_time_-340f828df36b2086971ded6f63293cf6-768x488.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/04/letdie_compare_time_-340f828df36b2086971ded6f63293cf6-425x270.png 425w" sizes="auto, (max-width: 1108px) 100vw, 1108px" /></figure>



<p class="wp-block-paragraph">Opposition to suicide is high in three of the scenarios &#8212; bankrupt, dishonored family, and tired of living &#8212; and lower in the incurable disease scenarios.</p>



<p class="wp-block-paragraph">In all five questions, opposition has declined over time, although for the incurable disease scenarios, it might have leveled off after 1990.</p>



<h2 class="wp-block-heading" id="doctor-assisted-death">Doctor-assisted death</h2>



<p class="wp-block-paragraph">Now let’s see if we can decompose these changes into period and cohort effects. We’ll start with the question about doctor-assisted death when the patient has an incurable disease.</p>



<p class="wp-block-paragraph">As in the previous posts, I used a Bayesian model to estimate a trajectory over time for each birth cohort, shown in the following figure.</p>



<figure class="wp-block-image" id="letdie1-cohort-trajectories"><img loading="lazy" decoding="async" width="1330" height="778" src="https://www.allendowney.com/blog/wp-content/uploads/2026/04/cohort_trajectory_le-28df4a8cc3e21cad9b463f53ddf9a3ef.png" alt="Cohort trajectories: letdie1." class="wp-image-1785" srcset="https://www.allendowney.com/blog/wp-content/uploads/2026/04/cohort_trajectory_le-28df4a8cc3e21cad9b463f53ddf9a3ef.png 1330w, https://www.allendowney.com/blog/wp-content/uploads/2026/04/cohort_trajectory_le-28df4a8cc3e21cad9b463f53ddf9a3ef-300x175.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/04/cohort_trajectory_le-28df4a8cc3e21cad9b463f53ddf9a3ef-1024x599.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/04/cohort_trajectory_le-28df4a8cc3e21cad9b463f53ddf9a3ef-768x449.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/04/cohort_trajectory_le-28df4a8cc3e21cad9b463f53ddf9a3ef-462x270.png 462w" sizes="auto, (max-width: 1330px) 100vw, 1330px" /></figure>



<p class="wp-block-paragraph">Reading from top to bottom, we can see that opposition has declined from one cohort to the next, and reading from left to right, we can see that opposition has varied over time within each cohort.</p>



<p class="wp-block-paragraph">The following figure shows the cohort component alone, standardized to factor out the period effect.</p>



<figure class="wp-block-image" id="letdie1-cohort-component"><img loading="lazy" decoding="async" width="1166" height="790" src="https://www.allendowney.com/blog/wp-content/uploads/2026/04/cohort_standardized_-d780162e3521c3e8c568d864d1d04042.png" alt="Cohort component (uniform years): letdie1." class="wp-image-1786" srcset="https://www.allendowney.com/blog/wp-content/uploads/2026/04/cohort_standardized_-d780162e3521c3e8c568d864d1d04042.png 1166w, https://www.allendowney.com/blog/wp-content/uploads/2026/04/cohort_standardized_-d780162e3521c3e8c568d864d1d04042-300x203.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/04/cohort_standardized_-d780162e3521c3e8c568d864d1d04042-1024x694.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/04/cohort_standardized_-d780162e3521c3e8c568d864d1d04042-768x520.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/04/cohort_standardized_-d780162e3521c3e8c568d864d1d04042-399x270.png 399w" sizes="auto, (max-width: 1166px) 100vw, 1166px" /></figure>



<p class="wp-block-paragraph">Opposition to doctor-assisted suicide has declined from more than 40% in the earliest cohorts to 20% among people born in 2006.</p>



<p class="wp-block-paragraph">A possible explanation for the cohort pattern is that people anchor their moral judgments to the legal environment they encounter when they are young. During the “impressionable years” of late adolescence and early adulthood, existing laws can establish a moral baseline, so that what is illegal is inferred to be wrong, and therefore should remain illegal. As a result, gradual legalization can generate long-run attitudinal change through cohort replacement: people who grow up after a practice becomes legal are less likely to see it as morally problematic.</p>



<p class="wp-block-paragraph">The following figure shows the period effect alone, along with the results from the time model (which includes both period and cohort effects).</p>



<figure class="wp-block-image" id="letdie1-period-time"><img loading="lazy" decoding="async" width="1166" height="790" src="https://www.allendowney.com/blog/wp-content/uploads/2026/04/time_standardized_le-c7580a12cc292dbce6e525849d0e6220.png" alt="Standardized period component with time model: letdie1." class="wp-image-1788" srcset="https://www.allendowney.com/blog/wp-content/uploads/2026/04/time_standardized_le-c7580a12cc292dbce6e525849d0e6220.png 1166w, https://www.allendowney.com/blog/wp-content/uploads/2026/04/time_standardized_le-c7580a12cc292dbce6e525849d0e6220-300x203.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/04/time_standardized_le-c7580a12cc292dbce6e525849d0e6220-1024x694.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/04/time_standardized_le-c7580a12cc292dbce6e525849d0e6220-768x520.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/04/time_standardized_le-c7580a12cc292dbce6e525849d0e6220-399x270.png 399w" sizes="auto, (max-width: 1166px) 100vw, 1166px" /></figure>



<p class="wp-block-paragraph">Comparing the two lines, we can conclude that the decline we see over time is entirely due to the cohort effect &#8212; when we control for generational replacement, the estimated period effect has generally <em>increased</em> since 1990.</p>



<p class="wp-block-paragraph">The increase between 1990 and 2005 might reflect increasing moral concern due to advances in life-sustaining medical technology, high-profile legal disputes like the <a href="https://en.wikipedia.org/wiki/Terri_Schiavo_case" target="_blank" rel="noreferrer noopener">Terri Schiavo case</a>, and broader discussions of the sanctity of life.</p>



<p class="wp-block-paragraph">The decline between 2005 to 2015 might reflect normalization of assisted dying following legalization in several states (Oregon in 1997, Washington in 2008, and Montana in 2009, Vermont in 2013), along with a shift in public discourse toward autonomy, dignity, and patient choice, reinforced by high-profile cases like <a href="https://en.wikipedia.org/wiki/Brittany_Maynard" target="_blank" rel="noreferrer noopener">Brittany Maynard</a>.</p>



<h2 class="wp-block-heading" id="other-scenarios">Other Scenarios</h2>



<p class="wp-block-paragraph">The following figure shows the estimated cohort effects for all five questions.</p>



<figure class="wp-block-image" id="letdie-single-cohort"><img loading="lazy" decoding="async" width="1108" height="704" src="https://www.allendowney.com/blog/wp-content/uploads/2026/04/letdie_compare_cohor-ca0769cc27ba5266de2e551bbf9f7ec3.png" alt="Cohort margins, single panel." class="wp-image-1789" srcset="https://www.allendowney.com/blog/wp-content/uploads/2026/04/letdie_compare_cohor-ca0769cc27ba5266de2e551bbf9f7ec3.png 1108w, https://www.allendowney.com/blog/wp-content/uploads/2026/04/letdie_compare_cohor-ca0769cc27ba5266de2e551bbf9f7ec3-300x191.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/04/letdie_compare_cohor-ca0769cc27ba5266de2e551bbf9f7ec3-1024x651.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/04/letdie_compare_cohor-ca0769cc27ba5266de2e551bbf9f7ec3-768x488.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/04/letdie_compare_cohor-ca0769cc27ba5266de2e551bbf9f7ec3-425x270.png 425w" sizes="auto, (max-width: 1108px) 100vw, 1108px" /></figure>



<p class="wp-block-paragraph">For the incurable disease scenario, opposition has declined from more than 60% in the earliest cohorts to less than 40% among cohorts born after 1950 &#8212; although it might have leveled off since then.</p>



<p class="wp-block-paragraph">In the other scenarios, opposition has also declined from one cohort to the next, but the size of the effect is smaller.</p>



<p class="wp-block-paragraph">The following figure shows the estimated period effects, controlling for generational replacement.</p>



<figure class="wp-block-image" id="letdie-single-period"><img loading="lazy" decoding="async" width="1108" height="704" src="https://www.allendowney.com/blog/wp-content/uploads/2026/04/letdie_compare_perio-76fe4f16ad277fcdde3a47797ddbb13e.png" alt="Period margins, single panel." class="wp-image-1787" srcset="https://www.allendowney.com/blog/wp-content/uploads/2026/04/letdie_compare_perio-76fe4f16ad277fcdde3a47797ddbb13e.png 1108w, https://www.allendowney.com/blog/wp-content/uploads/2026/04/letdie_compare_perio-76fe4f16ad277fcdde3a47797ddbb13e-300x191.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/04/letdie_compare_perio-76fe4f16ad277fcdde3a47797ddbb13e-1024x651.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/04/letdie_compare_perio-76fe4f16ad277fcdde3a47797ddbb13e-768x488.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/04/letdie_compare_perio-76fe4f16ad277fcdde3a47797ddbb13e-425x270.png 425w" sizes="auto, (max-width: 1108px) 100vw, 1108px" /></figure>



<p class="wp-block-paragraph">Since 1990, most of the period effects are small. The only exception is the “tired of living” scenario, where there is some decline over time, independent of generational replacement.</p>



<p class="wp-block-paragraph">In the next post, we&#8217;ll do the same analysis with questions about abortion and the situations where it should be legal or not.</p>



<p class="wp-block-paragraph"></p>
<p>The post <a href="https://www.allendowney.com/blog/2026/04/16/changing-opinions-on-assisted-suicide/">Changing Opinions on Assisted Suicide</a> appeared first on <a href="https://www.allendowney.com/blog">Probably Overthinking It</a>.</p>
]]></content:encoded>
            <post-id xmlns="com-wordpress:feed-additions:1">1782</post-id>
        </item>
    </channel>
</rss>
Raw text
<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Probably Overthinking It</title>
	<atom:link href="https://www.allendowney.com/blog/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.allendowney.com/blog/</link>
	<description>Data science, Bayesian Statistics, and other ideas</description>
	<lastBuildDate>Fri, 04 Sep 2026 13:19:22 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1</generator>

<image>
	<url>https://www.allendowney.com/blog/wp-content/uploads/2026/03/cropped-pit_logo1-32x32.jpg</url>
	<title>Probably Overthinking It</title>
	<link>https://www.allendowney.com/blog/</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">152259904</site>	<item>
		<title>New Book!</title>
		<link>https://www.allendowney.com/blog/2026/09/04/new-book/</link>
		
		<dc:creator><![CDATA[AllenDowney]]></dc:creator>
		<pubDate>Fri, 04 Sep 2026 13:19:21 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[announcement]]></category>
		<guid isPermaLink="false">https://www.allendowney.com/blog/?p=1902</guid>

					<description><![CDATA[<p>I am working on a new book called You Would Choose Now: Measuring America&#8217;s Progress Toward Fairness and Tolerance. It&#8217;s a data-driven exploration of progress (or not) in public opinion and civil rights. I posted the first two chapters as an Early Access edition on LeanPub (a platform for posting work in progress like this): https://leanpub.com/ywcn If you would like to check it out, the &#8220;Free Sample&#8221; has just the first chapter. If you sign up with an email address,...</p>
<p class="read-more"><a class="btn btn-default" href="https://www.allendowney.com/blog/2026/09/04/new-book/"> Read More<span class="screen-reader-text">  Read More</span></a></p>
<p>The post <a href="https://www.allendowney.com/blog/2026/09/04/new-book/">New Book!</a> appeared first on <a href="https://www.allendowney.com/blog">Probably Overthinking It</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div class="wp-block-image">
<figure class="alignright size-full is-resized"><img fetchpriority="high" decoding="async" width="540" height="810" src="https://www.allendowney.com/blog/wp-content/uploads/2026/09/cover-concept-spectrum-front.png" alt="" class="wp-image-1903" style="width:268px;height:auto" srcset="https://www.allendowney.com/blog/wp-content/uploads/2026/09/cover-concept-spectrum-front.png 540w, https://www.allendowney.com/blog/wp-content/uploads/2026/09/cover-concept-spectrum-front-200x300.png 200w, https://www.allendowney.com/blog/wp-content/uploads/2026/09/cover-concept-spectrum-front-180x270.png 180w" sizes="(max-width: 540px) 100vw, 540px" /></figure>
</div>


<p class="wp-block-paragraph">I am working on a new book called <em>You Would Choose Now: Measuring America&#8217;s Progress Toward Fairness and Tolerance</em>. It&#8217;s a data-driven exploration of progress (or not) in public opinion and civil rights.</p>



<p class="wp-block-paragraph">I posted the first two chapters as an Early Access edition on LeanPub (a platform for posting work in progress like this): <a href="https://leanpub.com/ywcn">https://leanpub.com/ywcn</a></p>



<p class="wp-block-paragraph">If you would like to check it out, the &#8220;Free Sample&#8221; has just the first chapter. If you sign up with an email address, you can get the &#8220;Community Edition&#8221;, which has the first two chapters &#8212; and that&#8217;s all there are for now. Chapter 3 is scheduled for October 1.</p>



<p class="wp-block-paragraph">As I add chapters over the next six months, I will post excerpts on <a href="https://allendowney.substack.com/">Substack</a>. So if you only follow this blog and not my Substack, you might want to sign up over there. I will continue to post on other topics here.</p>



<h2 class="wp-block-heading">What&#8217;s it about?</h2>



<p class="wp-block-paragraph">If you read <a href="https://www.allendowney.com/blog/2026/06/16/you-would-choose-now/">this post from a couple of weeks ago</a>, you already know the premise of the book: in 2016, Barack Obama gave a commencement address at Howard University, where he said</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p class="wp-block-paragraph"><strong>If you had to choose one moment in history in which you could be born</strong>, and you didn’t know ahead of time who you were going to be — what nationality, what gender, what race, whether you’d be rich or poor, gay or straight, what faith you’d be born into — you wouldn’t choose 100 years ago. You wouldn’t choose the fifties, or the sixties, or the seventies. <strong>You’d choose right now.</strong></p>
</blockquote>



<p class="wp-block-paragraph">That was a bold thing to say to new college graduates, even in 2016. So I read Obama&#8217;s address with a skeptical eye. I wondered if he was right in 2016, and if so, whether he would still be right in 2026. And I thought about how to prove or disprove it. That&#8217;s what the book is about.</p>



<p class="wp-block-paragraph">Chapter 1 is an introduction that includes an example of the primary statistical method I&#8217;ll use, period-cohort analysis. Chapter 2 is about sexual orientation. I plan to publish Chapter 3, which is about gender, on October 1. And then Chapter 4, about race, on November 1.</p>



<p class="wp-block-paragraph">Part of the reason I am publishing incrementally is to encourage reader feedback, so I welcome comments and suggestions.</p>



<p class="wp-block-paragraph">And if you are interested in the technical details, there&#8217;s an <a href="https://allendowney.github.io/YouWouldChooseNow/">appendix that explains the analysis</a>.</p>
<p>The post <a href="https://www.allendowney.com/blog/2026/09/04/new-book/">New Book!</a> appeared first on <a href="https://www.allendowney.com/blog">Probably Overthinking It</a>.</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1902</post-id>	</item>
		<item>
		<title>Think Java, but interactive</title>
		<link>https://www.allendowney.com/blog/2026/08/22/think-java-but-interactive/</link>
		
		<dc:creator><![CDATA[AllenDowney]]></dc:creator>
		<pubDate>Sat, 22 Aug 2026 13:14:57 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[java-runner]]></category>
		<guid isPermaLink="false">https://www.allendowney.com/blog/?p=1893</guid>

					<description><![CDATA[<p>The online version of Think Java now features interactive widgets that run the code examples in the browser. For readers, it means you can try out the examples, modify them, and test your code. And for us it means we can publish an interactive version of the book without providing servers. The widgets use java-runner, an in-browser Java editor and interpreter developed by Think Java co-author Chris Mayfield. java-runner implements a subset of Java with the features needed for most...</p>
<p class="read-more"><a class="btn btn-default" href="https://www.allendowney.com/blog/2026/08/22/think-java-but-interactive/"> Read More<span class="screen-reader-text">  Read More</span></a></p>
<p>The post <a href="https://www.allendowney.com/blog/2026/08/22/think-java-but-interactive/">Think Java, but interactive</a> appeared first on <a href="https://www.allendowney.com/blog">Probably Overthinking It</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">The <a href="https://chrismayfield.github.io/ThinkJava2/">online version of <em>Think Java</em></a> now features interactive widgets that <strong>run the code examples in the browser</strong>. For readers, it means you can try out the examples, modify them, and test your code. And for us it means we can publish an interactive version of the book without providing servers.</p>



<p class="wp-block-paragraph">The widgets use <a href="https://github.com/ChrisMayfield/java-runner">java-runner</a>, an in-browser Java editor and interpreter developed by <em>Think Java</em> co-author Chris Mayfield.</p>



<p class="wp-block-paragraph">java-runner implements a subset of Java with the features needed for most programming classes, plus some safety features &#8212; like a maximum instruction count to stop infinite loops. It provides a code editor and a REPL.</p>



<p class="wp-block-paragraph">Here&#8217;s an example of the code editor, from <a href="https://chrismayfield.github.io/ThinkJava2/ch06.html#the-while-statement">Section 6.1</a>:</p>



<iframe
  src="https://chrismayfield.github.io/ThinkJava2/embed/collatz-conjecture.html"
  width="100%"
  height="420"
  style="border:1px solid #e0e0e0;border-radius:6px;"
  loading="lazy"
  title="Collatz conjecture — interactive Java">
</iframe>



<p class="wp-block-paragraph">And here&#8217;s an example of the REPL, from <a href="https://chrismayfield.github.io/ThinkJava2/ch06.html#characters">Section 6.6:</a>:</p>



<iframe
  src="https://chrismayfield.github.io/ThinkJava2/embed/fruit-charat-repl.html"
  width="100%"
  height="320"
  style="border:1px solid #e0e0e0;border-radius:6px;"
  loading="lazy"
  title="String charAt — Java REPL">
</iframe>



<p class="wp-block-paragraph">We&#8217;re aware of <a href="https://github.com/ChrisMayfield/java-runner/issues/2">one example</a> where the behavior of java-runner differs from the Java language specification &#8212; so we&#8217;re working on that.</p>



<p class="wp-block-paragraph"></p>
<p>The post <a href="https://www.allendowney.com/blog/2026/08/22/think-java-but-interactive/">Think Java, but interactive</a> appeared first on <a href="https://www.allendowney.com/blog">Probably Overthinking It</a>.</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1893</post-id>	</item>
		<item>
		<title>Greatest GOAT of All Time?</title>
		<link>https://www.allendowney.com/blog/2026/06/27/greatest-goat-of-all-time/</link>
		
		<dc:creator><![CDATA[AllenDowney]]></dc:creator>
		<pubDate>Sat, 27 Jun 2026 15:28:04 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[cricket]]></category>
		<category><![CDATA[Gaussian]]></category>
		<category><![CDATA[GOAT]]></category>
		<category><![CDATA[lognormal]]></category>
		<category><![CDATA[Weibull]]></category>
		<guid isPermaLink="false">https://www.allendowney.com/blog/?p=1867</guid>

					<description><![CDATA[<p>A recent post claims that the “most statistically dominant athlete” of all time was cricketer Don Bradman. It’s a bold claim – let’s see if it holds up. In Chapter 4 of Probably Overthinking It, I listed a few examples of athletes who are considered the Greatest Of All Time (GOAT), and noted that in many cases they are not just a little better than the second-best, but much better. That is, they are outliers among outliers. And I suggested...</p>
<p class="read-more"><a class="btn btn-default" href="https://www.allendowney.com/blog/2026/06/27/greatest-goat-of-all-time/"> Read More<span class="screen-reader-text">  Read More</span></a></p>
<p>The post <a href="https://www.allendowney.com/blog/2026/06/27/greatest-goat-of-all-time/">Greatest GOAT of All Time?</a> appeared first on <a href="https://www.allendowney.com/blog">Probably Overthinking It</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph"><em>A recent post claims that the “most statistically dominant athlete” of all time was cricketer Don Bradman. It’s a bold claim – let’s see if it holds up.</em></p>



<p class="wp-block-paragraph">In <a href="https://allendowney.github.io/ProbablyOverthinkingIt/lognormal.html#the-greatest-of-all-time"><em>Chapter 4 of Probably Overthinking It</em></a>, I listed a few examples of athletes who are considered the Greatest Of All Time (GOAT), and noted that in many cases they are not just a little better than the second-best, but much better. That is, they are outliers among outliers.</p>



<p class="wp-block-paragraph">And I suggested that part of the explanation for this phenomenon is that the distribution of accomplishment in many fields (at least, the ones where accomplishment can be quantified) follows a lognormal distribution. That matters because the lognormal distribution has a long tail, which means that extreme values can be much farther from the mean than we would see in a Gaussian (normal) distribution.</p>



<p class="wp-block-paragraph">So I was intrigued by <a href="https://www.instagram.com/reel/DZ6anr1CjT2/">this post</a> about <a href="https://en.wikipedia.org/wiki/Don_Bradman#Statistical_summary">Don Bradman</a>:</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p class="wp-block-paragraph">The most statistically dominant athlete ever isn’t Jordan or Messi — and you’ve probably never heard of him. <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f3cf.png" alt="🏏" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>



<p class="wp-block-paragraph">I plotted the career batting averages of the greatest Test cricketers of all time. They make a clean bell curve. In cricket, averaging 50 makes you an immortal legend, and the all-time record holders top out around 60 — about 2 standard deviations above the mean.</p>



<p class="wp-block-paragraph">Then there’s Don Bradman: 99.94. More than 6 standard deviations out. The gap between him and the SECOND best player is bigger than the gap between #2 and the entire average. By the math, a batsman this good should appear about once in 7 billion.</p>



<p class="wp-block-paragraph">To be this far ahead in basketball, Michael Jordan would’ve had to average 43 points in every single game he ever played. No one in any sport — not Jordan, not Gretzky, not Messi — is this far from their peers.</p>



<p class="wp-block-paragraph">Not just the greatest. The single biggest outlier in the history of sport.</p>
</blockquote>



<p class="wp-block-paragraph">Let’s see if that’s true. In particular, I’ll investigate the “clean bell curve” – it implies a Gaussian model of the data, which is where that “once in 7 billion” comes from.</p>



<p class="wp-block-paragraph">To give away the ending, here’s what I found:</p>



<ul class="wp-block-list">
<li>The data don’t fit a Gaussian particularly well, especially in the tail, so the “one in 7 billion” might not be right.</li>



<li>I thought they might fit a lognormal better, but I was wrong.</li>



<li>It turns out that the data fit a Weibull distribution <em>very</em> well, and from that we can get a revised estimate of how much of a GOAT Bradman was.</li>
</ul>



<p class="wp-block-paragraph">As it turns out, he was a pretty goaty GOAT – but not quite one in 7 billion.</p>



<h2 class="wp-block-heading">Load the data</h2>



<p class="wp-block-paragraph">I got the data from <a href="https://www.kaggle.com/datasets/udaytunguturi/batsmen-career-runs-data-for-cricket-analytics">Kaggle</a> (<code>runs_of_batsmen.csv</code>).</p>



<pre class="wp-block-preformatted">DATA_PATH = "runs_of_batsmen.csv"

df = pd.read_csv(DATA_PATH)

# Convert to numeric, coercing errors to NaN
df['Batting Average'] = pd.to_numeric(df['Batting Average'], errors='coerce')
df['Innings'] = pd.to_numeric(df['Innings'], errors='coerce')
</pre>



<p class="wp-block-paragraph">I select only batters with 10 or more innings.</p>



<pre class="wp-block-preformatted">df = df.query('Innings >= 10')
</pre>



<p class="wp-block-paragraph">Here’s what the distribution of batting averages looks like.</p>



<pre class="wp-block-preformatted">import seaborn as sns

sns.kdeplot(df['Batting Average'])
decorate()
</pre>



<figure class="wp-block-image"><img decoding="async" width="630" height="470" src="https://www.allendowney.com/blog/wp-content/uploads/2026/06/9e6e3e754fa48807f6d4f5b72552714ed01e3d2dec5cfb8bb37abb5ad845d7aa.png" alt="_images/9e6e3e754fa48807f6d4f5b72552714ed01e3d2dec5cfb8bb37abb5ad845d7aa.png" class="wp-image-1873" srcset="https://www.allendowney.com/blog/wp-content/uploads/2026/06/9e6e3e754fa48807f6d4f5b72552714ed01e3d2dec5cfb8bb37abb5ad845d7aa.png 630w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/9e6e3e754fa48807f6d4f5b72552714ed01e3d2dec5cfb8bb37abb5ad845d7aa-300x224.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/9e6e3e754fa48807f6d4f5b72552714ed01e3d2dec5cfb8bb37abb5ad845d7aa-362x270.png 362w" sizes="(max-width: 630px) 100vw, 630px" /></figure>



<p class="wp-block-paragraph">That’s not much of a bell curve. It’s pretty clearly skewed to the right, even if we leave Bradman out of it. But let’s fit a Gaussian to it anyway.</p>



<h2 class="wp-block-heading">The Gaussian Model</h2>



<p class="wp-block-paragraph">There are a lot of ways to fit a model to data. The one I like for applications like this is percentile matching – that is, finding a model that minimizes the average vertical distance between the empirical CDF of the data and the CDF of the model. That’s what <code>fit_normal</code> does.</p>



<pre class="wp-block-preformatted">avg_series = df["Batting Average"].dropna()
gaussian_model = fit_normal(avg_series)
</pre>



<p class="wp-block-paragraph">Here’s what that looks like, plotting the tail distribution, which is the complement of the CDF. The shaded area shows the differences between the data and the model.</p>



<pre class="wp-block-preformatted">tail_data = TailDist.from_seq(avg_series)
plot_fit_with_area(tail_data, gaussian_model, kind="tail")
decorate(xlabel="Batting Average", title='Gaussian model')
</pre>



<figure class="wp-block-image"><img decoding="async" width="630" height="470" src="https://www.allendowney.com/blog/wp-content/uploads/2026/06/4b2c95fa3fda1563ca2714d6361e97b106ed1984db9479b168798ca548a9d940.png" alt="_images/4b2c95fa3fda1563ca2714d6361e97b106ed1984db9479b168798ca548a9d940.png" class="wp-image-1871" srcset="https://www.allendowney.com/blog/wp-content/uploads/2026/06/4b2c95fa3fda1563ca2714d6361e97b106ed1984db9479b168798ca548a9d940.png 630w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/4b2c95fa3fda1563ca2714d6361e97b106ed1984db9479b168798ca548a9d940-300x224.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/4b2c95fa3fda1563ca2714d6361e97b106ed1984db9479b168798ca548a9d940-362x270.png 362w" sizes="(max-width: 630px) 100vw, 630px" /></figure>



<p class="wp-block-paragraph">This is not a great fit. There are clear differences in the shapes of the tail distributions.</p>



<p class="wp-block-paragraph">And here’s the average error, which is related to the area between the curves.</p>



<pre class="wp-block-preformatted">mae_normal = average_error(avg_series, gaussian_model)
mae_normal
</pre>



<pre class="wp-block-preformatted">0.017745997600540485
</pre>



<p class="wp-block-paragraph">When we plot the tail distributions on linear scales, it looks like the model might be good enough. The problem is that we can’t see what’s happening in the tail. For that, it’s useful to plot the tail distributions on a log-y scale.</p>



<pre class="wp-block-preformatted">n = len(avg_series)
qs = np.linspace(tail_data.qs.min(), tail_data.qs.max(), 200)
tail_model = TailDist(gaussian_model.sf(qs), index=qs)
</pre>



<pre class="wp-block-preformatted">plot_model_bounds(gaussian_model, n=n, qs=qs, kind="tail", color="gray", alpha=0.2)
tail_model.plot(label="model")
tail_data.plot(label="data")
decorate(yscale="log", title='Gaussian model (log-y scale)')
</pre>



<figure class="wp-block-image"><img loading="lazy" decoding="async" width="630" height="470" src="https://www.allendowney.com/blog/wp-content/uploads/2026/06/b8bccf875d3216eb826852be8de578e37cbfb0909184ce61df747e79bef1db5e.png" alt="_images/b8bccf875d3216eb826852be8de578e37cbfb0909184ce61df747e79bef1db5e.png" class="wp-image-1876" srcset="https://www.allendowney.com/blog/wp-content/uploads/2026/06/b8bccf875d3216eb826852be8de578e37cbfb0909184ce61df747e79bef1db5e.png 630w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/b8bccf875d3216eb826852be8de578e37cbfb0909184ce61df747e79bef1db5e-300x224.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/b8bccf875d3216eb826852be8de578e37cbfb0909184ce61df747e79bef1db5e-362x270.png 362w" sizes="auto, (max-width: 630px) 100vw, 630px" /></figure>



<p class="wp-block-paragraph">The model fits the left side of the distribution well enough, but after that, it diverges badly. Around 60, the difference between the model and the data is about an order of magnitude.</p>



<p class="wp-block-paragraph">Nevertheless, we can use the Gaussian model to compute the probability of a batting average as high as Bradman’s 99.94.</p>



<pre class="wp-block-preformatted">BRADMAN = 99.94


def probability_of_exceeding(model, x, n):
    p = model.cdf(x)
    one_in = 1 / (1 - p)
    in_sample = 1 / (1 - p ** n)
    return one_in, in_sample
</pre>



<p class="wp-block-paragraph">In the fitted distribution, the probability of a single batter achieving Bradman’s average is about one per 5.7 trillion.</p>



<pre class="wp-block-preformatted">one_in, in_sample = probability_of_exceeding(gaussian_model, BRADMAN, n)
one_in / 1e12
</pre>



<pre class="wp-block-preformatted">5.71160383940456
</pre>



<p class="wp-block-paragraph">And even if we account for the sample size, the probability that one of 3438 batsman reaches that level is one per 1.7 billion. So, according to the Gaussian model, this outcome is basically impossible.</p>



<pre class="wp-block-preformatted">n, in_sample / 1e9
</pre>



<pre class="wp-block-preformatted">(3438, 1.6613158346144736)
</pre>



<p class="wp-block-paragraph">But the Gaussian model doesn’t fit the data well – and there’s no reason it should. To see why not, let’s think about the process that generates the distribution of batting averages.</p>



<p class="wp-block-paragraph">As a simplifying assumption, suppose a batsman has the same probability of getting out at any time; in that case, the number of runs in an inning might follow a negative binomial (NB) distribution. As we add up innings (or average over them), the total would eventually converge to a normal distribution, but most batsmans don’t have enough innings to converge. So for each batsman, the distribution of runs follows something between NB and normal. And when we combine them, we get a mixture of those hybrids. There’s no obvious reason the results should fit a simple mathematical model.</p>



<p class="wp-block-paragraph">But it turns out that they do.</p>



<h2 class="wp-block-heading">The Weibull Model</h2>



<p class="wp-block-paragraph">The Weibull distribution is not the first thing I thought of – I tried a lognormal distribution first. But a Weibull distribution fits the data really, really well. The <code>fit_scipy_dist</code> is a more general version of <code>fit_normal</code> that works with any of the SciPy distributions.</p>



<pre class="wp-block-preformatted">weibull_model = fit_scipy_dist(avg_series, weibull_min)
weibull_model.args
</pre>



<pre class="wp-block-preformatted">(1.8667199063293203, 0.9939717502596944, 22.486446489455503)
</pre>



<p class="wp-block-paragraph">Here’s the result. Again, the gray area shows the difference between the data and the model.</p>



<pre class="wp-block-preformatted">plot_fit_with_area(tail_data, weibull_model, kind="tail")
decorate(xlabel="Batting Average", title="Weibull model")
</pre>



<figure class="wp-block-image"><img loading="lazy" decoding="async" width="630" height="470" src="https://www.allendowney.com/blog/wp-content/uploads/2026/06/2c9b224b40833eea766b5d0cd386fc20182601b3ae5245f8f68f7ffca163a4cf.png" alt="_images/2c9b224b40833eea766b5d0cd386fc20182601b3ae5245f8f68f7ffca163a4cf.png" class="wp-image-1872" srcset="https://www.allendowney.com/blog/wp-content/uploads/2026/06/2c9b224b40833eea766b5d0cd386fc20182601b3ae5245f8f68f7ffca163a4cf.png 630w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/2c9b224b40833eea766b5d0cd386fc20182601b3ae5245f8f68f7ffca163a4cf-300x224.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/2c9b224b40833eea766b5d0cd386fc20182601b3ae5245f8f68f7ffca163a4cf-362x270.png 362w" sizes="auto, (max-width: 630px) 100vw, 630px" /></figure>



<p class="wp-block-paragraph">The gray area is not visible. Here’s the average error.</p>



<pre class="wp-block-preformatted">mae_weibull = average_error(avg_series, weibull_model)
mae_weibull
</pre>



<pre class="wp-block-preformatted">0.002555441381799216
</pre>



<p class="wp-block-paragraph">The average error of the Gaussian model is about 7x bigger.</p>



<pre class="wp-block-preformatted">mae_normal / mae_weibull
</pre>



<pre class="wp-block-preformatted">6.944396270223196
</pre>



<p class="wp-block-paragraph">Here’s what the tail looks like on a log-y axis.</p>



<pre class="wp-block-preformatted">tail_model = TailDist(weibull_model.sf(qs), index=qs)
</pre>



<pre class="wp-block-preformatted">plot_model_bounds(weibull_model, n=n, qs=qs, kind="tail", color="gray", alpha=0.2)
tail_model.plot(label="model")
tail_data.plot(label="data")
decorate(yscale="log", title="Weibull model (log-y scale)")
</pre>



<figure class="wp-block-image"><img loading="lazy" decoding="async" width="630" height="470" src="https://www.allendowney.com/blog/wp-content/uploads/2026/06/b42367fb1469d102aa278bd0b6f4c1a339ea7f78a8919fd2da3d27b61c2e3fc3.png" alt="_images/b42367fb1469d102aa278bd0b6f4c1a339ea7f78a8919fd2da3d27b61c2e3fc3.png" class="wp-image-1875" srcset="https://www.allendowney.com/blog/wp-content/uploads/2026/06/b42367fb1469d102aa278bd0b6f4c1a339ea7f78a8919fd2da3d27b61c2e3fc3.png 630w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/b42367fb1469d102aa278bd0b6f4c1a339ea7f78a8919fd2da3d27b61c2e3fc3-300x224.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/b42367fb1469d102aa278bd0b6f4c1a339ea7f78a8919fd2da3d27b61c2e3fc3-362x270.png 362w" sizes="auto, (max-width: 630px) 100vw, 630px" /></figure>



<p class="wp-block-paragraph">The model fits the data well – within the bounds of variability we expect for this sample size – except for Bradman, who is still an outlier.</p>



<p class="wp-block-paragraph">Again, we can compute the probability that any batter exceeds Bradman’s level:</p>



<pre class="wp-block-preformatted">one_in, in_sample = probability_of_exceeding(weibull_model, BRADMAN, n)
one_in / 1e6
</pre>



<pre class="wp-block-preformatted">7.980438255436601
</pre>



<p class="wp-block-paragraph">It’s about one per 8 million. And in a sample of 3438 batsmen, the chance that any one of them reaches that level is one per 2,322.</p>



<pre class="wp-block-preformatted">in_sample / 1e3
</pre>



<pre class="wp-block-preformatted">2.3217442928624186
</pre>



<p class="wp-block-paragraph">So Bradman is still an outlier among outliers, but not quite the statistical anomaly that he would be in a normal distribution.</p>



<p class="wp-block-paragraph">Finally, let’s think about why a Weibull distribution fits this dataset so well. In the data-generating process I suggested earlier, if a batsman has the same probability of getting out at any time, the number of runs in an inning might follow a negative binomial (NB) distribution. If we think of the run-generating process as continuous, the distribution of runs before an out would be exponential. And if we relax the assumption that the hazard rate is constant, the distribution of runs per inning would be Weibull.</p>



<p class="wp-block-paragraph">I think that’s an intriguing first step, but at best it explains the distribution of runs per inning – but not the distribution of batting averages across batsmen with, presumably, different hazard rates.</p>



<h2 class="wp-block-heading">Appendix: The Lognormal Model</h2>



<p class="wp-block-paragraph">Just for completeness, here’s the lognormal model.</p>



<pre class="wp-block-preformatted">log_series = np.log10(avg_series)
log_model = fit_normal(log_series, x0=norm.fit(log_series))
tail_log_data = TailDist.from_seq(log_series)
</pre>



<pre class="wp-block-preformatted">plot_fit_with_area(tail_log_data, log_model, kind="tail")
decorate(xlabel="log10(Batting Average)", title="Lognormal model")
</pre>



<figure class="wp-block-image"><img loading="lazy" decoding="async" width="630" height="470" src="https://www.allendowney.com/blog/wp-content/uploads/2026/06/6344bb082e43613d7cc8910ef8f34769e420045404b8d576f8382bc64b0c8bc2.png" alt="_images/6344bb082e43613d7cc8910ef8f34769e420045404b8d576f8382bc64b0c8bc2.png" class="wp-image-1870" srcset="https://www.allendowney.com/blog/wp-content/uploads/2026/06/6344bb082e43613d7cc8910ef8f34769e420045404b8d576f8382bc64b0c8bc2.png 630w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/6344bb082e43613d7cc8910ef8f34769e420045404b8d576f8382bc64b0c8bc2-300x224.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/6344bb082e43613d7cc8910ef8f34769e420045404b8d576f8382bc64b0c8bc2-362x270.png 362w" sizes="auto, (max-width: 630px) 100vw, 630px" /></figure>



<p class="wp-block-paragraph">The average error is slightly worse than the Gaussian model.</p>



<pre class="wp-block-preformatted">mae_lognormal = average_error(log_series, log_model)
mae_lognormal
</pre>



<pre class="wp-block-preformatted">0.01885918996726559
</pre>



<p class="wp-block-paragraph">And it doesn’t fit the tail well at all.</p>



<pre class="wp-block-preformatted">log_qs = np.log10(qs)
tail_model = TailDist(log_model.sf(log_qs), index=log_qs)
</pre>



<pre class="wp-block-preformatted">plot_model_bounds(log_model, n=n, qs=log_qs, kind="tail", color="gray", alpha=0.2)
tail_model.plot(label="model")
tail_log_data.plot(label="data")
decorate(xlabel="log10(Batting Average)", yscale="log", title="Lognormal model (log-y scale)")
</pre>



<figure class="wp-block-image"><img loading="lazy" decoding="async" width="630" height="470" src="https://www.allendowney.com/blog/wp-content/uploads/2026/06/5d0319f985ddb2ca9f541683b89a467e19b0e12c468c4c00b5a969111401be6b.png" alt="_images/5d0319f985ddb2ca9f541683b89a467e19b0e12c468c4c00b5a969111401be6b.png" class="wp-image-1874" srcset="https://www.allendowney.com/blog/wp-content/uploads/2026/06/5d0319f985ddb2ca9f541683b89a467e19b0e12c468c4c00b5a969111401be6b.png 630w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/5d0319f985ddb2ca9f541683b89a467e19b0e12c468c4c00b5a969111401be6b-300x224.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/5d0319f985ddb2ca9f541683b89a467e19b0e12c468c4c00b5a969111401be6b-362x270.png 362w" sizes="auto, (max-width: 630px) 100vw, 630px" /></figure>



<p class="wp-block-paragraph"><a href="https://allendowney.github.io/ProbablyOverthinkingIt/chile.html"></a></p>



<p class="wp-block-paragraph"></p>
<p>The post <a href="https://www.allendowney.com/blog/2026/06/27/greatest-goat-of-all-time/">Greatest GOAT of All Time?</a> appeared first on <a href="https://www.allendowney.com/blog">Probably Overthinking It</a>.</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1867</post-id>	</item>
		<item>
		<title>You Would Choose Now</title>
		<link>https://www.allendowney.com/blog/2026/06/16/you-would-choose-now/</link>
		
		<dc:creator><![CDATA[AllenDowney]]></dc:creator>
		<pubDate>Tue, 16 Jun 2026 20:23:37 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[age period cohort analysis]]></category>
		<category><![CDATA[bayesian statistics]]></category>
		<category><![CDATA[general social survey]]></category>
		<category><![CDATA[racism]]></category>
		<guid isPermaLink="false">https://www.allendowney.com/blog/?p=1846</guid>

					<description><![CDATA[<p>In 2016, Barack Obama gave a commencement address at Howard University, where he said If you had to choose one moment in history in which you could be born, and you didn’t know ahead of time who you were going to be — what nationality, what gender, what race, whether you’d be rich or poor, gay or straight, what faith you’d be born into — you wouldn’t choose 100 years ago. You wouldn’t choose the fifties, or the sixties, or...</p>
<p class="read-more"><a class="btn btn-default" href="https://www.allendowney.com/blog/2026/06/16/you-would-choose-now/"> Read More<span class="screen-reader-text">  Read More</span></a></p>
<p>The post <a href="https://www.allendowney.com/blog/2026/06/16/you-would-choose-now/">You Would Choose Now</a> appeared first on <a href="https://www.allendowney.com/blog">Probably Overthinking It</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">In 2016, Barack Obama gave a <a href="https://obamawhitehouse.archives.gov/the-press-office/2016/05/07/remarks-president-howard-university-commencement-ceremony/" target="_blank" rel="noreferrer noopener">commencement address at Howard University</a>, where he said</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p class="wp-block-paragraph"><strong>If you had to choose one moment in history in which you could be born</strong>, and you didn’t know ahead of time who you were going to be — what nationality, what gender, what race, whether you’d be rich or poor, gay or straight, what faith you’d be born into — you wouldn’t choose 100 years ago. You wouldn’t choose the fifties, or the sixties, or the seventies. You’d choose right now. If you had to choose a time to be, in the words of Lorraine Hansberry, “young, gifted, and black” in America, <strong>you would choose right now</strong>. [Emphasis added]</p>
</blockquote>



<p class="wp-block-paragraph">Was he right? It’s a broad claim — about racism, sexism, homophobia, and more — so I’ll focus on the last sentence: If you are young, gifted, and Black, would you choose right now?</p>



<p class="wp-block-paragraph">And I’ll focus on just one part of the answer: public opinions about race relations and civil rights. On these topics, the General Social Survey includes several questions that have been asked repeatedly — although some of them were dropped from the survey before Obama’s assertion in 2016.</p>



<p class="wp-block-paragraph">As an example, we’ll start with a question about open housing, which has been asked since 1973, and shows one of the clearest trends over time.</p>



<h2 class="wp-block-heading">Open housing</h2>



<p class="wp-block-paragraph">The GSS asks this question about open housing:</p>



<p class="wp-block-paragraph"><em>Suppose there is a community-wide vote on the general housing issue. There are two possible laws to vote on. (A) One law says that a homeowner can decide for himself whom to sell his house to, even if he prefers not to sell to someone because of their race or color. (B) The second law says that a homeowner cannot refuse to sell to someone because of their race or color. Which law would you vote for?</em></p>



<p class="wp-block-paragraph">The following figure shows the percentage of respondents who chose the first law, which allows someone selling their house to discriminate.</p>



<figure class="wp-block-image" id="racopen-time-model"><img loading="lazy" decoding="async" width="1145" height="907" src="https://www.allendowney.com/blog/wp-content/uploads/2026/06/time_model_racopen_r-8299d0a2b2cf2cdfabb273df835b9cc2.png" alt="Time series: percent voting for homeowner discretion." class="wp-image-1855" srcset="https://www.allendowney.com/blog/wp-content/uploads/2026/06/time_model_racopen_r-8299d0a2b2cf2cdfabb273df835b9cc2.png 1145w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/time_model_racopen_r-8299d0a2b2cf2cdfabb273df835b9cc2-300x238.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/time_model_racopen_r-8299d0a2b2cf2cdfabb273df835b9cc2-1024x811.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/time_model_racopen_r-8299d0a2b2cf2cdfabb273df835b9cc2-768x608.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/time_model_racopen_r-8299d0a2b2cf2cdfabb273df835b9cc2-341x270.png 341w" sizes="auto, (max-width: 1145px) 100vw, 1145px" /><figcaption class="wp-element-caption">Time series: percent voting for homeowner discretion.</figcaption></figure>



<p class="wp-block-paragraph">In 1973, about 65% favored the first law; in 2024, it had dropped below 20%. When public opinion changes as fast as that, it is usually the result of two effects:</p>



<ul class="wp-block-list">
<li>Generational replacement: as older people with receding viewpoints age out of the survey, they are replaced by young adults with rising viewpoints.</li>



<li>Changing minds: people adopt different views over the course of their lives, possibly in response to events.</li>
</ul>



<p class="wp-block-paragraph">With a repeated survey like the GSS, we can follow each generation to see how it changes over time. The following figure shows one line for each year of birth, estimating support for homeowner discretion over time.</p>



<figure class="wp-block-image" id="racopen-cohort-trajectories"><img loading="lazy" decoding="async" width="1330" height="757" src="https://www.allendowney.com/blog/wp-content/uploads/2026/06/cohort_trajectory_ra-0963fe1b4d9c9eddb280337f187dceec.png" alt="Cohort trajectories: percent voting for homeowner discretion, one line per birth year." class="wp-image-1853" srcset="https://www.allendowney.com/blog/wp-content/uploads/2026/06/cohort_trajectory_ra-0963fe1b4d9c9eddb280337f187dceec.png 1330w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/cohort_trajectory_ra-0963fe1b4d9c9eddb280337f187dceec-300x171.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/cohort_trajectory_ra-0963fe1b4d9c9eddb280337f187dceec-1024x583.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/cohort_trajectory_ra-0963fe1b4d9c9eddb280337f187dceec-768x437.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/cohort_trajectory_ra-0963fe1b4d9c9eddb280337f187dceec-474x270.png 474w" sizes="auto, (max-width: 1330px) 100vw, 1330px" /><figcaption class="wp-element-caption">Cohort trajectories: percent voting for homeowner discretion, one line per birth year.</figcaption></figure>



<p class="wp-block-paragraph">In the top left we can see that when people born in the 1900s and 1910s were interviewed in 1973, almost 80% of them said homeowners should be allowed to discriminate based on race. In the bottom right we can see that when people born in the 2000s were interviewed in 2024, fewer than 20% of them held that view. So there are big differences between generations. And, following the cohorts over time, we can see that the trend is downward — that is, toward support for open housing laws.</p>



<p class="wp-block-paragraph">From this analysis we can decompose the period effect (holding the mixture of cohorts constant) and the cohort effect (holding the mixture of survey years constant). Here’s the estimated cohort effect:</p>



<figure class="wp-block-image" id="racopen-cohort-standardized"><img loading="lazy" decoding="async" width="1145" height="907" src="https://www.allendowney.com/blog/wp-content/uploads/2026/06/cohort_standardized_-5948d7e3bac401a97f12f62053463a76.png" alt="Standardized cohort component, percent voting for homeowner discretion." class="wp-image-1854" srcset="https://www.allendowney.com/blog/wp-content/uploads/2026/06/cohort_standardized_-5948d7e3bac401a97f12f62053463a76.png 1145w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/cohort_standardized_-5948d7e3bac401a97f12f62053463a76-300x238.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/cohort_standardized_-5948d7e3bac401a97f12f62053463a76-1024x811.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/cohort_standardized_-5948d7e3bac401a97f12f62053463a76-768x608.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/cohort_standardized_-5948d7e3bac401a97f12f62053463a76-341x270.png 341w" sizes="auto, (max-width: 1145px) 100vw, 1145px" /><figcaption class="wp-element-caption">Standardized cohort component, percent voting for homeowner discretion.</figcaption></figure>



<p class="wp-block-paragraph">Looking at differences between cohorts, the biggest changes happened between people born in 1900 and 1960. Since then, the cohort effect is essentially flat.</p>



<p class="wp-block-paragraph">And here’s the period effect after factoring out the cohort effect.</p>



<figure class="wp-block-image" id="racopen-period-standardized"><img loading="lazy" decoding="async" width="1145" height="907" src="https://www.allendowney.com/blog/wp-content/uploads/2026/06/time_standardized_ra-97800a69f320b39488f4fa53500fbcd7.png" alt="Standardized period component, percent voting for homeowner discretion." class="wp-image-1856" srcset="https://www.allendowney.com/blog/wp-content/uploads/2026/06/time_standardized_ra-97800a69f320b39488f4fa53500fbcd7.png 1145w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/time_standardized_ra-97800a69f320b39488f4fa53500fbcd7-300x238.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/time_standardized_ra-97800a69f320b39488f4fa53500fbcd7-1024x811.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/time_standardized_ra-97800a69f320b39488f4fa53500fbcd7-768x608.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/time_standardized_ra-97800a69f320b39488f4fa53500fbcd7-341x270.png 341w" sizes="auto, (max-width: 1145px) 100vw, 1145px" /><figcaption class="wp-element-caption">Standardized period component, percent voting for homeowner discretion.</figcaption></figure>



<p class="wp-block-paragraph">The trend is consistently downward, with a possible plateau between 1995 and 2005. If you are young, Black, and looking for a house, these trends are good news. Let’s see if the other questions show the same patterns.</p>



<h2 class="wp-block-heading">Race relations and civil rights</h2>



<p class="wp-block-paragraph">Here are other questions related to race relations and civil rights — I selected the ones that were asked repeatedly over the widest intervals.</p>



<p class="wp-block-paragraph"><strong>Affirmative action:</strong></p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p class="wp-block-paragraph">Some people say that because of past discrimination, Black people should be given preference in hiring and promotion. Others say that such preference in hiring and promotion of Black people is wrong because it discriminates against whites. What about your opinion — are you for or against preferential hiring and promotion of Black people?</p>
</blockquote>



<p class="wp-block-paragraph"><strong>Segregation:</strong></p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p class="wp-block-paragraph">Do you agree or disagree with the following statement: African-Americans shouldn’t push themselves where they’re not wanted.</p>
</blockquote>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p class="wp-block-paragraph">Do you agree or disagree with the following statement: White people have a right to keep African-Americans out of their neighborhoods if they want to, and African-Americans should respect that right.</p>
</blockquote>



<p class="wp-block-paragraph"><strong>Interracial marriage:</strong></p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p class="wp-block-paragraph">Do you think there should be laws against marriages between African-Americans and whites?</p>
</blockquote>



<p class="wp-block-paragraph"><strong>Black presidential candidate:</strong></p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p class="wp-block-paragraph">If your party nominated an African-American for President, would you vote for him if he were qualified for the job?</p>
</blockquote>



<p class="wp-block-paragraph">If some of these questions seem dated, remember that they were written in the 1970s. The wording of the questions is mostly unchanged, except that the original use of “Negroes” was updated to “African-American” and then updated again to “Black”.</p>



<p class="wp-block-paragraph">Now let’s see how the responses have changed. To make the results easier to compare, for each question we’ll look at responses associated with a more racist viewpoint. So we’ll track:</p>



<ul class="wp-block-list">
<li>Support for segregation</li>



<li>Opposition to interracial marriage</li>



<li>Unwillingness to vote for a Black candidate</li>



<li>Opposition to affirmative action (with the acknowledgement that this view is not necessarily racist)</li>
</ul>



<p class="wp-block-paragraph">The following figure shows the percentage of respondents with these views, plotted over time.</p>



<figure class="wp-block-image" id="race-other-time-model"><img loading="lazy" decoding="async" width="1145" height="766" src="https://www.allendowney.com/blog/wp-content/uploads/2026/06/section5_race_other_-229a1c1aae9b3bbb655c12076d848de4.png" alt="Race relations and policy — time series." class="wp-image-1858" srcset="https://www.allendowney.com/blog/wp-content/uploads/2026/06/section5_race_other_-229a1c1aae9b3bbb655c12076d848de4.png 1145w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/section5_race_other_-229a1c1aae9b3bbb655c12076d848de4-300x201.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/section5_race_other_-229a1c1aae9b3bbb655c12076d848de4-1024x685.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/section5_race_other_-229a1c1aae9b3bbb655c12076d848de4-768x514.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/section5_race_other_-229a1c1aae9b3bbb655c12076d848de4-404x270.png 404w" sizes="auto, (max-width: 1145px) 100vw, 1145px" /><figcaption class="wp-element-caption">Race relations and policy — time series.</figcaption></figure>



<p class="wp-block-paragraph">All of these views have declined over time, although opposition to affirmative action is still high.</p>



<p class="wp-block-paragraph">For three of the questions, support for the more racist responses had fallen below 15% when they were dropped from the survey. For example, in 1973 more than 40% agreed that “White people have a right to keep Negroes out of their neighborhoods if they want to, and Negroes should respect that right.” By 2002, it was below 10% — and in 2026 I think a lot of people wouldn’t read that sentence out loud, much less believe it.</p>



<p class="wp-block-paragraph">One reason the GSS drops questions like these is that statistical estimates are less precise when an observed proportion is far from 50% in either direction. For example, in 2010, fewer than 4% of respondents said they were unwilling to vote for a Black presidential candidate. At that level, even a low error rate becomes a problem; for example, if 1% of respondents misunderstand the question or record the wrong response, they would account for 1 out of 4 of the negative responses.</p>



<p class="wp-block-paragraph">Another reason is that a question that was relevant when it was added to the survey might seem dated a few decades later, might introduce a framing or mindset that influences responses, and might even antagonize respondents. For example, if you agreed to take a survey and they were still asking about interracial marriage in 2026, it might make you wonder about the worldview of the survey writers.</p>



<p class="wp-block-paragraph">Now we’ll decompose these trends into cohort and period effects. The following figure shows the cohort effects.</p>



<figure class="wp-block-image" id="race-other-cohort"><img loading="lazy" decoding="async" width="1145" height="766" src="https://www.allendowney.com/blog/wp-content/uploads/2026/06/section5_race_other_-6cdc00b18309e16a8f72b0e5982469d4.png" alt="Race relations and policy — standardized cohort component." class="wp-image-1857" srcset="https://www.allendowney.com/blog/wp-content/uploads/2026/06/section5_race_other_-6cdc00b18309e16a8f72b0e5982469d4.png 1145w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/section5_race_other_-6cdc00b18309e16a8f72b0e5982469d4-300x201.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/section5_race_other_-6cdc00b18309e16a8f72b0e5982469d4-1024x685.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/section5_race_other_-6cdc00b18309e16a8f72b0e5982469d4-768x514.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/section5_race_other_-6cdc00b18309e16a8f72b0e5982469d4-404x270.png 404w" sizes="auto, (max-width: 1145px) 100vw, 1145px" /><figcaption class="wp-element-caption">Race relations and policy — standardized cohort component.</figcaption></figure>



<p class="wp-block-paragraph">On support for segregation and opposition to interracial marriage, the cohort effect is consistently downward — that is, each generation is less likely to support these views.</p>



<p class="wp-block-paragraph">Opposition to affirmative action was almost unchanged between cohorts born in the 1940s, 1950s, 1960s, and 1970s, but since then it has declined steeply.</p>



<p class="wp-block-paragraph">Unwillingness to vote for a Black candidate declined earlier and reached a minimum with the Baby Boomers (born 1946 to 1964). It might have increased after that, but the increase is within the range of statistical uncertainty.</p>



<p class="wp-block-paragraph">Now here’s the period effect after controlling for changes in the cohort mix.</p>



<figure class="wp-block-image" id="race-other-period"><img loading="lazy" decoding="async" width="1145" height="766" src="https://www.allendowney.com/blog/wp-content/uploads/2026/06/section5_race_other_-c59e1a5e05295e6a8a45b7f42e3e5ccf.png" alt="Race relations and policy — standardized period component." class="wp-image-1852" srcset="https://www.allendowney.com/blog/wp-content/uploads/2026/06/section5_race_other_-c59e1a5e05295e6a8a45b7f42e3e5ccf.png 1145w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/section5_race_other_-c59e1a5e05295e6a8a45b7f42e3e5ccf-300x201.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/section5_race_other_-c59e1a5e05295e6a8a45b7f42e3e5ccf-1024x685.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/section5_race_other_-c59e1a5e05295e6a8a45b7f42e3e5ccf-768x514.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/section5_race_other_-c59e1a5e05295e6a8a45b7f42e3e5ccf-404x270.png 404w" sizes="auto, (max-width: 1145px) 100vw, 1145px" /><figcaption class="wp-element-caption">Race relations and policy — standardized period component.</figcaption></figure>



<p class="wp-block-paragraph">The trends are all consistently downward, which means that the changes we see in the time series are not just generational replacement — they are also changing minds.</p>



<h2 class="wp-block-heading">Unequal Outcomes</h2>



<p class="wp-block-paragraph">In 1977, the GSS added four questions starting with this preamble:</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p class="wp-block-paragraph">On the average, African-Americans have worse jobs, income, and housing than white people. Do you think these differences are &#8230;</p>
</blockquote>



<p class="wp-block-paragraph">Then they ask:</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<ol start="1" class="wp-block-list">
<li>&#8230; mainly due to discrimination?</li>



<li>&#8230; because most African-Americans have less in-born ability to learn?</li>



<li>&#8230; because most African-Americans don’t have the chance for education that it takes to rise out of poverty?</li>



<li>&#8230; because most African-Americans just don’t have the motivation or will power to pull themselves up out of poverty?</li>
</ol>
</blockquote>



<p class="wp-block-paragraph">Respondents can answer yes or no to each question, so they could affirm all four, or none, or any combination. The following figure shows the percentage affirming each explanation.</p>



<figure class="wp-block-image" id="racdif-time-model"><img loading="lazy" decoding="async" width="1133" height="766" src="https://www.allendowney.com/blog/wp-content/uploads/2026/06/section5_racdif_batt-5d0ecac9781b91f8a4be1c96911e4362.png" alt="Racial inequality explanations — time-series." class="wp-image-1860" srcset="https://www.allendowney.com/blog/wp-content/uploads/2026/06/section5_racdif_batt-5d0ecac9781b91f8a4be1c96911e4362.png 1133w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/section5_racdif_batt-5d0ecac9781b91f8a4be1c96911e4362-300x203.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/section5_racdif_batt-5d0ecac9781b91f8a4be1c96911e4362-1024x692.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/section5_racdif_batt-5d0ecac9781b91f8a4be1c96911e4362-768x519.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/section5_racdif_batt-5d0ecac9781b91f8a4be1c96911e4362-399x270.png 399w" sizes="auto, (max-width: 1133px) 100vw, 1133px" /><figcaption class="wp-element-caption">Racial inequality explanations — time-series.</figcaption></figure>



<p class="wp-block-paragraph">Over time, respondents are</p>



<ul class="wp-block-list">
<li>Less likely to accept lack of motivation or in-born ability as explanations, and</li>



<li>More likely to accept discrimination.</li>
</ul>



<p class="wp-block-paragraph">Belief in educational opportunity as an explanation was high in the 1980s, declined in the 1990s, and has increased since.</p>



<p class="wp-block-paragraph">The following figure shows how the responses differ between generations.</p>



<figure class="wp-block-image" id="racdif-cohort"><img loading="lazy" decoding="async" width="1133" height="766" src="https://www.allendowney.com/blog/wp-content/uploads/2026/06/section5_racdif_batt-526456048bc907b188c3c6d57245742f.png" alt="Racial inequality explanations — standardized cohort component." class="wp-image-1859" srcset="https://www.allendowney.com/blog/wp-content/uploads/2026/06/section5_racdif_batt-526456048bc907b188c3c6d57245742f.png 1133w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/section5_racdif_batt-526456048bc907b188c3c6d57245742f-300x203.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/section5_racdif_batt-526456048bc907b188c3c6d57245742f-1024x692.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/section5_racdif_batt-526456048bc907b188c3c6d57245742f-768x519.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/section5_racdif_batt-526456048bc907b188c3c6d57245742f-399x270.png 399w" sizes="auto, (max-width: 1133px) 100vw, 1133px" /><figcaption class="wp-element-caption">Racial inequality explanations — standardized cohort component.</figcaption></figure>



<p class="wp-block-paragraph">The picture here is a little more complicated, but in general, more recent cohorts are more likely to endorse discrimination and educational opportunity, and less likely to endorse motivation and innate ability — although it looks like cohorts born after 1990 are increasingly likely to believe in innate differences.</p>



<p class="wp-block-paragraph">The following figure shows the period effects.</p>



<figure class="wp-block-image" id="racdif-period"><img loading="lazy" decoding="async" width="1133" height="766" src="https://www.allendowney.com/blog/wp-content/uploads/2026/06/section5_racdif_batt-966107004e9305ca4625379ef979a7f2.png" alt="Racial inequality explanations — standardized period component." class="wp-image-1851" srcset="https://www.allendowney.com/blog/wp-content/uploads/2026/06/section5_racdif_batt-966107004e9305ca4625379ef979a7f2.png 1133w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/section5_racdif_batt-966107004e9305ca4625379ef979a7f2-300x203.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/section5_racdif_batt-966107004e9305ca4625379ef979a7f2-1024x692.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/section5_racdif_batt-966107004e9305ca4625379ef979a7f2-768x519.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/section5_racdif_batt-966107004e9305ca4625379ef979a7f2-399x270.png 399w" sizes="auto, (max-width: 1133px) 100vw, 1133px" /><figcaption class="wp-element-caption">Racial inequality explanations — standardized period component.</figcaption></figure>



<p class="wp-block-paragraph">The period effects have the same shapes as the original time series, but the magnitudes of the changes are a little smaller after we factor out the cohort effects. So again, the changes we see over time are a combination of generational replacement and changed minds.</p>



<h2 class="wp-block-heading">What about now?</h2>



<p class="wp-block-paragraph">So when Obama said, “You wouldn’t choose the fifties, or the sixties, or the seventies. You’d choose right now,” was he right?</p>



<p class="wp-block-paragraph">If the prevalence of racist views is one of the factors you would consider, the choice is clear: public opinion was less racist in 2016 than it was in the 1970s. We don’t have GSS data from the fifties and sixties, but we have data from people born in the 1900s and 1910s, and it is equally clear: younger cohorts are less racist than older cohorts.</p>



<p class="wp-block-paragraph">Of course, these are survey results, and people don’t always say what they believe. But I think it’s likely that the changes we see in the responses reflect true changes in beliefs. For example, as opposition to interracial marriage has declined, rates of interracial marriage have in fact increased. And given that presidential elections tend to be tightly contested, if many people were unwilling to vote for a Black candidate, Obama would not have been elected (and might not have spoken at Howard University).</p>



<p class="wp-block-paragraph">But even if we conclude that Obama was right in 2016, would he still be right in 2024? In the most recent data, it looks like fewer people believe that unequal outcomes are “mainly due to discrimination”. And it looks like the youngest respondents are more likely to believe in innate racial differences, compared to previous generations. </p>



<p class="wp-block-paragraph">Because some of the questions where we see the biggest changes were dropped from the survey, we can’t rule out the possibility that those trends have reversed. But other surveys can fill in the blanks. For example, <a href="https://news.gallup.com/poll/354638/approval-interracial-marriage-new-high.aspx" target="_blank" rel="noreferrer noopener">Gallup reported</a> that opposition to interracial marriage dropped to 4% in 2021, less than the 12% seen in the GSS in 2002. And when <a href="https://news.gallup.com/poll/257495/americans-views-voting-candidates-various-characteristics.aspx" target="_blank" rel="noreferrer noopener">they asked</a> if people would vote for a Black presidential candidate in 2019, about 3% said no, slightly less than the proportion in the GSS in 2010. So I don&#8217;t think these trends reversed when the GSS stopped looking.</p>



<p class="wp-block-paragraph">Even if racism is in decline, concern about racism is not. Since 1948, Gallup has asked “What do you think is the most important problem facing this country today?” The following figure shows the percentage who said racism or a related term:</p>



<figure class="wp-block-image" id="gallup-racism-important-problem"><img loading="lazy" decoding="async" width="720" height="409" src="https://www.allendowney.com/blog/wp-content/uploads/2026/06/0gwa4e54wk-jnwac6ieq-8e5904aab68f78f3da3b9a18288e7394.png" alt="Percent naming racism (or a related term) as the most important problem facing the country (Gallup)." class="wp-image-1850" srcset="https://www.allendowney.com/blog/wp-content/uploads/2026/06/0gwa4e54wk-jnwac6ieq-8e5904aab68f78f3da3b9a18288e7394.png 720w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/0gwa4e54wk-jnwac6ieq-8e5904aab68f78f3da3b9a18288e7394-300x170.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/0gwa4e54wk-jnwac6ieq-8e5904aab68f78f3da3b9a18288e7394-475x270.png 475w" sizes="auto, (max-width: 720px) 100vw, 720px" /><figcaption class="wp-element-caption">Percent naming racism (or a related term) as the most important problem facing the country (Gallup). Reproduced from Gallup, &#8220;<a href="https://news.gallup.com/poll/350165/heightened-racial-concern-clear-legacy-floyd-death.aspx">Heightened Racial Concern a Clear Legacy of Floyd&#8217;s Death</a>&#8220;, May 2021.</figcaption></figure>



<p class="wp-block-paragraph">Several of the peaks align with notable historical events, including:</p>



<figure class="wp-block-table"><table><tbody><tr><th>Year</th><th>Peak</th><th>Possible events</th></tr><tr><td>1958</td><td>29%</td><td>Aftermath of the <a href="https://en.wikipedia.org/wiki/Little_Rock_Nine" target="_blank" rel="noreferrer noopener">Little Rock Crisis</a> in 1957 (federal troops escorting Black students into a desegregated school in Arkansas).</td></tr><tr><td>1967</td><td>52%</td><td>Urban riots and racial unrest, especially in <a href="https://en.wikipedia.org/wiki/1967_Detroit_riot" target="_blank" rel="noreferrer noopener">Detroit</a> and <a href="https://en.wikipedia.org/wiki/1967_Newark_riots" target="_blank" rel="noreferrer noopener">Newark</a>.</td></tr><tr><td>1968</td><td>35%</td><td>Assassination of Martin Luther King Jr. followed by nationwide riots in more than 100 cities.</td></tr><tr><td>1992</td><td>15%</td><td><a href="https://en.wikipedia.org/wiki/1992_Los_Angeles_riots">1992 Los Angeles Riots</a> after the acquittal of officers filmed beating Rodney King.</td></tr><tr><td>2015–2017</td><td>10–18%</td><td>Multiple events, possibly including the <a href="https://en.wikipedia.org/wiki/Charleston_church_shooting" target="_blank" rel="noreferrer noopener">Charleston church shooting</a> in 2015, the killing of <a href="https://en.wikipedia.org/wiki/Killing_of_Philando_Castile" target="_blank" rel="noreferrer noopener">Philando Castile</a> in 2016, and a <a href="https://en.wikipedia.org/wiki/Unite_the_Right_rally" target="_blank" rel="noreferrer noopener">white supremacist rally in Charlottesville</a> in 2017.</td></tr><tr><td>2020–2021</td><td>19%</td><td>Killing of George Floyd in May 2020, nationwide protests, and intense discussion of systemic racism.</td></tr></tbody></table></figure>



<p class="wp-block-paragraph">The salience of racism as a national issue seems be driven by events, and media coverage, more than by the prevalence of racist attitudes. That’s not ideal — the limited resource of attention should go where it is most needed — but it might not be all bad. Even if racist beliefs are rarer than they used to be, they are not gone. I’m glad if only 3% of Americans refuse to vote for a Black candidate, but that’s not zero, and in a close election, it could be a deciding factor.</p>



<p class="wp-block-paragraph">So we should be aware of what’s going on — and we should keep an eye on the trends that have stalled or reversed. But we should not ignore the consistent decline of racist attitudes in the last fifty years. Based on the data, if I had to choose when to be born, not knowing who I was going to be, I would choose right now.</p>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<p class="wp-block-paragraph">Note: The scenario Obama posed is a nod to the <a href="https://en.wikipedia.org/wiki/Original_position" target="_blank" rel="noreferrer noopener">veil of ignorance</a>, a hypothetical used by moral philosopher John Rawls to explore basic principles of justice.</p>



<p class="wp-block-paragraph"></p>
<p>The post <a href="https://www.allendowney.com/blog/2026/06/16/you-would-choose-now/">You Would Choose Now</a> appeared first on <a href="https://www.allendowney.com/blog">Probably Overthinking It</a>.</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1846</post-id>	</item>
		<item>
		<title>Who Is More Trusting: Liberals or Conservatives?</title>
		<link>https://www.allendowney.com/blog/2026/06/12/who-is-more-trusting-liberals-or-conservatives/</link>
		
		<dc:creator><![CDATA[AllenDowney]]></dc:creator>
		<pubDate>Fri, 12 Jun 2026 13:40:20 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[age period cohort analysis]]></category>
		<category><![CDATA[bayesian statistics]]></category>
		<category><![CDATA[general social survey]]></category>
		<category><![CDATA[political alignment]]></category>
		<guid isPermaLink="false">https://www.allendowney.com/blog/?p=1836</guid>

					<description><![CDATA[<p>When I go crawling around in data from the General Social Survey, sooner or later I run into Ryan Burge, who writes Graphs About Religion. In his most recent post, he wrote about changes in interpersonal trust, as measured by this GSS question: Generally speaking, would you say that most people can be trusted or that you can’t be too careful in dealing with people? Among other analyses, he looks at how the responses relate to self-identification as liberal, conservative,...</p>
<p class="read-more"><a class="btn btn-default" href="https://www.allendowney.com/blog/2026/06/12/who-is-more-trusting-liberals-or-conservatives/"> Read More<span class="screen-reader-text">  Read More</span></a></p>
<p>The post <a href="https://www.allendowney.com/blog/2026/06/12/who-is-more-trusting-liberals-or-conservatives/">Who Is More Trusting: Liberals or Conservatives?</a> appeared first on <a href="https://www.allendowney.com/blog">Probably Overthinking It</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">When I go crawling around in data from the General Social Survey, sooner or later I run into Ryan Burge, who writes <em>Graphs About Religion</em>. In <a href="https://www.graphsaboutreligion.com/p/gen-z-doesnt-trust-anyone" target="_blank" rel="noreferrer noopener">his most recent post</a>, he wrote about changes in interpersonal trust, as measured by this GSS question:</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p class="wp-block-paragraph">Generally speaking, would you say that most people can be trusted or that you can’t be too careful in dealing with people?</p>
</blockquote>



<p class="wp-block-paragraph">Among other analyses, he looks at how the responses relate to self-identification as liberal, conservative, or moderate. The results are &#8230; complicated. Ryan writes:</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p class="wp-block-paragraph">Among older Americans who identify as liberal, they are more likely to trust other people. Among Gen Z liberals, it’s exactly the opposite.</p>
</blockquote>



<p class="wp-block-paragraph">To explain why older liberals are more trusting, Ryan suggests:</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p class="wp-block-paragraph">Liberalism is based on collectivism. It embraces the idea that “together, we can achieve more.” Things like universal healthcare rely on a sense of trust among large groups of people.</p>
</blockquote>



<p class="wp-block-paragraph">But if that’s true, why does the effect go in the opposite direction with Gen Z? Ryan speculates:</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p class="wp-block-paragraph">Well, maybe liberals feel very slighted by the fact that Donald Trump has been on the ballot for president in every election in which they’ve been eligible to vote, and he’s won twice. Or it could be that they are more impacted by the cynicism of the internet than conservatives? Or maybe it’s because they report higher rates of depression and anxiety than the rest of the ideological spectrum?</p>
</blockquote>



<p class="wp-block-paragraph">As it happened, I looked at the same GSS variable in <a href="https://www.allendowney.com/blog/2026/04/03/trust-and-well-being/" target="_blank" rel="noreferrer noopener">a recent article</a>. But I didn’t do the breakdown by political ideology, so let’s do that now.</p>



<h3 class="wp-block-heading">The Story So Far</h3>



<p class="wp-block-paragraph">First, here’s a recap of what we saw in the previous post, with the whole GSS sample. The following figure shows the percentage of respondents who said “most people can be trusted.”</p>



<figure class="wp-block-image" id="trust-recap-time-series"><img loading="lazy" decoding="async" width="1133" height="826" src="https://www.allendowney.com/blog/wp-content/uploads/2026/06/time_model_trust_rw2-25d010d905ca562e299e59b0e89d1713.png" alt="Time series: percent saying most people can be trusted (all respondents)" class="wp-image-1839" srcset="https://www.allendowney.com/blog/wp-content/uploads/2026/06/time_model_trust_rw2-25d010d905ca562e299e59b0e89d1713.png 1133w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/time_model_trust_rw2-25d010d905ca562e299e59b0e89d1713-300x219.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/time_model_trust_rw2-25d010d905ca562e299e59b0e89d1713-1024x747.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/time_model_trust_rw2-25d010d905ca562e299e59b0e89d1713-768x560.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/time_model_trust_rw2-25d010d905ca562e299e59b0e89d1713-370x270.png 370w" sizes="auto, (max-width: 1133px) 100vw, 1133px" /><figcaption class="wp-element-caption">Time series: percent saying most people can be trusted (all respondents)</figcaption></figure>



<p class="wp-block-paragraph">Interpersonal trust has declined consistently since the survey started in 1972. In the previous post, I decomposed this trend into cohort and period effects. Here’s the estimated cohort effect:</p>



<figure class="wp-block-image" id="trust-recap-cohort-effect"><img loading="lazy" decoding="async" width="1133" height="790" src="https://www.allendowney.com/blog/wp-content/uploads/2026/06/cohort_standardized_-83920254db4863278c92f3cee792510c.png" alt="Standardized cohort effect with fixed time mix, percent saying most people can be trusted (all respondents)" class="wp-image-1840" srcset="https://www.allendowney.com/blog/wp-content/uploads/2026/06/cohort_standardized_-83920254db4863278c92f3cee792510c.png 1133w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/cohort_standardized_-83920254db4863278c92f3cee792510c-300x209.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/cohort_standardized_-83920254db4863278c92f3cee792510c-1024x714.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/cohort_standardized_-83920254db4863278c92f3cee792510c-768x535.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/cohort_standardized_-83920254db4863278c92f3cee792510c-387x270.png 387w" sizes="auto, (max-width: 1133px) 100vw, 1133px" /><figcaption class="wp-element-caption">Standardized cohort effect with fixed time mix, percent saying most people can be trusted (all respondents)</figcaption></figure>



<p class="wp-block-paragraph">The level of trust increased between the cohorts born in the 1900s through the 1940s, and then started a steep decline — more than 30 percentage points over 60 years. And here’s the remaining period effect, after factoring out the cohort effect.</p>



<figure class="wp-block-image" id="trust-recap-period-effect"><img loading="lazy" decoding="async" width="1133" height="790" src="https://www.allendowney.com/blog/wp-content/uploads/2026/06/time_standardized_tr-2f029b683d9ad86a39a536e4f95c8c0f.png" alt="Standardized time trend with fixed cohort mix, percent saying most people can be trusted (all respondents)" class="wp-image-1841" srcset="https://www.allendowney.com/blog/wp-content/uploads/2026/06/time_standardized_tr-2f029b683d9ad86a39a536e4f95c8c0f.png 1133w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/time_standardized_tr-2f029b683d9ad86a39a536e4f95c8c0f-300x209.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/time_standardized_tr-2f029b683d9ad86a39a536e4f95c8c0f-1024x714.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/time_standardized_tr-2f029b683d9ad86a39a536e4f95c8c0f-768x535.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/time_standardized_tr-2f029b683d9ad86a39a536e4f95c8c0f-387x270.png 387w" sizes="auto, (max-width: 1133px) 100vw, 1133px" /><figcaption class="wp-element-caption">Standardized time trend with fixed cohort mix, percent saying most people can be trusted (all respondents)</figcaption></figure>



<p class="wp-block-paragraph">There is almost no period effect in the full sample.</p>



<h3 class="wp-block-heading">Breakdown by Politics</h3>



<p class="wp-block-paragraph">Now let’s get to the question we started with:</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p class="wp-block-paragraph">Who is more trusting: liberals or conservatives?</p>
</blockquote>



<p class="wp-block-paragraph">Here’s the time series, broken down by ideology.</p>



<figure class="wp-block-image" id="trust-polviews-time-series"><img loading="lazy" decoding="async" width="1133" height="826" src="https://www.allendowney.com/blog/wp-content/uploads/2026/06/composed_trust_polvi-2191f28230cc6036ffa53c7c589783eb.png" alt="Time series: percent saying most people can be trusted, by 3-point political views" class="wp-image-1842" srcset="https://www.allendowney.com/blog/wp-content/uploads/2026/06/composed_trust_polvi-2191f28230cc6036ffa53c7c589783eb.png 1133w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/composed_trust_polvi-2191f28230cc6036ffa53c7c589783eb-300x219.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/composed_trust_polvi-2191f28230cc6036ffa53c7c589783eb-1024x747.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/composed_trust_polvi-2191f28230cc6036ffa53c7c589783eb-768x560.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/composed_trust_polvi-2191f28230cc6036ffa53c7c589783eb-370x270.png 370w" sizes="auto, (max-width: 1133px) 100vw, 1133px" /><figcaption class="wp-element-caption">Time series: percent saying most people can be trusted, by 3-point political views</figcaption></figure>



<p class="wp-block-paragraph">Until recently, there was not much difference: liberals and conservatives were about equally likely to say people can be trusted — both a little more trusting than moderates (who are, maybe, too distrustful to join a team).</p>



<p class="wp-block-paragraph">Since the 2000s, liberals and conservatives have diverged, and now liberals are more trusting, by about 5 percentage points. But all three groups are still declining.</p>



<p class="wp-block-paragraph">Now let’s decompose those trends into cohort and period effects. Here are the cohort effects for the three groups.</p>



<figure class="wp-block-image" id="trust-polviews-cohort-effect"><img loading="lazy" decoding="async" width="1133" height="826" src="https://www.allendowney.com/blog/wp-content/uploads/2026/06/composed_trust_polvi-5e9990b3c69d8128602000b1b4e77eac.png" alt="Standardized cohort effect for generalized trust by political views (uniform weights on survey years within group)" class="wp-image-1844" srcset="https://www.allendowney.com/blog/wp-content/uploads/2026/06/composed_trust_polvi-5e9990b3c69d8128602000b1b4e77eac.png 1133w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/composed_trust_polvi-5e9990b3c69d8128602000b1b4e77eac-300x219.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/composed_trust_polvi-5e9990b3c69d8128602000b1b4e77eac-1024x747.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/composed_trust_polvi-5e9990b3c69d8128602000b1b4e77eac-768x560.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/composed_trust_polvi-5e9990b3c69d8128602000b1b4e77eac-370x270.png 370w" sizes="auto, (max-width: 1133px) 100vw, 1133px" /><figcaption class="wp-element-caption">Standardized cohort effect for generalized trust by political views (uniform weights on survey years within group)</figcaption></figure>



<p class="wp-block-paragraph">Here we can see what Ryan reported: in most generations, liberals are more trusting than conservatives; it’s only in the most recent generation that it goes the other way. The crossover happens among people born in the mid-1990s, close to the conventional beginning of Gen Z (born 1997 to 2012).</p>



<p class="wp-block-paragraph">And here’s the period effect for the three groups.</p>



<figure class="wp-block-image" id="trust-polviews-period-effect"><img loading="lazy" decoding="async" width="1133" height="826" src="https://www.allendowney.com/blog/wp-content/uploads/2026/06/composed_trust_polvi-e873e0d24bfb4397559e322760556ee6.png" alt="Standardized period trend for generalized trust by political views (fixed within-group cohort weights)" class="wp-image-1843" srcset="https://www.allendowney.com/blog/wp-content/uploads/2026/06/composed_trust_polvi-e873e0d24bfb4397559e322760556ee6.png 1133w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/composed_trust_polvi-e873e0d24bfb4397559e322760556ee6-300x219.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/composed_trust_polvi-e873e0d24bfb4397559e322760556ee6-1024x747.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/composed_trust_polvi-e873e0d24bfb4397559e322760556ee6-768x560.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/composed_trust_polvi-e873e0d24bfb4397559e322760556ee6-370x270.png 370w" sizes="auto, (max-width: 1133px) 100vw, 1133px" /><figcaption class="wp-element-caption">Standardized period trend for generalized trust by political views (fixed within-group cohort weights)</figcaption></figure>



<p class="wp-block-paragraph">For conservatives and moderates, the period effect is generally downward, although small. For liberals, it’s the other way around, generally increasing since about 2000.</p>



<p class="wp-block-paragraph">The cohort-period decomposition provides some hints about what’s going on:</p>



<ul class="wp-block-list">
<li>Among conservatives and moderates, the cohort and period effects are both downward, so they contributed to a steeper decline over time.</li>



<li>Among liberals, the cohort effect is also downward, but the period effect is upward, so the period effect mitigates the cohort effect.</li>
</ul>



<p class="wp-block-paragraph">To explain the cohort effect, I think Ryan’s suggestions are plausible. People born after 1995 have grown up during a discouraging time to be a liberal. Recent developments contrary to the liberal worldview include</p>



<ul class="wp-block-list">
<li>The rise of populist and nationalist movements in several countries, along with democratic backsliding or erosion of liberal norms.</li>



<li>Slow progress or reversal on climate change.</li>



<li>Increasing distrust of experts, journalists, scientists, and public institutions.</li>



<li>Declining confidence in institutions such as Congress, the media, and organized religion.</li>



<li>A series of conservative Supreme Court decisions, most notably the overturning of long-established abortion rights protections in 2022.</li>
</ul>



<p class="wp-block-paragraph">Negativity bias in the media — especially social media — is probably a contributing factor. And going to school during the pandemic probably didn’t help.</p>



<p class="wp-block-paragraph">But what about that period effect — can we think of reasons liberals would be more trusting, starting around 2005? If the recent cohort effect among young liberals is driven by the Trump era (at least in part), maybe the period effect was driven by events and trends of the Obama era that were aligned with the liberal worldview:</p>



<ul class="wp-block-list">
<li>Perception that the country was becoming more socially inclusive and diverse.</li>



<li>Greater visibility and acceptance of LGBTQ people, and growing support for same-sex marriage, culminating in nationwide legalization in 2015.</li>



<li>Expansion of health insurance coverage through the Patient Protection and Affordable Care Act.</li>
</ul>



<p class="wp-block-paragraph">And falling crime rates from the 1990s through the 2010s might have contributed more directly to increasing interpersonal trust.</p>



<p class="wp-block-paragraph">Of course these explanations are speculative, so let’s get back to what’s supported by the data:</p>



<ul class="wp-block-list">
<li>Since the 1970s, interpersonal trust has declined consistently in all three groups (liberal, conservative, and moderate).</li>



<li>Before 2005, liberals and conservatives were about equally trusting; since then, the decline among liberals has slowed, so they are now the most trusting group.</li>



<li>Among conservatives and moderates, the cohort and period effects are both downward, so they contribute to steeper decline.</li>



<li>Among liberals, the cohort effect is steeply downward in the most recent cohorts, but the decline is mitigated by a positive period effect.</li>
</ul>



<p class="wp-block-paragraph">For now, liberals are the most trusting group, but if the cohort effect persists, they might not be for long.</p>



<p class="wp-block-paragraph"></p>
<p>The post <a href="https://www.allendowney.com/blog/2026/06/12/who-is-more-trusting-liberals-or-conservatives/">Who Is More Trusting: Liberals or Conservatives?</a> appeared first on <a href="https://www.allendowney.com/blog">Probably Overthinking It</a>.</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1836</post-id>	</item>
		<item>
		<title>The Frog Puzzle</title>
		<link>https://www.allendowney.com/blog/2026/06/04/the-frog-puzzle/</link>
		
		<dc:creator><![CDATA[AllenDowney]]></dc:creator>
		<pubDate>Thu, 04 Jun 2026 19:13:19 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Bayes&#039;s Theorem]]></category>
		<category><![CDATA[Frog Puzzle]]></category>
		<category><![CDATA[probability]]></category>
		<guid isPermaLink="false">https://www.allendowney.com/blog/?p=1828</guid>

					<description><![CDATA[<p>Here’s a probability puzzle from a TED-Ed video called Can you solve the frog riddle? by Derek Abbott. It came up recently in this Reddit thread: You’re stranded in a rainforest after accidentally eating a poisonous mushroom. To survive the poison, you need to lick a certain species of frog. Only female frogs produce the antidote. Male and female frogs occur in equal numbers and look identical, but male frogs have a distinctive croak. You see one frog alone on...</p>
<p class="read-more"><a class="btn btn-default" href="https://www.allendowney.com/blog/2026/06/04/the-frog-puzzle/"> Read More<span class="screen-reader-text">  Read More</span></a></p>
<p>The post <a href="https://www.allendowney.com/blog/2026/06/04/the-frog-puzzle/">The Frog Puzzle</a> appeared first on <a href="https://www.allendowney.com/blog">Probably Overthinking It</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">Here’s a probability puzzle from a TED-Ed video called <a href="https://www.youtube.com/watch?v=cpwSGsb-rTs">Can you solve the frog riddle?</a> by Derek Abbott. It came up recently in this <a href="https://www.reddit.com/r/probabilitytheory/comments/1ttzcjt/frog_riddle_again/">Reddit thread</a>:</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p class="wp-block-paragraph">You’re stranded in a rainforest after accidentally eating a poisonous mushroom. To survive the poison, you need to lick a certain species of frog. Only female frogs produce the antidote. Male and female frogs occur in equal numbers and look identical, but male frogs have a distinctive croak.</p>



<p class="wp-block-paragraph">You see one frog alone on a tree stump. In another direction, you hear the croak of a male frog coming from a clearing with two frogs. You can’t tell which one made the sound.</p>



<p class="wp-block-paragraph">You only have time to go to one place. What are your chances of survival if you go to the clearing and lick both frogs? What if you go to the lone frog?</p>
</blockquote>



<p class="wp-block-paragraph">The second question is relatively easy: if we assume that you are equally likely to see a male or female frog, the probability is 50% that the lone frog is female.</p>



<p class="wp-block-paragraph">The first question depends on how we interpret the puzzle. In particular, it hinges on the word “distinctive” – does that mean:</p>



<ul class="wp-block-list">
<li>Only male frogs croak, and the sound is distinguishable from background noises, or</li>



<li>Both male and female frogs croak, but the male croak is distinguishable from the female croak.</li>
</ul>



<p class="wp-block-paragraph">Based on the answer presented in the video, the first meaning is intended. So we’ll start by solving that version.</p>



<p class="wp-block-paragraph">But the second meaning makes the problem a little harder, so we’ll solve that one, too.</p>



<h2 class="wp-block-heading">Only Male Frogs Croak</h2>



<p class="wp-block-paragraph">To solve the intended version of the puzzle, we’ll assume</p>



<ul class="wp-block-list">
<li>Only male frogs croak, and</li>



<li>When two frogs appear together, their sexes are independent.</li>
</ul>



<p class="wp-block-paragraph">So we’ll start with a prior where all two-frog combinations are equally likely.</p>



<pre class="wp-block-preformatted">from sympy import Rational

hypo = ['FF', 'FM', 'MF', 'MM']
prior = Rational(1)
</pre>



<p class="wp-block-paragraph">Now let’s think about the likelihood of the data under each scenario. In the video, the solution is based on these assumptions:</p>



<ul class="wp-block-list">
<li>If both frogs are female, the probability of hearing the male croak is 0.</li>



<li>If either frog is male, the probability that one of them croaks is 1.</li>
</ul>



<pre class="wp-block-preformatted">likelihood = [0, 1, 1, 1]
</pre>



<p class="wp-block-paragraph">I’ll use a <code>BayesTable</code> to compute the posterior probability for each scenario.</p>



<pre class="wp-block-preformatted">import pandas as pd
import numpy as np

class BayesTable(pd.DataFrame):
    def __init__(self, hypo, prior=1, **options):
        columns = ['prior', 'likelihood', 'unnorm', 'posterior']
        super().__init__(index=hypo, columns=columns, **options)
        self.prior = prior
    
    def update(self, likelihood):
        self.likelihood = likelihood
        self.unnorm = self.prior * self.likelihood
        nc = self.unnorm.sum()
        self.posterior = self.unnorm / nc
</pre>



<pre class="wp-block-preformatted">table = BayesTable(hypo, prior)
table.update(likelihood)
table
</pre>



<figure class="wp-block-table"><table class="has-fixed-layout"><thead><tr><th></th><th>prior</th><th>likelihood</th><th>unnorm</th><th>posterior</th></tr></thead><tbody><tr><th>FF</th><td>1</td><td>0</td><td>0</td><td>0</td></tr><tr><th>FM</th><td>1</td><td>1</td><td>1</td><td>1/3</td></tr><tr><th>MF</th><td>1</td><td>1</td><td>1</td><td>1/3</td></tr><tr><th>MM</th><td>1</td><td>1</td><td>1</td><td>1/3</td></tr></tbody></table></figure>



<p class="wp-block-paragraph">From the table, we can extract the posterior probability that both frogs are male.</p>



<pre class="wp-block-preformatted">from sympy import init_printing
init_printing(use_latex=False)
</pre>



<pre class="wp-block-preformatted">table.posterior['MM']
</pre>



<pre class="wp-block-preformatted">1/3
</pre>



<p class="wp-block-paragraph">With these assumptions, the probability 1/3 that both frogs are male (and you die), so the probability is 2/3 that at least one is female (and you live).</p>



<p class="wp-block-paragraph">And that’s the answer in the video.</p>



<h2 class="wp-block-heading">Poisson (not Poison) Frogs</h2>



<p class="wp-block-paragraph">But is that the right likelihood? Suppose frogs are equally likely to croak at any instant in time, so their croaks follow a Poisson process. If we assume that these croaking processes are independent, two frogs would be more likely to croak, during a given interval, than one.</p>



<p class="wp-block-paragraph">If the interval is much longer than the average time between croaks, the probability that either frog croaks approaches 1, which is consistent with the previous solution.</p>



<p class="wp-block-paragraph">But if the interval is short – as it might be if you were deciding whether to approach the first frog – the probability of hearing a croak would be double if there are two male frogs rather than one.</p>



<p class="wp-block-paragraph">In that case, the likelihood of the data would be:</p>



<pre class="wp-block-preformatted">half = Rational(1, 2)
likelihood = [0, half, half, 1]
</pre>



<p class="wp-block-paragraph">And here are the posterior probabilities:</p>



<pre class="wp-block-preformatted">table = BayesTable(hypo, prior)
table.update(likelihood)
table
</pre>



<figure class="wp-block-table"><table class="has-fixed-layout"><thead><tr><th></th><th>prior</th><th>likelihood</th><th>unnorm</th><th>posterior</th></tr></thead><tbody><tr><th>FF</th><td>1</td><td>0</td><td>0</td><td>0</td></tr><tr><th>FM</th><td>1</td><td>1/2</td><td>1/2</td><td>1/4</td></tr><tr><th>MF</th><td>1</td><td>1/2</td><td>1/2</td><td>1/4</td></tr><tr><th>MM</th><td>1</td><td>1</td><td>1</td><td>1/2</td></tr></tbody></table></figure>



<p class="wp-block-paragraph">With Poisson frogs and a short interval, the probability of two male frogs is 1/2, so it doesn’t matter whether you approach the lone frog or the pair of frogs.</p>



<h2 class="wp-block-heading">Female Frogs Croak, Too</h2>



<p class="wp-block-paragraph">Now let’s think about the other interpretation of the puzzle: suppose both male and female frogs croak, but we can distinguish one from the other. And suppose male and female frogs croak at different rates, but they are still independent.</p>



<p class="wp-block-paragraph">Assume that male frogs croak at a rate of 1 per time unit, and female frogs at a rate of <code>r</code> per time unit. In that case, if we start listening at a random time, the probability that we hear a male frog first is <code>1 / (r+1)</code> if there’s only one male frog, and <code>1</code> if there are two male frogs.</p>



<p class="wp-block-paragraph">So the likelihood in this case is:</p>



<pre class="wp-block-preformatted">from sympy import symbols

r = symbols('r')
likelihood = [0, 1 / (r+1), 1 / (r+1), 1]
</pre>



<p class="wp-block-paragraph">And here are the posteriors</p>



<pre class="wp-block-preformatted">table = BayesTable(hypo, prior)
table.update(likelihood)
table
</pre>



<figure class="wp-block-table"><table class="has-fixed-layout"><thead><tr><th></th><th>prior</th><th>likelihood</th><th>unnorm</th><th>posterior</th></tr></thead><tbody><tr><th>FF</th><td>1</td><td>0</td><td>0</td><td>0</td></tr><tr><th>FM</th><td>1</td><td>1/(r + 1)</td><td>1/(r + 1)</td><td>1/((1 + 2/(r + 1))*(r + 1))</td></tr><tr><th>MF</th><td>1</td><td>1/(r + 1)</td><td>1/(r + 1)</td><td>1/((1 + 2/(r + 1))*(r + 1))</td></tr><tr><th>MM</th><td>1</td><td>1</td><td>1</td><td>1/(1 + 2/(r + 1))</td></tr></tbody></table></figure>



<p class="wp-block-paragraph">In this scenario, here’s the probability you die.</p>



<pre class="wp-block-preformatted">prob_die = table.posterior['MM']
prob_die.simplify()
</pre>



<pre class="wp-block-preformatted">r + 1
─────
r + 3
</pre>



<p class="wp-block-paragraph">If female frogs don’t croak, we get the same answer as in the first scenario.</p>



<pre class="wp-block-preformatted">prob_die.subs({r: 0})
</pre>



<pre class="wp-block-preformatted">1/3
</pre>



<p class="wp-block-paragraph">If male and female frogs croak at the same rate, the probability that both frogs are male is 1/2.</p>



<pre class="wp-block-preformatted">prob_die.subs({r: 1})
</pre>



<pre class="wp-block-preformatted">1/2
</pre>



<p class="wp-block-paragraph">But if female frogs croak much more often, the fact that a male croaked first is strong evidence that both are male, so the posterior probability is close to 1.</p>



<pre class="wp-block-preformatted">prob_die.subs({r: 1000}).evalf()
</pre>



<pre class="wp-block-preformatted">0.998005982053839
</pre>



<h2 class="wp-block-heading">Assortative Mating</h2>



<p class="wp-block-paragraph">Now suppose that when we see two frogs together, their sexes are not independent; specifically, let’s assume that the probability of a same-sex pair is <code>p</code>, so the probability of a mixed-sex pair is <code>1-p</code>. In this scenario, the priors (before we hear the croak) are not equal.</p>



<pre class="wp-block-preformatted">p = symbols('p')
prior = [p, 1-p, 1-p, p]
</pre>



<p class="wp-block-paragraph">Here are the posterior probabilities, assuming again that both male and female frogs, possibly at different rates.</p>



<pre class="wp-block-preformatted">likelihood = [0, 1 / (r+1), 1 / (r+1), 1]
table = BayesTable(hypo, prior)
table.update(likelihood)
table
</pre>



<figure class="wp-block-table"><table class="has-fixed-layout"><thead><tr><th></th><th>prior</th><th>likelihood</th><th>unnorm</th><th>posterior</th></tr></thead><tbody><tr><th>FF</th><td>p</td><td>0</td><td>0</td><td>0</td></tr><tr><th>FM</th><td>1 &#8211; p</td><td>1/(r + 1)</td><td>(1 &#8211; p)/(r + 1)</td><td>(1 &#8211; p)/((p + 2*(1 &#8211; p)/(r + 1))*(r + 1))</td></tr><tr><th>MF</th><td>1 &#8211; p</td><td>1/(r + 1)</td><td>(1 &#8211; p)/(r + 1)</td><td>(1 &#8211; p)/((p + 2*(1 &#8211; p)/(r + 1))*(r + 1))</td></tr><tr><th>MM</th><td>p</td><td>1</td><td>p</td><td>p/(p + 2*(1 &#8211; p)/(r + 1))</td></tr></tbody></table></figure>



<pre class="wp-block-preformatted">table.posterior['MM'].simplify()
</pre>



<pre class="wp-block-preformatted"> p⋅(r + 1) 
───────────
p⋅r - p + 2
</pre>



<p class="wp-block-paragraph">If <code>p=1/2</code>, this simplifies to the previous scenario.</p>



<pre class="wp-block-preformatted">table.posterior['MM'].subs({p: half}).simplify()
</pre>



<pre class="wp-block-preformatted">r + 1
─────
r + 3
</pre>



<p class="wp-block-paragraph">And if <code>r=0</code> (female frogs don’t croak), we get the answer presented in the video.</p>



<pre class="wp-block-preformatted">table.posterior['MM'].subs({p: half, r: 0}).simplify()
</pre>



<pre class="wp-block-preformatted">1/3
</pre>



<p class="wp-block-paragraph">But depending on the assumptions, the probability can be as low as <code>0</code></p>



<pre class="wp-block-preformatted">table.posterior['MM'].subs({p: 0, r: 1}).simplify()
</pre>



<pre class="wp-block-preformatted">0
</pre>



<p class="wp-block-paragraph">Or as high as <code>1</code>.</p>



<pre class="wp-block-preformatted">table.posterior['MM'].subs({p: 1, r: 0}).simplify()
</pre>



<pre class="wp-block-preformatted">1
</pre>



<p class="wp-block-paragraph">Or anything in between. As is often the case with problems like these, the answer depends on a precise specification of the data-generating process.</p>



<h2 class="wp-block-heading">Discussion</h2>



<p class="wp-block-paragraph">If all of this seems like more trouble than it’s worth, let me suggest a metacognitive shortcut for solving puzzles like this.</p>



<ol class="wp-block-list">
<li>Notice that in all probability puzzles, the answer is either 1/2 or 1/3.</li>



<li>Also, the answer is always counterintuitive; otherwise it wouldn’t be a puzzle.</li>



<li>Therefore, if your intuition says the answer is 1/2, it’s actually 1/3, and vice versa.</li>
</ol>



<p class="wp-block-paragraph">That might save you some time.</p>



<p class="wp-block-paragraph">This notebook uses methods and materials from <em>Think Bayes</em>, second edition. If you like this sort of thing, you can read the whole book, and more examples, at <a href="https://allendowney.github.io/ThinkBayes2/">allendowney.github.io/ThinkBayes2/</a>.</p>



<p class="wp-block-paragraph"><br><br></p>



<p class="wp-block-paragraph"></p>
<p>The post <a href="https://www.allendowney.com/blog/2026/06/04/the-frog-puzzle/">The Frog Puzzle</a> appeared first on <a href="https://www.allendowney.com/blog">Probably Overthinking It</a>.</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1828</post-id>	</item>
		<item>
		<title>Sexual morality</title>
		<link>https://www.allendowney.com/blog/2026/05/28/sexual-morality/</link>
		
		<dc:creator><![CDATA[AllenDowney]]></dc:creator>
		<pubDate>Thu, 28 May 2026 18:21:52 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[age period cohort analysis]]></category>
		<category><![CDATA[bayesian statistics]]></category>
		<category><![CDATA[general social survey]]></category>
		<guid isPermaLink="false">https://www.allendowney.com/blog/?p=1818</guid>

					<description><![CDATA[<p>This article is one of a series looking at changes in public opinion over the last 50 years, with a focus on culture war topics. In this installment, we’ll look at responses to four questions in the General Social Survey (GSS) related to sexual activity: As we’ll see, answers to these questions have diverged in the last 50 years. A large majority answer that extramarital and teen sex are wrong, and that has barely changed (although opposition). At the same...</p>
<p class="read-more"><a class="btn btn-default" href="https://www.allendowney.com/blog/2026/05/28/sexual-morality/"> Read More<span class="screen-reader-text">  Read More</span></a></p>
<p>The post <a href="https://www.allendowney.com/blog/2026/05/28/sexual-morality/">Sexual morality</a> appeared first on <a href="https://www.allendowney.com/blog">Probably Overthinking It</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">This article is one of a series looking at changes in public opinion over the last 50 years, with a focus on culture war topics. In this installment, we’ll look at responses to four questions in the General Social Survey (GSS) related to sexual activity:</p>



<ol start="1" class="wp-block-list">
<li><strong>Premarital sex</strong> (<code>premarsx</code>): <em>There’s been a lot of discussion about the way morals and attitudes about sex are changing in this country. If a man and woman have sex relations before marriage, do you think it is always wrong, almost always wrong, wrong only sometimes, or not wrong at all?</em></li>



<li><strong>Teen premarital sex</strong> (<code>teensex</code>): <em>What if they are in their early teens, say 14 to 16 years old? In that case, do you think sex relations before marriage are always wrong, almost always wrong, wrong only sometimes, or not wrong at all?</em></li>



<li><strong>Extramarital sex</strong> (<code>xmarsex</code>): <em>What is your opinion about a married person having sexual relations with someone other than the marriage partner—is it always wrong, almost always wrong, wrong only sometimes, or not wrong at all?</em></li>



<li><strong>Same-sex relations</strong> (<code>homosex</code>): <em>What about sexual relations between two adults of the same sex—do you think it is always wrong, almost always wrong, wrong only sometimes, or not wrong at all?</em></li>
</ol>



<p class="wp-block-paragraph">As we’ll see, answers to these questions have diverged in the last 50 years. A large majority answer that extramarital and teen sex are wrong, and that has barely changed (although opposition). At the same time, opposition to premarital sex and same-sex relations has declined substantially.</p>



<p class="wp-block-paragraph">In this article, we’ll look at these trends and decompose them into cohort and period effects. In the next article, we’ll look at the relationship between these responses and religion, both affiliation and attendance.</p>



<p class="wp-block-paragraph">We’ll start with the first question, on premarital sex.</p>



<h2 class="wp-block-heading">Premarital sex</h2>



<p class="wp-block-paragraph">The following figure shows the percentage of respondents saying premarital sex is always or almost always wrong, from 1972 to 2024. The shaded area shows the results from a Bayesian model that estimates the latent trend — that is, a slowly varying underlying level of opposition to premarital sex.</p>



<figure class="wp-block-image" id="premarsx-time-model"><img loading="lazy" decoding="async" width="1145" height="826" src="https://www.allendowney.com/blog/wp-content/uploads/2026/05/time_model_premarsx_-92782a5d81ed3c322ce3a3b74a1a1525.png" alt="Time series national trend: percent saying premarital sex is always or almost always wrong (premarsx)." class="wp-image-1820" srcset="https://www.allendowney.com/blog/wp-content/uploads/2026/05/time_model_premarsx_-92782a5d81ed3c322ce3a3b74a1a1525.png 1145w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/time_model_premarsx_-92782a5d81ed3c322ce3a3b74a1a1525-300x216.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/time_model_premarsx_-92782a5d81ed3c322ce3a3b74a1a1525-1024x739.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/time_model_premarsx_-92782a5d81ed3c322ce3a3b74a1a1525-768x554.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/time_model_premarsx_-92782a5d81ed3c322ce3a3b74a1a1525-374x270.png 374w" sizes="auto, (max-width: 1145px) 100vw, 1145px" /></figure>



<p class="wp-block-paragraph">Opposition to premarital sex has declined since 1972, from about 47% to about 20%.</p>



<p class="wp-block-paragraph">As always, when we see this kind of change over time, it might be caused by cohort or period effects, or a combination of the two. Using a Bayesian model, I estimate a cohort effect for each birth year and a period effect for each survey year. The following figure shows the resulting trajectory for each cohort over time.</p>



<figure class="wp-block-image" id="premarsx-cohort-trajectories"><img loading="lazy" decoding="async" width="1330" height="773" src="https://www.allendowney.com/blog/wp-content/uploads/2026/05/cohort_trajectory_pr-795031a5150bdfce6ad7635df8bae9d3.png" alt="Cohort trajectories: percent always or almost always wrong (premarsx), one line per birth year." class="wp-image-1826" srcset="https://www.allendowney.com/blog/wp-content/uploads/2026/05/cohort_trajectory_pr-795031a5150bdfce6ad7635df8bae9d3.png 1330w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/cohort_trajectory_pr-795031a5150bdfce6ad7635df8bae9d3-300x174.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/cohort_trajectory_pr-795031a5150bdfce6ad7635df8bae9d3-1024x595.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/cohort_trajectory_pr-795031a5150bdfce6ad7635df8bae9d3-768x446.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/cohort_trajectory_pr-795031a5150bdfce6ad7635df8bae9d3-465x270.png 465w" sizes="auto, (max-width: 1330px) 100vw, 1330px" /></figure>



<p class="wp-block-paragraph">Each line represents a single birth year. For example, the yellow line at the top shows the fitted trajectory for people born in 1900, who were 72 when the survey started in 1972 and 90 when they aged out in 1990. The blue line in the bottom right shows responses of people born in 2000, who became eligible to participate in the survey when they turned 18 in 2018.</p>



<p class="wp-block-paragraph">One pattern is clear: each cohort is less likely than the previous cohort to say that premarital sex is wrong. Among people born in 1900, it was more than 70%. Among people born in the 2000s, it is close to 10%. So that’s a big difference.</p>



<p class="wp-block-paragraph">From these results, we can estimate the cohort and period effects separately. The following figure shows the cohort effect, standardized to control for the period effect by simulating responses as if every cohort was interviewed during every iteration of the survey.</p>



<figure class="wp-block-image" id="premarsx-cohort-standardized"><img loading="lazy" decoding="async" width="1145" height="826" src="https://www.allendowney.com/blog/wp-content/uploads/2026/05/cohort_standardized_-2ddcc0ce51962fa548b8944732f56f2c.png" alt="Standardized cohort component with uniform weights on observed survey years (premarsx)." class="wp-image-1821" srcset="https://www.allendowney.com/blog/wp-content/uploads/2026/05/cohort_standardized_-2ddcc0ce51962fa548b8944732f56f2c.png 1145w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/cohort_standardized_-2ddcc0ce51962fa548b8944732f56f2c-300x216.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/cohort_standardized_-2ddcc0ce51962fa548b8944732f56f2c-1024x739.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/cohort_standardized_-2ddcc0ce51962fa548b8944732f56f2c-768x554.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/cohort_standardized_-2ddcc0ce51962fa548b8944732f56f2c-374x270.png 374w" sizes="auto, (max-width: 1145px) 100vw, 1145px" /></figure>



<p class="wp-block-paragraph">The decline was steepest between the cohorts born in 1900 and 1950. After that, it leveled off, then declined again among the cohorts born in the 1980s.</p>



<p class="wp-block-paragraph">Now we can estimate the period effect, standardized to control for the cohort effect, shown in the following figure.</p>



<figure class="wp-block-image" id="premarsx-period-standardized"><img loading="lazy" decoding="async" width="1145" height="826" src="https://www.allendowney.com/blog/wp-content/uploads/2026/05/time_standardized_pr-3ad2679bfedff58845cbd5c8219ec152.png" alt="Standardized period component with fixed cohort mix (premarsx)." class="wp-image-1822" srcset="https://www.allendowney.com/blog/wp-content/uploads/2026/05/time_standardized_pr-3ad2679bfedff58845cbd5c8219ec152.png 1145w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/time_standardized_pr-3ad2679bfedff58845cbd5c8219ec152-300x216.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/time_standardized_pr-3ad2679bfedff58845cbd5c8219ec152-1024x739.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/time_standardized_pr-3ad2679bfedff58845cbd5c8219ec152-768x554.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/time_standardized_pr-3ad2679bfedff58845cbd5c8219ec152-374x270.png 374w" sizes="auto, (max-width: 1145px) 100vw, 1145px" /></figure>



<p class="wp-block-paragraph">The period effect is smaller than the cohort effect — about 8 percentage points from peak to trough — and less consistent. Opposition to premarital sex increased between 1980 and 2000, which coincides with increasing awareness of AIDS and public messaging about sexual risk, as well as the rise of the Religious Right and “family values” politics.</p>



<p class="wp-block-paragraph">But before I speculate about the causes of these patterns, it will be useful to look at the responses to the other questions.</p>



<h2 class="wp-block-heading">When is sex wrong?</h2>



<p class="wp-block-paragraph">The following figure shows the estimated percentage who think sex is wrong (always or almost always) in each of the four scenarios: premarital, teen, extramarital, and same-sex.</p>



<figure class="wp-block-image" id="sex-wrongness-composite-time-model"><img loading="lazy" decoding="async" width="1145" height="766" src="https://www.allendowney.com/blog/wp-content/uploads/2026/05/section1a_sex_wrongn-80473854b8315d2c65a20e45ee21992c.png" alt="Composite overlay: sexual-behavior wrongness scale — national time-series model (four items)." class="wp-image-1824" srcset="https://www.allendowney.com/blog/wp-content/uploads/2026/05/section1a_sex_wrongn-80473854b8315d2c65a20e45ee21992c.png 1145w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/section1a_sex_wrongn-80473854b8315d2c65a20e45ee21992c-300x201.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/section1a_sex_wrongn-80473854b8315d2c65a20e45ee21992c-1024x685.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/section1a_sex_wrongn-80473854b8315d2c65a20e45ee21992c-768x514.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/section1a_sex_wrongn-80473854b8315d2c65a20e45ee21992c-404x270.png 404w" sizes="auto, (max-width: 1145px) 100vw, 1145px" /></figure>



<p class="wp-block-paragraph">Reading from top to bottom:</p>



<ul class="wp-block-list">
<li>Nearly everyone thinks “a married person having sexual relations with someone other than the marriage partner” is wrong, and the percentage has barely changed in more than 50 years.</li>



<li>Opposition to teen sex (the question specifies ages 14-16) is nearly as high, although it has declined since 2005 by about 15 percentage points.</li>



<li>Opposition to same-sex relations was high and mostly unchanged between 1972 and 1990. Since then it has decreased by almost 50 percentage points in 30 years, which is an astonishing speed for this kind of social change. Since 2020, opposition has increased a little.</li>



<li>Finally, as we’ve already seen, opposition to premarital sex declined substantially since the beginning of the survey.</li>
</ul>



<p class="wp-block-paragraph">For all four scenarios, we can estimate the cohort effect, controlling for the period effect, shown in the following figure.</p>



<figure class="wp-block-image" id="sex-wrongness-composite-cohort"><img loading="lazy" decoding="async" width="1145" height="766" src="https://www.allendowney.com/blog/wp-content/uploads/2026/05/section1a_sex_wrongn-f61ab0124fa6ad280ce97c7fe9addcba.png" alt="Composite overlay: standardized cohort component with uniform weights on observed years (four items)." class="wp-image-1825" srcset="https://www.allendowney.com/blog/wp-content/uploads/2026/05/section1a_sex_wrongn-f61ab0124fa6ad280ce97c7fe9addcba.png 1145w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/section1a_sex_wrongn-f61ab0124fa6ad280ce97c7fe9addcba-300x201.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/section1a_sex_wrongn-f61ab0124fa6ad280ce97c7fe9addcba-1024x685.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/section1a_sex_wrongn-f61ab0124fa6ad280ce97c7fe9addcba-768x514.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/section1a_sex_wrongn-f61ab0124fa6ad280ce97c7fe9addcba-404x270.png 404w" sizes="auto, (max-width: 1145px) 100vw, 1145px" /></figure>



<p class="wp-block-paragraph">For all four scenarios, there is a consistent downward trend in the cohort effect, modest for extramarital and teen sex, much steeper for premarital and same-sex relations.</p>



<p class="wp-block-paragraph">The following figure shows the period effects.</p>



<figure class="wp-block-image" id="sex-wrongness-composite-period"><img loading="lazy" decoding="async" width="1145" height="766" src="https://www.allendowney.com/blog/wp-content/uploads/2026/05/section1a_sex_wrongn-f67ed5b82acbc806401f00d555e7c43e.png" alt="Composite overlay: standardized period component with fixed cohort mix (four items)." class="wp-image-1823" srcset="https://www.allendowney.com/blog/wp-content/uploads/2026/05/section1a_sex_wrongn-f67ed5b82acbc806401f00d555e7c43e.png 1145w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/section1a_sex_wrongn-f67ed5b82acbc806401f00d555e7c43e-300x201.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/section1a_sex_wrongn-f67ed5b82acbc806401f00d555e7c43e-1024x685.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/section1a_sex_wrongn-f67ed5b82acbc806401f00d555e7c43e-768x514.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/section1a_sex_wrongn-f67ed5b82acbc806401f00d555e7c43e-404x270.png 404w" sizes="auto, (max-width: 1145px) 100vw, 1145px" /></figure>



<p class="wp-block-paragraph">After controlling for the cohort effects, the remaining period effects are more modest.</p>



<ul class="wp-block-list">
<li>Opposition to teen sex is mostly unchanged, with some decline since 2010.</li>



<li>Opposition to extramarital sex increased between 1972 and 2010, and decreased since then.</li>



<li>Opposition to same-sex relations shows by far the largest period effect, increasing between 1972 and 1990, and decreasing since then — although increasing again since 2020.</li>



<li>Opposition to premarital sex has increased and decreased modestly.</li>
</ul>



<p class="wp-block-paragraph">In most scenarios, the cohort effect accounts for more of the observed change — but for same-sex relations, the period effect also makes a substantial contribution.</p>



<h2 class="wp-block-heading">Dogma, morality, and health</h2>



<p class="wp-block-paragraph">To make sense of these patterns, let’s think about what people might mean when they say that sex is wrong.</p>



<p class="wp-block-paragraph">Taking premarital sex as an example, some people consider sex outside marriage to be contrary to spiritual values or religious teachings. Others might be concerned with sexually-transmitted disease or the social consequences of children born outside of stable families.</p>



<p class="wp-block-paragraph">And for teens specifically, some object because they see adolescence as a period of innocence that should be protected, believe sexual activity compromises purity or chastity, or think sexual restraint reflects virtues like self-discipline and respect for social norms. Also, some might think teenagers don’t have the knowledge, experience, and impulse control to avoid health consequences of sex, especially pregnancy, or the maturity to handle emotional challenges.</p>



<p class="wp-block-paragraph">Similarly, some people object to same-sex relations because they see them as contrary to religious teachings, inconsistent with traditional ideas about gender and family, or incompatible with social norms about sexuality.</p>



<p class="wp-block-paragraph">And people might object to extramarital sex because of the emotional harm it causes, because it breaks a vow, because it threatens families and social stability, or because it violates holy matrimony.</p>



<p class="wp-block-paragraph">In each scenario, objections arise from different concerns: practical risks and harms, social concerns about norms and stability, and moral or religious beliefs. Looking only at multiple-choice responses, we don’t know what respondents had in mind.</p>



<p class="wp-block-paragraph">But the differences we see — between teen and extramarital sex on one hand, and premarital sex and same-sex relations on the other — suggest a conjecture: objections rooted in immediate harms and concrete consequences might be more stable over time; objections rooted in social norms, morality, and religion might be more historically contingent.</p>



<p class="wp-block-paragraph">In the next article, we’ll test this conjecture by looking at relationships between religion and attitudes about sex — and how both have changed over time.</p>



<p class="wp-block-paragraph"><a href="https://allendowney.github.io/CultureWar//blog8-confidence"></a><a href="https://allendowney.github.io/CultureWar//blog8-confidence"></a></p>



<p class="wp-block-paragraph"></p>
<p>The post <a href="https://www.allendowney.com/blog/2026/05/28/sexual-morality/">Sexual morality</a> appeared first on <a href="https://www.allendowney.com/blog">Probably Overthinking It</a>.</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1818</post-id>	</item>
		<item>
		<title>Confidence in Institutions</title>
		<link>https://www.allendowney.com/blog/2026/05/19/confidence-in-institutions/</link>
		
		<dc:creator><![CDATA[AllenDowney]]></dc:creator>
		<pubDate>Tue, 19 May 2026 15:04:04 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[age period cohort analysis]]></category>
		<category><![CDATA[bayesian statistics]]></category>
		<category><![CDATA[general social survey]]></category>
		<guid isPermaLink="false">https://www.allendowney.com/blog/?p=1803</guid>

					<description><![CDATA[<p>This article is one of a series exploring responses to core questions in the General Social Survey (GSS), estimating period and cohort effects, and looking for historical events that might explain the trends we see. Confidence in American institutions In this installment, we’ll look at 13 questions related to confidence in institutions. We’ll start with a detailed look at confidence in “the people running Congress”, and then summarize results from the other questions. The complete survey question is: I am...</p>
<p class="read-more"><a class="btn btn-default" href="https://www.allendowney.com/blog/2026/05/19/confidence-in-institutions/"> Read More<span class="screen-reader-text">  Read More</span></a></p>
<p>The post <a href="https://www.allendowney.com/blog/2026/05/19/confidence-in-institutions/">Confidence in Institutions</a> appeared first on <a href="https://www.allendowney.com/blog">Probably Overthinking It</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">This article is one of a series exploring responses to core questions in the General Social Survey (GSS), estimating period and cohort effects, and looking for historical events that might explain the trends we see.<a href="https://github.com/AllenDowney/CultureWar" target="_blank" rel="noreferrer noopener"></a><a href="https://github.com/AllenDowney/CultureWar/edit/main/jb/blog8_confidence.md" target="_blank" rel="noreferrer noopener"></a></p>



<h2 class="wp-block-heading" id="confidence-in-american-institutions">Confidence in American institutions</h2>



<p class="wp-block-paragraph">In this installment, we’ll look at 13 questions related to confidence in institutions. We’ll start with a detailed look at confidence in “the people running Congress”, and then summarize results from the other questions. The <a href="https://gssdataexplorer.norc.org/variables/459/vshow" target="_blank" rel="noreferrer noopener">complete survey question</a> is:</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p class="wp-block-paragraph">I am going to name some institutions in this country. As far as the people running these institutions are concerned, would you say you have a great deal of confidence, only some confidence, or hardly any confidence at all in [&#8230;] Congress.</p>
</blockquote>



<p class="wp-block-paragraph">The following figure shows the fraction of people who answered “a great deal of confidence” or “only some confidence,” and a smooth line fitted to the raw percentages.</p>



<figure class="wp-block-image" id="conlegis-time-model"><img loading="lazy" decoding="async" width="1145" height="790" src="https://www.allendowney.com/blog/wp-content/uploads/2026/05/time_model_conlegis_-e47a9b867ea68609944d3abe98446e29.png" alt="Time-only model, confidence in the people running Congress." class="wp-image-1808" srcset="https://www.allendowney.com/blog/wp-content/uploads/2026/05/time_model_conlegis_-e47a9b867ea68609944d3abe98446e29.png 1145w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/time_model_conlegis_-e47a9b867ea68609944d3abe98446e29-300x207.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/time_model_conlegis_-e47a9b867ea68609944d3abe98446e29-1024x707.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/time_model_conlegis_-e47a9b867ea68609944d3abe98446e29-768x530.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/time_model_conlegis_-e47a9b867ea68609944d3abe98446e29-391x270.png 391w" sizes="auto, (max-width: 1145px) 100vw, 1145px" /></figure>



<p class="wp-block-paragraph">The long-term trend is downward, from about 80% during the first iteration of the survey to below 50% in the most recent iterations. But there are ups and downs.</p>



<p class="wp-block-paragraph">It looks like confidence was increasing during the 1980s before collapsing in the early 1990s. Possible causes of the decline include:</p>



<ul class="wp-block-list">
<li>The <a href="https://en.wikipedia.org/wiki/House_banking_scandal" target="_blank" rel="noreferrer noopener">House banking scandal</a>, also known as Rubbergate, and the <a href="https://en.wikipedia.org/wiki/Congressional_Post_Office_scandal" target="_blank" rel="noreferrer noopener">Congressional Post Office scandal</a>.</li>



<li>Increased polarization and perception of dysfunction during the period when <a href="https://en.wikipedia.org/wiki/Newt_Gingrich#Speaker_of_the_House" target="_blank" rel="noreferrer noopener">Newt Gingrich</a> was minority whip (1989-1995).</li>



<li>An <a href="https://en.wikipedia.org/wiki/Early_1990s_recession_in_the_United_States" target="_blank" rel="noreferrer noopener">economic recession</a> from 1990 into 1991.</li>
</ul>



<p class="wp-block-paragraph">Confidence in Congress recovered between 1995 and 2005, and declined again between 2005 and 2015. A likely contributor is the <a href="https://en.wikipedia.org/wiki/Great_Recession" target="_blank" rel="noreferrer noopener">Great Recession</a> from late 2007 to mid-2009.</p>



<p class="wp-block-paragraph">This period also saw the rise of anti-establishment politics, including the <a href="https://en.wikipedia.org/wiki/Tea_Party_movement" target="_blank" rel="noreferrer noopener">Tea Party movement</a> and <a href="https://en.wikipedia.org/wiki/Ron_Paul" target="_blank" rel="noreferrer noopener">Ron Paul’s</a> presidential campaign.</p>



<p class="wp-block-paragraph">Now we’ll decompose these changes into period and cohort effects.</p>



<h3 class="wp-block-heading" id="period-and-cohort-effects">Period and cohort effects</h3>



<p class="wp-block-paragraph">Using the <a href="https://allendowney.github.io/CultureWar/tech-report/" target="_blank" rel="noreferrer noopener">Bayesian model described here</a> we can estimate a latent “confidence in Congress” factor for each birth cohort over time. The following figure shows these estimates; each line represents a single birth year.</p>



<figure class="wp-block-image" id="conlegis-cohort-trajectories"><img loading="lazy" decoding="async" width="1330" height="778" src="https://www.allendowney.com/blog/wp-content/uploads/2026/05/cohort_trajectory_co-d5cd0d30431d1f3f08bcc503ebb4d786.png" alt="Cohort trajectories, percent with a great deal or only some confidence in the people running Congress." class="wp-image-1814" srcset="https://www.allendowney.com/blog/wp-content/uploads/2026/05/cohort_trajectory_co-d5cd0d30431d1f3f08bcc503ebb4d786.png 1330w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/cohort_trajectory_co-d5cd0d30431d1f3f08bcc503ebb4d786-300x175.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/cohort_trajectory_co-d5cd0d30431d1f3f08bcc503ebb4d786-1024x599.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/cohort_trajectory_co-d5cd0d30431d1f3f08bcc503ebb4d786-768x449.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/cohort_trajectory_co-d5cd0d30431d1f3f08bcc503ebb4d786-462x270.png 462w" sizes="auto, (max-width: 1330px) 100vw, 1330px" /></figure>



<p class="wp-block-paragraph">Those results are easier to interpret if we factor out the cohort effect (keeping the mixture of survey years constant) and the period effect (keeping the mixture of cohorts constant). The following figure shows the standardized cohort effect.</p>



<figure class="wp-block-image" id="conlegis-cohort-standardized"><img loading="lazy" decoding="async" width="1145" height="790" src="https://www.allendowney.com/blog/wp-content/uploads/2026/05/cohort_standardized_-aca7608b25112981c03dc33fffe90a93.png" alt="Standardized cohort effect with fixed time mix, confidence in Congress." class="wp-image-1812" srcset="https://www.allendowney.com/blog/wp-content/uploads/2026/05/cohort_standardized_-aca7608b25112981c03dc33fffe90a93.png 1145w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/cohort_standardized_-aca7608b25112981c03dc33fffe90a93-300x207.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/cohort_standardized_-aca7608b25112981c03dc33fffe90a93-1024x707.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/cohort_standardized_-aca7608b25112981c03dc33fffe90a93-768x530.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/cohort_standardized_-aca7608b25112981c03dc33fffe90a93-391x270.png 391w" sizes="auto, (max-width: 1145px) 100vw, 1145px" /></figure>



<p class="wp-block-paragraph">Among people born between 1900 and 1950, there is almost no change. Then starting with people born in the 1960s, confidence in Congress has increased consistently and substantially.</p>



<p class="wp-block-paragraph">To interpret this result, it is helpful to go back to the previous figure. Starting in the upper left:</p>



<ul class="wp-block-list">
<li>Among people born in the 1960s and 1970s, about 80% reported confidence in Congress when they were surveyed as young adults.</li>



<li>Among people born in the 1980s and 1990s, it was closer to 70%.</li>



<li>And among people born in the 2000s it’s below 70%.</li>
</ul>



<p class="wp-block-paragraph">The entry point of each cohort is below the entry point of previous cohorts, but because these entry points are above the declining trend of previous generations, this <em>relative</em> optimism is interpreted as an increasing cohort effect.</p>



<p class="wp-block-paragraph">So we should not conclude that younger generations are more confident in Congress, only that when they are first surveyed, they start out above the trajectory of previous cohorts.</p>



<p class="wp-block-paragraph">As a simplification, we might imagine an 18-year-old entering adulthood with a relatively idealized understanding of American government — shaped by civics classes and maybe a school trip to Washington D.C. — before later political experiences erode some of that confidence.</p>



<p class="wp-block-paragraph">Another possibility is that younger generations have grown up with lower expectations of government, so when they say they have “some confidence”, they might be evaluating Congress against a lower standard.</p>



<p class="wp-block-paragraph">The following figure shows the estimated period effect, with the mix of cohorts held constant.</p>



<figure class="wp-block-image" id="conlegis-period-standardized"><img loading="lazy" decoding="async" width="1145" height="790" src="https://www.allendowney.com/blog/wp-content/uploads/2026/05/time_standardized_co-d65cdea9156d375abd801cc2826c9844.png" alt="Standardized period effect with fixed cohort mix, Congress." class="wp-image-1807" srcset="https://www.allendowney.com/blog/wp-content/uploads/2026/05/time_standardized_co-d65cdea9156d375abd801cc2826c9844.png 1145w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/time_standardized_co-d65cdea9156d375abd801cc2826c9844-300x207.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/time_standardized_co-d65cdea9156d375abd801cc2826c9844-1024x707.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/time_standardized_co-d65cdea9156d375abd801cc2826c9844-768x530.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/time_standardized_co-d65cdea9156d375abd801cc2826c9844-391x270.png 391w" sizes="auto, (max-width: 1145px) 100vw, 1145px" /></figure>



<p class="wp-block-paragraph">This decline is steeper than what we saw in the time-only model, because we have factored out the mitigating effect of relative optimism in recent generations.</p>



<h3 class="wp-block-heading" id="government-institutions">Government Institutions</h3>



<p class="wp-block-paragraph">Now we’ll apply the same analysis to questions about the executive branch of the federal government, the Supreme Court, and the military (technically part of the executive branch).</p>



<p class="wp-block-paragraph">The following figure shows the estimated cohort effects for each of these institutions.</p>



<figure class="wp-block-image" id="cluster-gov-cohort"><img loading="lazy" decoding="async" width="1145" height="764" src="https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_1_govern-7c461121f9363f4e9a2440f4a41ce384.png" alt="Government and security institutions, standardized cohort component (uniform survey years)." class="wp-image-1811" srcset="https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_1_govern-7c461121f9363f4e9a2440f4a41ce384.png 1145w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_1_govern-7c461121f9363f4e9a2440f4a41ce384-300x200.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_1_govern-7c461121f9363f4e9a2440f4a41ce384-1024x683.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_1_govern-7c461121f9363f4e9a2440f4a41ce384-768x512.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_1_govern-7c461121f9363f4e9a2440f4a41ce384-405x270.png 405w" sizes="auto, (max-width: 1145px) 100vw, 1145px" /></figure>



<p class="wp-block-paragraph">And the following figure shows the period effect, after factoring out the cohort effect.</p>



<figure class="wp-block-image" id="cluster-gov-standardized-period"><img loading="lazy" decoding="async" width="1145" height="764" src="https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_1_govern-b24ed098d4d8b3b779b1face8e1cd0be.png" alt="Government and security institutions, standardized period component (fixed cohort mix)." class="wp-image-1813" srcset="https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_1_govern-b24ed098d4d8b3b779b1face8e1cd0be.png 1145w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_1_govern-b24ed098d4d8b3b779b1face8e1cd0be-300x200.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_1_govern-b24ed098d4d8b3b779b1face8e1cd0be-1024x683.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_1_govern-b24ed098d4d8b3b779b1face8e1cd0be-768x512.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_1_govern-b24ed098d4d8b3b779b1face8e1cd0be-405x270.png 405w" sizes="auto, (max-width: 1145px) 100vw, 1145px" /></figure>



<p class="wp-block-paragraph">The results for the executive branch are similar to the results for Congress.</p>



<ul class="wp-block-list">
<li>The cohort effect is flat between people born in the 1900s and 1950s, and increasing after that.</li>



<li>The period effect declines substantially and consistently — without the ups and downs of confidence in Congress.</li>
</ul>



<p class="wp-block-paragraph">When respondents are asked about the “executive branch”, it’s not clear whether they think primarily about the president, federal agencies, or the federal government in general.</p>



<p class="wp-block-paragraph">The patterns for the military and Supreme Court are different.</p>



<ul class="wp-block-list">
<li>Confidence in the military is generally high. The cohort effect declined gradually, and possibly more steeply among people born after 1980. The period effect gradually increased.</li>



<li>Confidence in the Supreme Court is higher than confidence in other branches, although the period effect has dropped steeply since 2015. The cohort effect increased among people born between 1900 and 1960; among more recent generations it is gradually declining.</li>
</ul>



<p class="wp-block-paragraph">Historically, the Court cultivated an image of being above politics; that perception weakened substantially in the 2010s. In March 2016, Merrick Garland was nominated to the Supreme Court after the death of Antonin Scalia. The Republican majority in the Senate refused to hold a hearing or vote on his nomination. The seat remained empty until Donald Trump nominated, and the Senate confirmed, Neil Gorsuch, who is considered to be more conservative. To many liberals, the Senate’s 293-day blockade undermined the legitimacy of the Court.</p>



<p class="wp-block-paragraph">Then when Ruth Bader Ginsburg died in September 2020, Donald Trump nominated Amy Coney Barrett and the Senate confirmed her 8 days before the 2020 presidential election, in a process criticized by Democratic leaders as illegitimate.</p>



<p class="wp-block-paragraph">These appointments, along with the confirmation of Brett Kavanaugh in 2018, shifted the composition of the Court toward conservatives, forming what is now described as a 6-3 supermajority of conservative justices.</p>



<p class="wp-block-paragraph">Since then, the Supreme Court has issued several decisions contrary to majority public opinion, most notably the 2022 decision overturning <em>Roe v. Wade</em>. Other unpopular decisions weakened gun control and limited federal regulatory authority, especially over environmental policy. Many of these decisions have been perceived, especially on the left, to be motivated by politics rather than constitutional principles and precedent.</p>



<p class="wp-block-paragraph">The slope of the cohort effect might reflect a generational change in associations with the Supreme Court. Older cohorts may associate the Supreme Court with landmark decisions like Brown v. Board of Education and the expansion of civil rights. Younger cohorts may instead associate it with partisan conflict, blocked reforms, and ideological polarization. Older generations might also have been more deferential toward the institution itself. Younger generations, exposed to more adversarial and partisan media coverage, might be less inclined to deference.</p>



<h3 class="wp-block-heading" id="economic-institutions">Economic institutions</h3>



<p class="wp-block-paragraph">The following figures show the cohort and period effects for confidence in economic institutions: banks, major companies, and organized labor.</p>



<figure class="wp-block-image" id="cluster-econ-cohort"><img loading="lazy" decoding="async" width="1145" height="764" src="https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_2_econom-b4cf1eea3eb5290377d151bac981fdaf.png" alt="Economic institutions, standardized cohort component." class="wp-image-1809" srcset="https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_2_econom-b4cf1eea3eb5290377d151bac981fdaf.png 1145w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_2_econom-b4cf1eea3eb5290377d151bac981fdaf-300x200.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_2_econom-b4cf1eea3eb5290377d151bac981fdaf-1024x683.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_2_econom-b4cf1eea3eb5290377d151bac981fdaf-768x512.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_2_econom-b4cf1eea3eb5290377d151bac981fdaf-405x270.png 405w" sizes="auto, (max-width: 1145px) 100vw, 1145px" /></figure>



<p class="wp-block-paragraph"></p>



<figure class="wp-block-image" id="cluster-econ-standardized-period"><img loading="lazy" decoding="async" width="1145" height="764" src="https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_2_econom-76a4be0f163f28d139a677ac90cfd0e5.png" alt="Economic institutions, standardized period component." class="wp-image-1806" srcset="https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_2_econom-76a4be0f163f28d139a677ac90cfd0e5.png 1145w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_2_econom-76a4be0f163f28d139a677ac90cfd0e5-300x200.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_2_econom-76a4be0f163f28d139a677ac90cfd0e5-1024x683.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_2_econom-76a4be0f163f28d139a677ac90cfd0e5-768x512.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_2_econom-76a4be0f163f28d139a677ac90cfd0e5-405x270.png 405w" sizes="auto, (max-width: 1145px) 100vw, 1145px" /></figure>



<p class="wp-block-paragraph">Confidence in these institutions is generally high. Looking at the cohort effects, the most salient feature is increased confidence in organized labor among people born after 1940.</p>



<p class="wp-block-paragraph">A possible explanation is that younger cohorts have less exposure to organized labor. Older generations were more likely to be affected by strikes and related economic disruption, and more likely to be aware of corruption in labor unions. As union membership has declined and the gig economy has expanded, younger cohorts are less aware of the negative aspects of organized labor, including dues, and more likely to perceive their lack of negotiating power in the labor market. Also, anti-labor ideology has declined since the end of the Cold War, as the framing has shifted from “labor versus management” to “workers versus corporations”.</p>



<p class="wp-block-paragraph">By comparison with the cohort effects, the period effects are modest:</p>



<ul class="wp-block-list">
<li>The period effect on organized labor is almost unchanged since the 1980s — the change we see over time is almost entirely due to generational replacement.</li>



<li>The period effect on confidence in major companies has declined somewhat.</li>



<li>The trend for banks and financial institutions is more complicated — arguably driven by shorter-term period effects like scandals and financial crises. The first notable downturn, in the 1980s, coincides with the <a href="https://en.wikipedia.org/wiki/Savings_and_loan_crisis" target="_blank" rel="noreferrer noopener">savings and loan crisis</a>, when hundreds of financial institutions failed and taxpayers absorbed large bailout costs, followed by an <a href="https://en.wikipedia.org/wiki/Early_1990s_recession_in_the_United_States" target="_blank" rel="noreferrer noopener">economic recession</a> from 1990 into 1991. The larger downturn around 2008 coincides with the <a href="https://en.wikipedia.org/wiki/2008_financial_crisis" target="_blank" rel="noreferrer noopener">2008 global financial crisis</a>, when taxpayers were hit with even larger bailout costs, and public anger at “private gains, public losses” came to a focus in the <a href="https://en.wikipedia.org/wiki/Occupy_Wall_Street" target="_blank" rel="noreferrer noopener">Occupy Wall Street protests</a>.</li>
</ul>



<h3 class="wp-block-heading" id="professions-knowledge-and-religion">Professions, knowledge, and religion</h3>



<p class="wp-block-paragraph">The following figures show estimated cohort and period effects for confidence in education, medicine, the scientific community, and organized religion.</p>



<figure class="wp-block-image" id="cluster-prof-cohort"><img loading="lazy" decoding="async" width="1145" height="764" src="https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_3_profes-14bdbff63efcff6380045908aa3157ab.png" alt="Professions and knowledge institutions, standardized cohort component." class="wp-image-1816" srcset="https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_3_profes-14bdbff63efcff6380045908aa3157ab.png 1145w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_3_profes-14bdbff63efcff6380045908aa3157ab-300x200.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_3_profes-14bdbff63efcff6380045908aa3157ab-1024x683.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_3_profes-14bdbff63efcff6380045908aa3157ab-768x512.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_3_profes-14bdbff63efcff6380045908aa3157ab-405x270.png 405w" sizes="auto, (max-width: 1145px) 100vw, 1145px" /></figure>



<p class="wp-block-paragraph"></p>



<figure class="wp-block-image" id="cluster-prof-standardized-period"><img loading="lazy" decoding="async" width="1145" height="764" src="https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_3_profes-f5418c000cfe9c18849ed481e1182500.png" alt="Professions and knowledge institutions, standardized period component." class="wp-image-1805" srcset="https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_3_profes-f5418c000cfe9c18849ed481e1182500.png 1145w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_3_profes-f5418c000cfe9c18849ed481e1182500-300x200.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_3_profes-f5418c000cfe9c18849ed481e1182500-1024x683.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_3_profes-f5418c000cfe9c18849ed481e1182500-768x512.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_3_profes-f5418c000cfe9c18849ed481e1182500-405x270.png 405w" sizes="auto, (max-width: 1145px) 100vw, 1145px" /></figure>



<p class="wp-block-paragraph">Confidence in these institutions is highest for science and medicine, lower for education and religion.</p>



<p class="wp-block-paragraph">Looking at the period effects, they are all in decline. Confidence in education declined most steeply; confidence in the scientific community is relatively stable, although it declines after 2020.</p>



<p class="wp-block-paragraph">Thinking about confidence in education, it might be useful to separate colleges and universities from K-12 schools.</p>



<ul class="wp-block-list">
<li>In higher education, the decline might be due to increasing tuition and student debt, credential inflation, and increasing uncertainty about the economic return on a college degree, especially among majors in the arts and humanities. More recently, confidence in universities has decreased steeply, especially among conservatives, due to the perception of ideological bias.</li>



<li>In K-12 education, declining confidence might be related to anxiety about standardized testing, international competition, and especially around the <a href="https://en.wikipedia.org/wiki/No_Child_Left_Behind_Act" target="_blank" rel="noreferrer noopener">No Child Left Behind Act</a> in 2001, the framing of public schools as underperforming institutions requiring accountability reforms and federal intervention. Also, public schools have increasingly become focal points for political conflicts about curriculum, race, gender, religion, and parental authority.</li>
</ul>



<p class="wp-block-paragraph">Most of the cohort effects have increased modestly; in particular confidence in education is higher among people born after 1980, compared to previous generations observed at the same time. But for these institutions, the interaction of the period and cohort effect is similar to what we saw for Congress — it’s not that recent generations have <em>more</em> confidence, it’s just that when they are surveyed as young adults, they come in at entry points above the declining trend of previous generations.</p>



<p class="wp-block-paragraph">Confidence in organized religion is the exception — the period and cohort effects both trend downward, so the decline is additive. A likely contributor to the period effect is growing public awareness of <a href="https://en.wikipedia.org/wiki/Catholic_Church_sex_abuse_cases_in_the_United_States" target="_blank" rel="noreferrer noopener">sexual abuse and institutional coverups in the Catholic Church</a>, which received national attention beginning in the 1980s, escalated after the <a href="https://en.wikipedia.org/wiki/Sexual_abuse_scandal_in_the_Archdiocese_of_Boston" target="_blank" rel="noreferrer noopener">Boston Globe investigations</a> published in 2002, and continues to the present with additional revelations in the United States and other countries. But the decline is not limited to the Catholic Church, and it began before these scandals were widely known.</p>



<p class="wp-block-paragraph">The cohort effect likely reflects broader secularization trends, including declining religious affiliation, lower church attendance, and weakening institutional authority among younger generations.</p>



<h3 class="wp-block-heading" id="media">Media</h3>



<p class="wp-block-paragraph">Finally, the following figures show estimated cohort and period effects for confidence in television and the press.</p>



<figure class="wp-block-image" id="cluster-media-cohort"><img loading="lazy" decoding="async" width="1145" height="764" src="https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_4_media_-8bf3f75d17ac4f1f8991025f1051ce52.png" alt="Media, standardized cohort component." class="wp-image-1815" srcset="https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_4_media_-8bf3f75d17ac4f1f8991025f1051ce52.png 1145w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_4_media_-8bf3f75d17ac4f1f8991025f1051ce52-300x200.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_4_media_-8bf3f75d17ac4f1f8991025f1051ce52-1024x683.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_4_media_-8bf3f75d17ac4f1f8991025f1051ce52-768x512.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_4_media_-8bf3f75d17ac4f1f8991025f1051ce52-405x270.png 405w" sizes="auto, (max-width: 1145px) 100vw, 1145px" /></figure>



<p class="wp-block-paragraph"></p>



<figure class="wp-block-image" id="cluster-media-standardized-period"><img loading="lazy" decoding="async" width="1145" height="764" src="https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_4_media_-db77e283c289a556c23c800a199f1ce9.png" alt="Media, standardized period component." class="wp-image-1810" srcset="https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_4_media_-db77e283c289a556c23c800a199f1ce9.png 1145w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_4_media_-db77e283c289a556c23c800a199f1ce9-300x200.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_4_media_-db77e283c289a556c23c800a199f1ce9-1024x683.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_4_media_-db77e283c289a556c23c800a199f1ce9-768x512.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_4_media_-db77e283c289a556c23c800a199f1ce9-405x270.png 405w" sizes="auto, (max-width: 1145px) 100vw, 1145px" /></figure>



<p class="wp-block-paragraph">There is almost no cohort effect, although the most recent cohorts might have a little more confidence in television.</p>



<p class="wp-block-paragraph">The headline here is the period effect, which is consistently downward, and steeper for the press than television. The steepest part of the decline for both media started around 1990, shortly after the 1987 abolition of the <a href="https://en.wikipedia.org/wiki/Fairness_doctrine" target="_blank" rel="noreferrer noopener">fairness doctrine</a>, which required broadcast coverage of controversial topics to be “fair in the sense that it provides an opportunity for the presentation of contrasting points of view,” as described in the <a href="https://www.fcc.gov/document/editorializing-broadcast-licensees" target="_blank" rel="noreferrer noopener">1949 FCC report</a> that established the doctrine.</p>



<p class="wp-block-paragraph">The end of the fairness doctrine coincided with the rise of talk radio programs with explicit political viewpoints, including <a href="https://en.wikipedia.org/wiki/The_Rush_Limbaugh_Show" target="_blank" rel="noreferrer noopener">The Rush Limbaugh Show</a>, which was nationally syndicated in 1988.</p>



<p class="wp-block-paragraph">Cable television news followed, including <a href="https://en.wikipedia.org/wiki/Fox_News" target="_blank" rel="noreferrer noopener">Fox News Channel</a> in 1996, with an explicit conservative orientation, and <a href="https://en.wikipedia.org/wiki/MSNBC" target="_blank" rel="noreferrer noopener">MSNBC</a>, which developed a more liberal identity in the 2000s.</p>



<p class="wp-block-paragraph">During this period, more generally, media audiences became more fragmented. Prior to 1980, most Americans were exposed to a small number of shared news sources, notably the three major television networks. Talk radio and cable television offered more options and less common experience.</p>



<p class="wp-block-paragraph">And then the internet happened, starting in the 1990s with online news and political blogs, including the <a href="https://en.wikipedia.org/wiki/Drudge_Report" target="_blank" rel="noreferrer noopener">Drudge Report</a> which started as a weekly email newsletter in 1995, and rose to national prominence when it broke the <a href="https://en.wikipedia.org/wiki/Clinton%E2%80%93Lewinsky_scandal" target="_blank" rel="noreferrer noopener">Clinton-Lewinsky scandal</a> in 1998.</p>



<p class="wp-block-paragraph">Social media followed. YouTube was founded in 2005; Facebook and Twitter launched in 2006. While these platforms have become important sources of news for many Americans, engagement-driven algorithms often promote emotionally provocative and polarizing content over careful reporting. The rise of the internet contributed to the decline of local newspapers, and eventually national newspapers as well.</p>



<p class="wp-block-paragraph">Ownership of television stations became increasingly consolidated following the <a href="https://en.wikipedia.org/wiki/Telecommunications_Act_of_1996" target="_blank" rel="noreferrer noopener">1996 Telecommunications Act</a>, allowing a small number of national media companies to control larger shares of local news programming. The effect of this consolidation is explained in <a href="https://www.vox.com/policy-and-politics/2018/4/2/17189302/sinclair-broadcast-fake-news-biased-trump-viral-video" target="_blank" rel="noreferrer noopener">this Vox article</a> and memorably demonstrated in <a href="https://www.youtube.com/watch?v=hWLjYJ4BzvI" target="_blank" rel="noreferrer noopener">this Deadspin compilation</a> showing dozens of TV news anchors reading nearly identical scripts provided by the <a href="https://en.wikipedia.org/wiki/Sinclair_Broadcast_Group" target="_blank" rel="noreferrer noopener">Sinclair Broadcast Group</a>, which requires the channels it owns to air segments called <a href="https://www.nytimes.com/2017/05/12/business/media/sinclair-broadcast-komo-conservative-media.html" target="_blank" rel="noreferrer noopener">“must-runs”</a> — many of them presenting conservative talking points.</p>



<p class="wp-block-paragraph">Finally, since the beginning of his presidential campaign in 2015, Donald Trump has repeatedly denigrated television and print media, frequently describing unfavorable coverage as “fake news” and labeling journalists “enemies of the people.” These attacks likely contribute to declining confidence in the press, especially among Republicans.</p>



<h3 class="wp-block-heading" id="negativity-bias">Negativity Bias</h3>



<p class="wp-block-paragraph">In the previous examples, you might notice that I offer explanations for the downturns, but no explanation for the upturns. That’s because bad things, like scandals and economic crises, often happen quickly and they get a lot of coverage; good things often happen slowly and continue without comment.</p>



<p class="wp-block-paragraph">For many institutions, no news is good news. When they do their jobs, they don’t get much attention, and public confidence drifts higher, even without specific positive events or coverage.</p>



<p class="wp-block-paragraph">So I want to end this article by highlighting some of the positive results we see in this data:</p>



<ul class="wp-block-list">
<li>Confidence in education, science, and medicine is high and although the period effects are negative, the cohort effects are positive, which bodes well for the future.</li>



<li>Confidence in financial institutions and organized labor is high.</li>



<li>Confidence in government is lower and declining, but as each generation of young adults starts out more optimistic than their elders, there is hope for a turnaround.</li>
</ul>



<p class="wp-block-paragraph">But the recent steep decline of confidence in the Supreme Court is a concern, as is the loss of confidence in the media. It’s hard to find a positive take on those trends.</p>



<p class="wp-block-paragraph"><a href="https://allendowney.github.io/CultureWar//blog7-hapgen"></a><a href="https://allendowney.github.io/CultureWar//blog7-hapgen"></a></p>



<p class="wp-block-paragraph"></p>
<p>The post <a href="https://www.allendowney.com/blog/2026/05/19/confidence-in-institutions/">Confidence in Institutions</a> appeared first on <a href="https://www.allendowney.com/blog">Probably Overthinking It</a>.</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1803</post-id>	</item>
		<item>
		<title>Planning for your midlife crisis</title>
		<link>https://www.allendowney.com/blog/2026/05/01/planning-for-your-midlife-crisis/</link>
		
		<dc:creator><![CDATA[AllenDowney]]></dc:creator>
		<pubDate>Fri, 01 May 2026 19:34:53 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[life expectancy]]></category>
		<category><![CDATA[mortality]]></category>
		<category><![CDATA[ODSC]]></category>
		<guid isPermaLink="false">https://www.allendowney.com/blog/?p=1794</guid>

					<description><![CDATA[<p>Yesterday I presented a talk at ODSC East 2026, called &#8220;Counterfactual Analysis with Bayesian Models: What Drives the Life Expectancy Gap?&#8221; Here&#8217;s the abstract Across nearly every country in the world, women live longer than men—but the size of this gap varies from about two years in some countries to more than twelve in others. What explains these differences, and how much of the gap can be closed? In this talk, I present a practical approach to counterfactual analysis using...</p>
<p class="read-more"><a class="btn btn-default" href="https://www.allendowney.com/blog/2026/05/01/planning-for-your-midlife-crisis/"> Read More<span class="screen-reader-text">  Read More</span></a></p>
<p>The post <a href="https://www.allendowney.com/blog/2026/05/01/planning-for-your-midlife-crisis/">Planning for your midlife crisis</a> appeared first on <a href="https://www.allendowney.com/blog">Probably Overthinking It</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">Yesterday I presented a talk at ODSC East 2026, called &#8220;Counterfactual Analysis with Bayesian Models: What Drives the Life Expectancy Gap?&#8221; Here&#8217;s the abstract</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p class="wp-block-paragraph">Across nearly every country in the world, women live longer than men—but the size of this gap varies from about two years in some countries to more than twelve in others. What explains these differences, and how much of the gap can be closed?</p>



<p class="wp-block-paragraph">In this talk, I present a practical approach to counterfactual analysis using Bayesian regression models. Using publicly available mortality data, we build a model that relates the life expectancy gap between men and women to differences in cause-specific death rates, including homicide, drug overdoses, traffic fatalities, smoking-related disease, and chronic illness.</p>



<p class="wp-block-paragraph">The model generates posterior simulations that answer “what-if” questions. For example: How much smaller would the U.S. life expectancy gap be if homicide rates matched those in Western Europe?</p>



<p class="wp-block-paragraph">The talk presents the workflow—from assembling global datasets to fitting interpretable Bayesian models with PyMC and generating counterfactual simulations. Attendees will learn how Bayesian models can support explainable modeling and analysis under uncertainty.</p>
</blockquote>



<p class="wp-block-paragraph">I think the talk went well, and we got some good questions at the end. There&#8217;s no recording, unfortunately, <a href="https://docs.google.com/presentation/d/e/2PACX-1vSiwjA6Mi95poqGQJiXw7Mdy0BgPa-aEmVhJHXwP35QRjt2dduEEN53yZi4fnpAReVaS-EDWS3CwMt1/pub?start=false&amp;loop=false&amp;delayms=3000">but my slides are here</a>. And if you want to know more, I have a series of blog posts on Substack</p>



<ul class="wp-block-list">
<li><a href="https://allendowney.substack.com/p/the-gender-gap-in-life-expectancy">The Gender Gap in Life Expectancy</a></li>



<li><a href="https://allendowney.substack.com/p/what-drives-the-life-expectancy-gender">What Drives the Life Expectancy Gender Gap?</a></li>



<li><a href="https://allendowney.substack.com/p/how-much-of-the-life-expectancy-gap">How Much of the Life Expectancy Gap Could We Close?</a></li>



<li><a href="https://allendowney.substack.com/p/international-patterns-in-the-life">International Patterns in the Life Expectancy Gap</a></li>
</ul>



<p class="wp-block-paragraph">The fifth and final post is on the way. In the meantime, here&#8217;s a quick post on a related topic.</p>



<h2 class="wp-block-heading">Are you middle-aged?</h2>



<p class="wp-block-paragraph">Here’s a question from Reddit’s <a href="https://www.reddit.com/r/stupidquestions/comments/1sxesux/what_age_is_actually_considered_middle_age/">Stupid Questions forum</a>:</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p class="wp-block-paragraph">I always thought middle age was in your 40s but since life expectancy is around 75 or so, wouldn’t it be about 35?</p>
</blockquote>



<p class="wp-block-paragraph">If life expectancy is 75, you might think the midpoint is half that, which is 37.5. But if 75 is life expectancy <em>at birth</em> and you survive to age 37.5, your life expectancy <em>at that age</em> is higher than 75. So 37.5 is not halfway!</p>



<p class="wp-block-paragraph">If we really want to find the midpoint – and it wouldn’t be <em>Probably Overthinking It</em> if we didn’t – we have to find the age where your expected remaining lifetime equals your current age.</p>



<p class="wp-block-paragraph">Let’s do it.</p>



<h2 class="wp-block-heading">Data</h2>



<p class="wp-block-paragraph">From the <a href="https://www.mortality.org/Country/Country?cntr=USA">Human Mortality Database</a> I downloaded life tables for the United States, combined and broken down for men and women. The following function reads and cleans a table.</p>



<pre id="codecell1" class="wp-block-preformatted">def read_life_table(filename):
    lt = pd.read_fwf(filename, skiprows=2, infer_nrows=200)
    lt['Age'] = lt['Age'].str.replace('+', '', regex=False).astype(int)
    return lt
</pre>



<p class="wp-block-paragraph">Here are the first few rows of the combined table (see notes below for details).</p>



<pre id="codecell2" class="wp-block-preformatted">blt = read_life_table('../data/bltper_1x1.txt')
blt.head()
</pre>



<figure class="wp-block-table"><table class="has-fixed-layout"><thead><tr><th></th><th>Year</th><th>Age</th><th>mx</th><th>qx</th><th>ax</th><th>lx</th><th>dx</th><th>Lx</th><th>Tx</th><th>ex</th></tr></thead><tbody><tr><th>0</th><td>1933</td><td>0</td><td>0.06129</td><td>0.05861</td><td>0.25</td><td>100000</td><td>5861</td><td>95624</td><td>6089609</td><td>60.90</td></tr><tr><th>1</th><td>1933</td><td>1</td><td>0.00946</td><td>0.00941</td><td>0.50</td><td>94139</td><td>886</td><td>93696</td><td>5993985</td><td>63.67</td></tr><tr><th>2</th><td>1933</td><td>2</td><td>0.00435</td><td>0.00434</td><td>0.50</td><td>93253</td><td>405</td><td>93050</td><td>5900289</td><td>63.27</td></tr><tr><th>3</th><td>1933</td><td>3</td><td>0.00310</td><td>0.00310</td><td>0.50</td><td>92848</td><td>288</td><td>92704</td><td>5807239</td><td>62.55</td></tr><tr><th>4</th><td>1933</td><td>4</td><td>0.00239</td><td>0.00238</td><td>0.50</td><td>92560</td><td>221</td><td>92450</td><td>5714535</td><td>61.74</td></tr></tbody></table></figure>



<p class="wp-block-paragraph">We’ll also read the female and male tables.</p>



<pre id="codecell3" class="wp-block-preformatted">flt = read_life_table('../data/fltper_1x1.txt')
</pre>



<pre id="codecell4" class="wp-block-preformatted">mlt = read_life_table('../data/mltper_1x1.txt')
</pre>



<p class="wp-block-paragraph">The tables include data from 1933 to 2024, so we’ll select the most recent data.</p>



<pre id="codecell5" class="wp-block-preformatted">year = blt['Year'].unique()[-1]
table = blt.query('Year == @year').set_index('Age')
</pre>



<p class="wp-block-paragraph">The column we’ll use is <code>ex</code>, which is life expectancy as a function of age.</p>



<pre id="codecell6" class="wp-block-preformatted">age = table.index.to_series()
ex = table['ex']
</pre>



<p class="wp-block-paragraph">Life expectancy at birth is 79 years, so the naive midpoint is 39.5.</p>



<pre id="codecell7" class="wp-block-preformatted">ex[0], ex[0] / 2
</pre>



<pre id="codecell8" class="wp-block-preformatted">(79.08, 39.54)
</pre>



<p class="wp-block-paragraph">But at age 40, expected remaining lifetime is 41.1, so 39.5 is not the midpoint.</p>



<pre id="codecell9" class="wp-block-preformatted">ex[39], ex[40]
</pre>



<pre id="codecell10" class="wp-block-preformatted">(42.04, 41.12)
</pre>



<p class="wp-block-paragraph">This plot shows life expectancy at each age, compared to age.</p>



<pre id="codecell11" class="wp-block-preformatted">ex.plot(label='Remaining life expectancy')
age.plot(label='Age')
decorate(ylabel='Years',
        title='Remaining life expectancy vs age, United States 2024')
</pre>



<figure class="wp-block-image"><img loading="lazy" decoding="async" width="438" height="250" src="https://www.allendowney.com/blog/wp-content/uploads/2026/05/a55e9cbde25b36d9c42e2ede2a78a827460d537f230b5cc4e7dfcb519a44bbc6.png" alt="_images/a55e9cbde25b36d9c42e2ede2a78a827460d537f230b5cc4e7dfcb519a44bbc6.png" class="wp-image-1797" srcset="https://www.allendowney.com/blog/wp-content/uploads/2026/05/a55e9cbde25b36d9c42e2ede2a78a827460d537f230b5cc4e7dfcb519a44bbc6.png 438w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/a55e9cbde25b36d9c42e2ede2a78a827460d537f230b5cc4e7dfcb519a44bbc6-300x171.png 300w" sizes="auto, (max-width: 438px) 100vw, 438px" /></figure>



<p class="wp-block-paragraph">“Middle age” is where the lines cross, which we can compute by linear interpolation.</p>



<pre id="codecell12" class="wp-block-preformatted">from scipy.interpolate import interp1d

inverse = interp1d(ex - age, age)
inverse(0)
</pre>



<pre id="codecell13" class="wp-block-preformatted">array(40.58638743)
</pre>



<p class="wp-block-paragraph">So the overall midpoint is 40.6 years. But as you might expect, it’s different for men and women. Let’s put the analysis we did in a function.</p>



<pre id="codecell14" class="wp-block-preformatted">def get_midpoint(filename):
    lt = read_life_table(filename)
    year = lt['Year'].unique()[-1]
    table = lt.query('Year == @year').set_index('Age')

    age = pd.Series(table.index)
    ex = table['ex']

    inverse = interp1d(ex - age, age)
    return inverse(0)
</pre>



<p class="wp-block-paragraph">And run it for men.</p>



<pre id="codecell15" class="wp-block-preformatted">get_midpoint('../data/mltper_1x1.txt')
</pre>



<pre id="codecell16" class="wp-block-preformatted">array(39.57142857)
</pre>



<p class="wp-block-paragraph">And women.</p>



<pre id="codecell17" class="wp-block-preformatted">get_midpoint('../data/fltper_1x1.txt')
</pre>



<pre id="codecell18" class="wp-block-preformatted">array(41.56185567)
</pre>



<p class="wp-block-paragraph">Men hit middle age at 39.6, women at 41.6.</p>



<h2 class="wp-block-heading">The Gender Gap and Age</h2>



<p class="wp-block-paragraph">Finally, let’s see how the gender gap in life expectancy changes as a function of age.</p>



<pre id="codecell19" class="wp-block-preformatted">ex_male = mlt.query('Year == @year').set_index('Age')['ex']
ex_female = flt.query('Year == @year').set_index('Age')['ex']
gap = ex_female - ex_male
</pre>



<pre id="codecell20" class="wp-block-preformatted">gap.plot(label='')
decorate(ylabel='Years',
         title='Life expectancy gender gap vs age')
</pre>



<figure class="wp-block-image"><img loading="lazy" decoding="async" width="438" height="250" src="https://www.allendowney.com/blog/wp-content/uploads/2026/05/2cf48be5acc971ad8f6973506c224767a25ef2e38bcf53c5b12b0f895c26ed11.png" alt="_images/2cf48be5acc971ad8f6973506c224767a25ef2e38bcf53c5b12b0f895c26ed11.png" class="wp-image-1796" srcset="https://www.allendowney.com/blog/wp-content/uploads/2026/05/2cf48be5acc971ad8f6973506c224767a25ef2e38bcf53c5b12b0f895c26ed11.png 438w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/2cf48be5acc971ad8f6973506c224767a25ef2e38bcf53c5b12b0f895c26ed11-300x171.png 300w" sizes="auto, (max-width: 438px) 100vw, 438px" /></figure>



<p class="wp-block-paragraph">At birth the life expectancy gap is close to five years. At age 100, it is close to zero.</p>



<p class="wp-block-paragraph">But just looking at the gap might be misleading. For a more complete picture let’s also look at the ratio.</p>



<pre id="codecell21" class="wp-block-preformatted">ratio = ex_female / ex_male
ratio.plot(label='')

decorate(ylabel='Ratio',
         title='Life expectancy gender ratio (female / male)')
</pre>



<figure class="wp-block-image"><img loading="lazy" decoding="async" width="446" height="250" src="https://www.allendowney.com/blog/wp-content/uploads/2026/05/1a514d22895c3e18a767184700d6edf467975abb4b302afe044fd42c002ae21c.png" alt="_images/1a514d22895c3e18a767184700d6edf467975abb4b302afe044fd42c002ae21c.png" class="wp-image-1798" srcset="https://www.allendowney.com/blog/wp-content/uploads/2026/05/1a514d22895c3e18a767184700d6edf467975abb4b302afe044fd42c002ae21c.png 446w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/1a514d22895c3e18a767184700d6edf467975abb4b302afe044fd42c002ae21c-300x168.png 300w" sizes="auto, (max-width: 446px) 100vw, 446px" /></figure>



<p class="wp-block-paragraph">The life expectancy ratio tells a more complicated story.</p>



<ul class="wp-block-list">
<li>At birth, the ratio is 1.06, which means female babies live 6% longer, on average.</li>



<li>Around age 80, the ratio peaks at nearly 1.14 – so between female and male octogenarians, we expect the women to live 14% longer.</li>



<li>At advanced ages, the ratio declines steeply and actually crosses over after age 100 – although the crossover is minimal and might not be statistically valid.</li>
</ul>



<p class="wp-block-paragraph">To interpret these results, we can think about the causes of death that contribute to age-specific death rates at different stages of life.</p>



<ul class="wp-block-list">
<li>In young adulthood, the causes of death that contribute most to gender gaps include road traffic, homicide, accidental injury, drug use disorders.</li>



<li>In advanced adulthood, they include cancer, cardiovascular disease, respiratory disease, liver disease, diabetes, and suicide.</li>
</ul>



<p class="wp-block-paragraph">The causes that affect younger people have large gender gaps, but relatively low death rates. As people get older, these low-rate causes contribute less to age-specific death rates, and the higher-rate causes contribute more.</p>



<p class="wp-block-paragraph">I think that’s a plausible explanation for the increasing ratio from age 0 to 80. For the decline that follows, I can only speculate that there is a selection effect: people who get to these advanced ages are likely to have better-than-average lifestyle histories (less smoking and drinking, better diet, more exercise) – and among people with better lifestyles, the gender gap is small.</p>



<h2 class="wp-block-heading">Notes</h2>



<p class="wp-block-paragraph">Data credit: HMD. Human Mortality Database. Max Planck Institute for Demographic Research (Germany), University of California, Berkeley (USA), and French Institute for Demographic Studies (France). Available at [<a href="http://www.mortality.org">www.mortality.org</a>].</p>



<p class="wp-block-paragraph">Here are the columns of the 1×1 Period Life Tables:</p>



<ul class="wp-block-list">
<li><strong>Year</strong>: Calendar year to which the period life table refers.</li>



<li><strong>Age</strong>: Exact age (x), in years, at the beginning of the interval ([x, x+1)).</li>



<li><strong>mx</strong>: Central death rate at age (x):</li>
</ul>



<ul class="wp-block-list">
<li><strong>qx</strong>: Probability of dying between ages (x) and (x+1):</li>
</ul>



<ul class="wp-block-list">
<li><strong>ax</strong>: Average fraction of the interval lived by those who die in ([x, x+1)). Typically around 0.5 for most ages, lower for infants (reflecting higher early mortality within the year).</li>



<li><strong>lx</strong>: Number of survivors at exact age (x), out of a radix (usually 100,000 births).</li>



<li><strong>dx</strong>: Number of deaths between ages (x) and (x+1):</li>
</ul>



<ul class="wp-block-list">
<li><strong>Lx</strong>: Person-years lived between ages (x) and (x+1), approximately</li>
</ul>



<ul class="wp-block-list">
<li><strong>Tx</strong>: Total person-years remaining above age (x):</li>
</ul>



<ul class="wp-block-list">
<li><strong>ex</strong>: Life expectancy at age (x):</li>
</ul>



<p class="wp-block-paragraph">The details are in<a href="https://github.com/AllenDowney/ProbablyOverthinkingIt/blob/book/examples/midlife.ipynb"> this Jupyter notebook</a>.</p>
<p>The post <a href="https://www.allendowney.com/blog/2026/05/01/planning-for-your-midlife-crisis/">Planning for your midlife crisis</a> appeared first on <a href="https://www.allendowney.com/blog">Probably Overthinking It</a>.</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1794</post-id>	</item>
		<item>
		<title>Changing Opinions on Assisted Suicide</title>
		<link>https://www.allendowney.com/blog/2026/04/16/changing-opinions-on-assisted-suicide/</link>
		
		<dc:creator><![CDATA[AllenDowney]]></dc:creator>
		<pubDate>Thu, 16 Apr 2026 20:01:37 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[age period cohort analysis]]></category>
		<category><![CDATA[bayesian statistics]]></category>
		<category><![CDATA[general social survey]]></category>
		<guid isPermaLink="false">https://www.allendowney.com/blog/?p=1782</guid>

					<description><![CDATA[<p>In Graphs About Religion, Ryan Burge recently wrote about changing opinions about assisted suicide and how they relate to religion. As always, when I see survey responses changing over time, I wonder whether it is driven primarily by period or cohort effects. And if you’ve read my last few posts, you know I’ve been working on a Bayesian model to answer that question. Ryan’s analysis is based on four questions from the General Social Survey (GSS): In addition, we’ll look...</p>
<p class="read-more"><a class="btn btn-default" href="https://www.allendowney.com/blog/2026/04/16/changing-opinions-on-assisted-suicide/"> Read More<span class="screen-reader-text">  Read More</span></a></p>
<p>The post <a href="https://www.allendowney.com/blog/2026/04/16/changing-opinions-on-assisted-suicide/">Changing Opinions on Assisted Suicide</a> appeared first on <a href="https://www.allendowney.com/blog">Probably Overthinking It</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">In <a href="https://www.graphsaboutreligion.com/p/god-death-and-the-right-to-choose" target="_blank" rel="noreferrer noopener">Graphs About Religion</a>, Ryan Burge recently wrote about changing opinions about assisted suicide and how they relate to religion.</p>



<p class="wp-block-paragraph">As always, when I see survey responses changing over time, I wonder whether it is driven primarily by period or cohort effects. And if you’ve read my last few posts, you know I’ve been working on a Bayesian model to answer that question.</p>



<p class="wp-block-paragraph">Ryan’s analysis is based on four questions from the General Social Survey (GSS):</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p class="wp-block-paragraph">Do you think a person has the right to end his or her own life if this person:</p>



<ul class="wp-block-list">
<li>Has an incurable disease? (<code>suicide1</code>)</li>



<li>Has gone bankrupt? (<code>suicide2</code>)</li>



<li>Has dishonored his or her family? (<code>suicide3</code>)</li>



<li>Is tired of living and ready to die? (<code>suicide4</code>)</li>
</ul>
</blockquote>



<p class="wp-block-paragraph">In addition, we’ll look at results from a related question (<code>letdie1</code>):</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p class="wp-block-paragraph">When a person has a disease that cannot be cured, do you think doctors should be allowed by law to end the patient’s life by some painless means if the patient and his family request it?</p>
</blockquote>



<p class="wp-block-paragraph">The framing of the questions is different: the first four are about the right to end one’s life and the last is about the legality of doctor-assisted suicide.</p>



<p class="wp-block-paragraph">Before we look at the breakdown of period and cohort effects, here are the results from a model that estimates latent opposition to each proposition as a smooth function over time.</p>



<figure class="wp-block-image" id="letdie-single-time"><img loading="lazy" decoding="async" width="1108" height="704" src="https://www.allendowney.com/blog/wp-content/uploads/2026/04/letdie_compare_time_-340f828df36b2086971ded6f63293cf6.png" alt="Time-only trends." class="wp-image-1784" srcset="https://www.allendowney.com/blog/wp-content/uploads/2026/04/letdie_compare_time_-340f828df36b2086971ded6f63293cf6.png 1108w, https://www.allendowney.com/blog/wp-content/uploads/2026/04/letdie_compare_time_-340f828df36b2086971ded6f63293cf6-300x191.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/04/letdie_compare_time_-340f828df36b2086971ded6f63293cf6-1024x651.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/04/letdie_compare_time_-340f828df36b2086971ded6f63293cf6-768x488.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/04/letdie_compare_time_-340f828df36b2086971ded6f63293cf6-425x270.png 425w" sizes="auto, (max-width: 1108px) 100vw, 1108px" /></figure>



<p class="wp-block-paragraph">Opposition to suicide is high in three of the scenarios &#8212; bankrupt, dishonored family, and tired of living &#8212; and lower in the incurable disease scenarios.</p>



<p class="wp-block-paragraph">In all five questions, opposition has declined over time, although for the incurable disease scenarios, it might have leveled off after 1990.</p>



<h2 class="wp-block-heading" id="doctor-assisted-death">Doctor-assisted death</h2>



<p class="wp-block-paragraph">Now let’s see if we can decompose these changes into period and cohort effects. We’ll start with the question about doctor-assisted death when the patient has an incurable disease.</p>



<p class="wp-block-paragraph">As in the previous posts, I used a Bayesian model to estimate a trajectory over time for each birth cohort, shown in the following figure.</p>



<figure class="wp-block-image" id="letdie1-cohort-trajectories"><img loading="lazy" decoding="async" width="1330" height="778" src="https://www.allendowney.com/blog/wp-content/uploads/2026/04/cohort_trajectory_le-28df4a8cc3e21cad9b463f53ddf9a3ef.png" alt="Cohort trajectories: letdie1." class="wp-image-1785" srcset="https://www.allendowney.com/blog/wp-content/uploads/2026/04/cohort_trajectory_le-28df4a8cc3e21cad9b463f53ddf9a3ef.png 1330w, https://www.allendowney.com/blog/wp-content/uploads/2026/04/cohort_trajectory_le-28df4a8cc3e21cad9b463f53ddf9a3ef-300x175.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/04/cohort_trajectory_le-28df4a8cc3e21cad9b463f53ddf9a3ef-1024x599.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/04/cohort_trajectory_le-28df4a8cc3e21cad9b463f53ddf9a3ef-768x449.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/04/cohort_trajectory_le-28df4a8cc3e21cad9b463f53ddf9a3ef-462x270.png 462w" sizes="auto, (max-width: 1330px) 100vw, 1330px" /></figure>



<p class="wp-block-paragraph">Reading from top to bottom, we can see that opposition has declined from one cohort to the next, and reading from left to right, we can see that opposition has varied over time within each cohort.</p>



<p class="wp-block-paragraph">The following figure shows the cohort component alone, standardized to factor out the period effect.</p>



<figure class="wp-block-image" id="letdie1-cohort-component"><img loading="lazy" decoding="async" width="1166" height="790" src="https://www.allendowney.com/blog/wp-content/uploads/2026/04/cohort_standardized_-d780162e3521c3e8c568d864d1d04042.png" alt="Cohort component (uniform years): letdie1." class="wp-image-1786" srcset="https://www.allendowney.com/blog/wp-content/uploads/2026/04/cohort_standardized_-d780162e3521c3e8c568d864d1d04042.png 1166w, https://www.allendowney.com/blog/wp-content/uploads/2026/04/cohort_standardized_-d780162e3521c3e8c568d864d1d04042-300x203.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/04/cohort_standardized_-d780162e3521c3e8c568d864d1d04042-1024x694.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/04/cohort_standardized_-d780162e3521c3e8c568d864d1d04042-768x520.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/04/cohort_standardized_-d780162e3521c3e8c568d864d1d04042-399x270.png 399w" sizes="auto, (max-width: 1166px) 100vw, 1166px" /></figure>



<p class="wp-block-paragraph">Opposition to doctor-assisted suicide has declined from more than 40% in the earliest cohorts to 20% among people born in 2006.</p>



<p class="wp-block-paragraph">A possible explanation for the cohort pattern is that people anchor their moral judgments to the legal environment they encounter when they are young. During the “impressionable years” of late adolescence and early adulthood, existing laws can establish a moral baseline, so that what is illegal is inferred to be wrong, and therefore should remain illegal. As a result, gradual legalization can generate long-run attitudinal change through cohort replacement: people who grow up after a practice becomes legal are less likely to see it as morally problematic.</p>



<p class="wp-block-paragraph">The following figure shows the period effect alone, along with the results from the time model (which includes both period and cohort effects).</p>



<figure class="wp-block-image" id="letdie1-period-time"><img loading="lazy" decoding="async" width="1166" height="790" src="https://www.allendowney.com/blog/wp-content/uploads/2026/04/time_standardized_le-c7580a12cc292dbce6e525849d0e6220.png" alt="Standardized period component with time model: letdie1." class="wp-image-1788" srcset="https://www.allendowney.com/blog/wp-content/uploads/2026/04/time_standardized_le-c7580a12cc292dbce6e525849d0e6220.png 1166w, https://www.allendowney.com/blog/wp-content/uploads/2026/04/time_standardized_le-c7580a12cc292dbce6e525849d0e6220-300x203.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/04/time_standardized_le-c7580a12cc292dbce6e525849d0e6220-1024x694.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/04/time_standardized_le-c7580a12cc292dbce6e525849d0e6220-768x520.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/04/time_standardized_le-c7580a12cc292dbce6e525849d0e6220-399x270.png 399w" sizes="auto, (max-width: 1166px) 100vw, 1166px" /></figure>



<p class="wp-block-paragraph">Comparing the two lines, we can conclude that the decline we see over time is entirely due to the cohort effect &#8212; when we control for generational replacement, the estimated period effect has generally <em>increased</em> since 1990.</p>



<p class="wp-block-paragraph">The increase between 1990 and 2005 might reflect increasing moral concern due to advances in life-sustaining medical technology, high-profile legal disputes like the <a href="https://en.wikipedia.org/wiki/Terri_Schiavo_case" target="_blank" rel="noreferrer noopener">Terri Schiavo case</a>, and broader discussions of the sanctity of life.</p>



<p class="wp-block-paragraph">The decline between 2005 to 2015 might reflect normalization of assisted dying following legalization in several states (Oregon in 1997, Washington in 2008, and Montana in 2009, Vermont in 2013), along with a shift in public discourse toward autonomy, dignity, and patient choice, reinforced by high-profile cases like <a href="https://en.wikipedia.org/wiki/Brittany_Maynard" target="_blank" rel="noreferrer noopener">Brittany Maynard</a>.</p>



<h2 class="wp-block-heading" id="other-scenarios">Other Scenarios</h2>



<p class="wp-block-paragraph">The following figure shows the estimated cohort effects for all five questions.</p>



<figure class="wp-block-image" id="letdie-single-cohort"><img loading="lazy" decoding="async" width="1108" height="704" src="https://www.allendowney.com/blog/wp-content/uploads/2026/04/letdie_compare_cohor-ca0769cc27ba5266de2e551bbf9f7ec3.png" alt="Cohort margins, single panel." class="wp-image-1789" srcset="https://www.allendowney.com/blog/wp-content/uploads/2026/04/letdie_compare_cohor-ca0769cc27ba5266de2e551bbf9f7ec3.png 1108w, https://www.allendowney.com/blog/wp-content/uploads/2026/04/letdie_compare_cohor-ca0769cc27ba5266de2e551bbf9f7ec3-300x191.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/04/letdie_compare_cohor-ca0769cc27ba5266de2e551bbf9f7ec3-1024x651.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/04/letdie_compare_cohor-ca0769cc27ba5266de2e551bbf9f7ec3-768x488.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/04/letdie_compare_cohor-ca0769cc27ba5266de2e551bbf9f7ec3-425x270.png 425w" sizes="auto, (max-width: 1108px) 100vw, 1108px" /></figure>



<p class="wp-block-paragraph">For the incurable disease scenario, opposition has declined from more than 60% in the earliest cohorts to less than 40% among cohorts born after 1950 &#8212; although it might have leveled off since then.</p>



<p class="wp-block-paragraph">In the other scenarios, opposition has also declined from one cohort to the next, but the size of the effect is smaller.</p>



<p class="wp-block-paragraph">The following figure shows the estimated period effects, controlling for generational replacement.</p>



<figure class="wp-block-image" id="letdie-single-period"><img loading="lazy" decoding="async" width="1108" height="704" src="https://www.allendowney.com/blog/wp-content/uploads/2026/04/letdie_compare_perio-76fe4f16ad277fcdde3a47797ddbb13e.png" alt="Period margins, single panel." class="wp-image-1787" srcset="https://www.allendowney.com/blog/wp-content/uploads/2026/04/letdie_compare_perio-76fe4f16ad277fcdde3a47797ddbb13e.png 1108w, https://www.allendowney.com/blog/wp-content/uploads/2026/04/letdie_compare_perio-76fe4f16ad277fcdde3a47797ddbb13e-300x191.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/04/letdie_compare_perio-76fe4f16ad277fcdde3a47797ddbb13e-1024x651.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/04/letdie_compare_perio-76fe4f16ad277fcdde3a47797ddbb13e-768x488.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/04/letdie_compare_perio-76fe4f16ad277fcdde3a47797ddbb13e-425x270.png 425w" sizes="auto, (max-width: 1108px) 100vw, 1108px" /></figure>



<p class="wp-block-paragraph">Since 1990, most of the period effects are small. The only exception is the “tired of living” scenario, where there is some decline over time, independent of generational replacement.</p>



<p class="wp-block-paragraph">In the next post, we&#8217;ll do the same analysis with questions about abortion and the situations where it should be legal or not.</p>



<p class="wp-block-paragraph"></p>
<p>The post <a href="https://www.allendowney.com/blog/2026/04/16/changing-opinions-on-assisted-suicide/">Changing Opinions on Assisted Suicide</a> appeared first on <a href="https://www.allendowney.com/blog">Probably Overthinking It</a>.</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1782</post-id>	</item>
	</channel>
</rss>
Raw headers
{
  "cache-control": "max-age=172800",
  "cf-cache-status": "DYNAMIC",
  "cf-ray": "a39c0b4e2a0a26ee-CMH",
  "connection": "close",
  "content-security-policy": "upgrade-insecure-requests;",
  "content-type": "application/rss+xml; charset=UTF-8",
  "date": "Sat, 12 Sep 2026 04:07:16 GMT",
  "etag": "W/\"a00f19953985f6187487d138f373f321-gzip\"",
  "expires": "Mon, 14 Sep 2026 04:07:15 GMT",
  "last-modified": "Fri, 04 Sep 2026 13:19:22 GMT",
  "link": "<https://www.allendowney.com/blog/wp-json/>; rel=\"https://api.w.org/\", <https://www.allendowney.com/blog/>; rel=\"canonical\"",
  "server": "cloudflare",
  "transfer-encoding": "chunked",
  "vary": "accept,content-type,accept-encoding,cookie,User-Agent"
}
Parsed with @rowanmanning/feed-parser
{
  "meta": {
    "type": "rss",
    "version": "2.0"
  },
  "language": "en-US",
  "title": "Probably Overthinking It",
  "description": "Data science, Bayesian Statistics, and other ideas",
  "copyright": null,
  "url": "https://www.allendowney.com/blog/",
  "self": "https://www.allendowney.com/blog/feed/",
  "published": null,
  "updated": "2026-09-04T13:19:22.000Z",
  "generator": {
    "label": "https://wordpress.org/?v=7.1",
    "version": null,
    "url": null
  },
  "image": {
    "title": "Probably Overthinking It",
    "url": "https://www.allendowney.com/blog/wp-content/uploads/2026/03/cropped-pit_logo1-32x32.jpg"
  },
  "authors": [],
  "categories": [],
  "items": [
    {
      "id": "https://www.allendowney.com/blog/?p=1902",
      "title": "New Book!",
      "description": "<p>I am working on a new book called You Would Choose Now: Measuring America’s Progress Toward Fairness and Tolerance. It’s a data-driven exploration of progress (or not) in public opinion and civil rights. I posted the first two chapters as an Early Access edition on LeanPub (a platform for posting work in progress like this): https://leanpub.com/ywcn If you would like to check it out, the “Free Sample” has just the first chapter. If you sign up with an email address,...</p>\n<p class=\"read-more\"><a class=\"btn btn-default\" href=\"https://www.allendowney.com/blog/2026/09/04/new-book/\"> Read More<span class=\"screen-reader-text\">  Read More</span></a></p>\n<p>The post <a href=\"https://www.allendowney.com/blog/2026/09/04/new-book/\">New Book!</a> appeared first on <a href=\"https://www.allendowney.com/blog\">Probably Overthinking It</a>.</p>",
      "url": "https://www.allendowney.com/blog/2026/09/04/new-book/",
      "published": "2026-09-04T13:19:21.000Z",
      "updated": "2026-09-04T13:19:21.000Z",
      "content": "<div class=\"wp-block-image\">\n<figure class=\"alignright size-full is-resized\"><img fetchpriority=\"high\" decoding=\"async\" width=\"540\" height=\"810\" src=\"https://www.allendowney.com/blog/wp-content/uploads/2026/09/cover-concept-spectrum-front.png\" alt=\"\" class=\"wp-image-1903\" style=\"width:268px;height:auto\" srcset=\"https://www.allendowney.com/blog/wp-content/uploads/2026/09/cover-concept-spectrum-front.png 540w, https://www.allendowney.com/blog/wp-content/uploads/2026/09/cover-concept-spectrum-front-200x300.png 200w, https://www.allendowney.com/blog/wp-content/uploads/2026/09/cover-concept-spectrum-front-180x270.png 180w\" sizes=\"(max-width: 540px) 100vw, 540px\" /></figure>\n</div>\n\n\n<p class=\"wp-block-paragraph\">I am working on a new book called <em>You Would Choose Now: Measuring America’s Progress Toward Fairness and Tolerance</em>. It’s a data-driven exploration of progress (or not) in public opinion and civil rights.</p>\n\n\n\n<p class=\"wp-block-paragraph\">I posted the first two chapters as an Early Access edition on LeanPub (a platform for posting work in progress like this): <a href=\"https://leanpub.com/ywcn\">https://leanpub.com/ywcn</a></p>\n\n\n\n<p class=\"wp-block-paragraph\">If you would like to check it out, the “Free Sample” has just the first chapter. If you sign up with an email address, you can get the “Community Edition”, which has the first two chapters — and that’s all there are for now. Chapter 3 is scheduled for October 1.</p>\n\n\n\n<p class=\"wp-block-paragraph\">As I add chapters over the next six months, I will post excerpts on <a href=\"https://allendowney.substack.com/\">Substack</a>. So if you only follow this blog and not my Substack, you might want to sign up over there. I will continue to post on other topics here.</p>\n\n\n\n<h2 class=\"wp-block-heading\">What’s it about?</h2>\n\n\n\n<p class=\"wp-block-paragraph\">If you read <a href=\"https://www.allendowney.com/blog/2026/06/16/you-would-choose-now/\">this post from a couple of weeks ago</a>, you already know the premise of the book: in 2016, Barack Obama gave a commencement address at Howard University, where he said</p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\"><strong>If you had to choose one moment in history in which you could be born</strong>, and you didn’t know ahead of time who you were going to be — what nationality, what gender, what race, whether you’d be rich or poor, gay or straight, what faith you’d be born into — you wouldn’t choose 100 years ago. You wouldn’t choose the fifties, or the sixties, or the seventies. <strong>You’d choose right now.</strong></p>\n</blockquote>\n\n\n\n<p class=\"wp-block-paragraph\">That was a bold thing to say to new college graduates, even in 2016. So I read Obama’s address with a skeptical eye. I wondered if he was right in 2016, and if so, whether he would still be right in 2026. And I thought about how to prove or disprove it. That’s what the book is about.</p>\n\n\n\n<p class=\"wp-block-paragraph\">Chapter 1 is an introduction that includes an example of the primary statistical method I’ll use, period-cohort analysis. Chapter 2 is about sexual orientation. I plan to publish Chapter 3, which is about gender, on October 1. And then Chapter 4, about race, on November 1.</p>\n\n\n\n<p class=\"wp-block-paragraph\">Part of the reason I am publishing incrementally is to encourage reader feedback, so I welcome comments and suggestions.</p>\n\n\n\n<p class=\"wp-block-paragraph\">And if you are interested in the technical details, there’s an <a href=\"https://allendowney.github.io/YouWouldChooseNow/\">appendix that explains the analysis</a>.</p>\n<p>The post <a href=\"https://www.allendowney.com/blog/2026/09/04/new-book/\">New Book!</a> appeared first on <a href=\"https://www.allendowney.com/blog\">Probably Overthinking It</a>.</p>",
      "image": null,
      "media": [],
      "authors": [
        {
          "name": "AllenDowney",
          "email": null,
          "url": null
        }
      ],
      "categories": [
        {
          "label": "Uncategorized",
          "term": "Uncategorized",
          "url": null
        },
        {
          "label": "announcement",
          "term": "announcement",
          "url": null
        }
      ]
    },
    {
      "id": "https://www.allendowney.com/blog/?p=1893",
      "title": "Think Java, but interactive",
      "description": "<p>The online version of Think Java now features interactive widgets that run the code examples in the browser. For readers, it means you can try out the examples, modify them, and test your code. And for us it means we can publish an interactive version of the book without providing servers. The widgets use java-runner, an in-browser Java editor and interpreter developed by Think Java co-author Chris Mayfield. java-runner implements a subset of Java with the features needed for most...</p>\n<p class=\"read-more\"><a class=\"btn btn-default\" href=\"https://www.allendowney.com/blog/2026/08/22/think-java-but-interactive/\"> Read More<span class=\"screen-reader-text\">  Read More</span></a></p>\n<p>The post <a href=\"https://www.allendowney.com/blog/2026/08/22/think-java-but-interactive/\">Think Java, but interactive</a> appeared first on <a href=\"https://www.allendowney.com/blog\">Probably Overthinking It</a>.</p>",
      "url": "https://www.allendowney.com/blog/2026/08/22/think-java-but-interactive/",
      "published": "2026-08-22T13:14:57.000Z",
      "updated": "2026-08-22T13:14:57.000Z",
      "content": "<p class=\"wp-block-paragraph\">The <a href=\"https://chrismayfield.github.io/ThinkJava2/\">online version of <em>Think Java</em></a> now features interactive widgets that <strong>run the code examples in the browser</strong>. For readers, it means you can try out the examples, modify them, and test your code. And for us it means we can publish an interactive version of the book without providing servers.</p>\n\n\n\n<p class=\"wp-block-paragraph\">The widgets use <a href=\"https://github.com/ChrisMayfield/java-runner\">java-runner</a>, an in-browser Java editor and interpreter developed by <em>Think Java</em> co-author Chris Mayfield.</p>\n\n\n\n<p class=\"wp-block-paragraph\">java-runner implements a subset of Java with the features needed for most programming classes, plus some safety features — like a maximum instruction count to stop infinite loops. It provides a code editor and a REPL.</p>\n\n\n\n<p class=\"wp-block-paragraph\">Here’s an example of the code editor, from <a href=\"https://chrismayfield.github.io/ThinkJava2/ch06.html#the-while-statement\">Section 6.1</a>:</p>\n\n\n\n<iframe\n  src=\"https://chrismayfield.github.io/ThinkJava2/embed/collatz-conjecture.html\"\n  width=\"100%\"\n  height=\"420\"\n  style=\"border:1px solid #e0e0e0;border-radius:6px;\"\n  loading=\"lazy\"\n  title=\"Collatz conjecture — interactive Java\">\n</iframe>\n\n\n\n<p class=\"wp-block-paragraph\">And here’s an example of the REPL, from <a href=\"https://chrismayfield.github.io/ThinkJava2/ch06.html#characters\">Section 6.6:</a>:</p>\n\n\n\n<iframe\n  src=\"https://chrismayfield.github.io/ThinkJava2/embed/fruit-charat-repl.html\"\n  width=\"100%\"\n  height=\"320\"\n  style=\"border:1px solid #e0e0e0;border-radius:6px;\"\n  loading=\"lazy\"\n  title=\"String charAt — Java REPL\">\n</iframe>\n\n\n\n<p class=\"wp-block-paragraph\">We’re aware of <a href=\"https://github.com/ChrisMayfield/java-runner/issues/2\">one example</a> where the behavior of java-runner differs from the Java language specification — so we’re working on that.</p>\n\n\n\n<p class=\"wp-block-paragraph\"></p>\n<p>The post <a href=\"https://www.allendowney.com/blog/2026/08/22/think-java-but-interactive/\">Think Java, but interactive</a> appeared first on <a href=\"https://www.allendowney.com/blog\">Probably Overthinking It</a>.</p>",
      "image": null,
      "media": [],
      "authors": [
        {
          "name": "AllenDowney",
          "email": null,
          "url": null
        }
      ],
      "categories": [
        {
          "label": "Uncategorized",
          "term": "Uncategorized",
          "url": null
        },
        {
          "label": "java",
          "term": "java",
          "url": null
        },
        {
          "label": "java-runner",
          "term": "java-runner",
          "url": null
        }
      ]
    },
    {
      "id": "https://www.allendowney.com/blog/?p=1867",
      "title": "Greatest GOAT of All Time?",
      "description": "<p>A recent post claims that the “most statistically dominant athlete” of all time was cricketer Don Bradman. It’s a bold claim – let’s see if it holds up. In Chapter 4 of Probably Overthinking It, I listed a few examples of athletes who are considered the Greatest Of All Time (GOAT), and noted that in many cases they are not just a little better than the second-best, but much better. That is, they are outliers among outliers. And I suggested...</p>\n<p class=\"read-more\"><a class=\"btn btn-default\" href=\"https://www.allendowney.com/blog/2026/06/27/greatest-goat-of-all-time/\"> Read More<span class=\"screen-reader-text\">  Read More</span></a></p>\n<p>The post <a href=\"https://www.allendowney.com/blog/2026/06/27/greatest-goat-of-all-time/\">Greatest GOAT of All Time?</a> appeared first on <a href=\"https://www.allendowney.com/blog\">Probably Overthinking It</a>.</p>",
      "url": "https://www.allendowney.com/blog/2026/06/27/greatest-goat-of-all-time/",
      "published": "2026-06-27T15:28:04.000Z",
      "updated": "2026-06-27T15:28:04.000Z",
      "content": "<p class=\"wp-block-paragraph\"><em>A recent post claims that the “most statistically dominant athlete” of all time was cricketer Don Bradman. It’s a bold claim – let’s see if it holds up.</em></p>\n\n\n\n<p class=\"wp-block-paragraph\">In <a href=\"https://allendowney.github.io/ProbablyOverthinkingIt/lognormal.html#the-greatest-of-all-time\"><em>Chapter 4 of Probably Overthinking It</em></a>, I listed a few examples of athletes who are considered the Greatest Of All Time (GOAT), and noted that in many cases they are not just a little better than the second-best, but much better. That is, they are outliers among outliers.</p>\n\n\n\n<p class=\"wp-block-paragraph\">And I suggested that part of the explanation for this phenomenon is that the distribution of accomplishment in many fields (at least, the ones where accomplishment can be quantified) follows a lognormal distribution. That matters because the lognormal distribution has a long tail, which means that extreme values can be much farther from the mean than we would see in a Gaussian (normal) distribution.</p>\n\n\n\n<p class=\"wp-block-paragraph\">So I was intrigued by <a href=\"https://www.instagram.com/reel/DZ6anr1CjT2/\">this post</a> about <a href=\"https://en.wikipedia.org/wiki/Don_Bradman#Statistical_summary\">Don Bradman</a>:</p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\">The most statistically dominant athlete ever isn’t Jordan or Messi — and you’ve probably never heard of him. <img src=\"https://s.w.org/images/core/emoji/17.0.2/72x72/1f3cf.png\" alt=\"🏏\" class=\"wp-smiley\" style=\"height: 1em; max-height: 1em;\" /></p>\n\n\n\n<p class=\"wp-block-paragraph\">I plotted the career batting averages of the greatest Test cricketers of all time. They make a clean bell curve. In cricket, averaging 50 makes you an immortal legend, and the all-time record holders top out around 60 — about 2 standard deviations above the mean.</p>\n\n\n\n<p class=\"wp-block-paragraph\">Then there’s Don Bradman: 99.94. More than 6 standard deviations out. The gap between him and the SECOND best player is bigger than the gap between #2 and the entire average. By the math, a batsman this good should appear about once in 7 billion.</p>\n\n\n\n<p class=\"wp-block-paragraph\">To be this far ahead in basketball, Michael Jordan would’ve had to average 43 points in every single game he ever played. No one in any sport — not Jordan, not Gretzky, not Messi — is this far from their peers.</p>\n\n\n\n<p class=\"wp-block-paragraph\">Not just the greatest. The single biggest outlier in the history of sport.</p>\n</blockquote>\n\n\n\n<p class=\"wp-block-paragraph\">Let’s see if that’s true. In particular, I’ll investigate the “clean bell curve” – it implies a Gaussian model of the data, which is where that “once in 7 billion” comes from.</p>\n\n\n\n<p class=\"wp-block-paragraph\">To give away the ending, here’s what I found:</p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The data don’t fit a Gaussian particularly well, especially in the tail, so the “one in 7 billion” might not be right.</li>\n\n\n\n<li>I thought they might fit a lognormal better, but I was wrong.</li>\n\n\n\n<li>It turns out that the data fit a Weibull distribution <em>very</em> well, and from that we can get a revised estimate of how much of a GOAT Bradman was.</li>\n</ul>\n\n\n\n<p class=\"wp-block-paragraph\">As it turns out, he was a pretty goaty GOAT – but not quite one in 7 billion.</p>\n\n\n\n<h2 class=\"wp-block-heading\">Load the data</h2>\n\n\n\n<p class=\"wp-block-paragraph\">I got the data from <a href=\"https://www.kaggle.com/datasets/udaytunguturi/batsmen-career-runs-data-for-cricket-analytics\">Kaggle</a> (<code>runs_of_batsmen.csv</code>).</p>\n\n\n\n<pre class=\"wp-block-preformatted\">DATA_PATH = \"runs_of_batsmen.csv\"\n\ndf = pd.read_csv(DATA_PATH)\n\n# Convert to numeric, coercing errors to NaN\ndf['Batting Average'] = pd.to_numeric(df['Batting Average'], errors='coerce')\ndf['Innings'] = pd.to_numeric(df['Innings'], errors='coerce')\n</pre>\n\n\n\n<p class=\"wp-block-paragraph\">I select only batters with 10 or more innings.</p>\n\n\n\n<pre class=\"wp-block-preformatted\">df = df.query('Innings >= 10')\n</pre>\n\n\n\n<p class=\"wp-block-paragraph\">Here’s what the distribution of batting averages looks like.</p>\n\n\n\n<pre class=\"wp-block-preformatted\">import seaborn as sns\n\nsns.kdeplot(df['Batting Average'])\ndecorate()\n</pre>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"630\" height=\"470\" src=\"https://www.allendowney.com/blog/wp-content/uploads/2026/06/9e6e3e754fa48807f6d4f5b72552714ed01e3d2dec5cfb8bb37abb5ad845d7aa.png\" alt=\"_images/9e6e3e754fa48807f6d4f5b72552714ed01e3d2dec5cfb8bb37abb5ad845d7aa.png\" class=\"wp-image-1873\" srcset=\"https://www.allendowney.com/blog/wp-content/uploads/2026/06/9e6e3e754fa48807f6d4f5b72552714ed01e3d2dec5cfb8bb37abb5ad845d7aa.png 630w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/9e6e3e754fa48807f6d4f5b72552714ed01e3d2dec5cfb8bb37abb5ad845d7aa-300x224.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/9e6e3e754fa48807f6d4f5b72552714ed01e3d2dec5cfb8bb37abb5ad845d7aa-362x270.png 362w\" sizes=\"(max-width: 630px) 100vw, 630px\" /></figure>\n\n\n\n<p class=\"wp-block-paragraph\">That’s not much of a bell curve. It’s pretty clearly skewed to the right, even if we leave Bradman out of it. But let’s fit a Gaussian to it anyway.</p>\n\n\n\n<h2 class=\"wp-block-heading\">The Gaussian Model</h2>\n\n\n\n<p class=\"wp-block-paragraph\">There are a lot of ways to fit a model to data. The one I like for applications like this is percentile matching – that is, finding a model that minimizes the average vertical distance between the empirical CDF of the data and the CDF of the model. That’s what <code>fit_normal</code> does.</p>\n\n\n\n<pre class=\"wp-block-preformatted\">avg_series = df[\"Batting Average\"].dropna()\ngaussian_model = fit_normal(avg_series)\n</pre>\n\n\n\n<p class=\"wp-block-paragraph\">Here’s what that looks like, plotting the tail distribution, which is the complement of the CDF. The shaded area shows the differences between the data and the model.</p>\n\n\n\n<pre class=\"wp-block-preformatted\">tail_data = TailDist.from_seq(avg_series)\nplot_fit_with_area(tail_data, gaussian_model, kind=\"tail\")\ndecorate(xlabel=\"Batting Average\", title='Gaussian model')\n</pre>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"630\" height=\"470\" src=\"https://www.allendowney.com/blog/wp-content/uploads/2026/06/4b2c95fa3fda1563ca2714d6361e97b106ed1984db9479b168798ca548a9d940.png\" alt=\"_images/4b2c95fa3fda1563ca2714d6361e97b106ed1984db9479b168798ca548a9d940.png\" class=\"wp-image-1871\" srcset=\"https://www.allendowney.com/blog/wp-content/uploads/2026/06/4b2c95fa3fda1563ca2714d6361e97b106ed1984db9479b168798ca548a9d940.png 630w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/4b2c95fa3fda1563ca2714d6361e97b106ed1984db9479b168798ca548a9d940-300x224.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/4b2c95fa3fda1563ca2714d6361e97b106ed1984db9479b168798ca548a9d940-362x270.png 362w\" sizes=\"(max-width: 630px) 100vw, 630px\" /></figure>\n\n\n\n<p class=\"wp-block-paragraph\">This is not a great fit. There are clear differences in the shapes of the tail distributions.</p>\n\n\n\n<p class=\"wp-block-paragraph\">And here’s the average error, which is related to the area between the curves.</p>\n\n\n\n<pre class=\"wp-block-preformatted\">mae_normal = average_error(avg_series, gaussian_model)\nmae_normal\n</pre>\n\n\n\n<pre class=\"wp-block-preformatted\">0.017745997600540485\n</pre>\n\n\n\n<p class=\"wp-block-paragraph\">When we plot the tail distributions on linear scales, it looks like the model might be good enough. The problem is that we can’t see what’s happening in the tail. For that, it’s useful to plot the tail distributions on a log-y scale.</p>\n\n\n\n<pre class=\"wp-block-preformatted\">n = len(avg_series)\nqs = np.linspace(tail_data.qs.min(), tail_data.qs.max(), 200)\ntail_model = TailDist(gaussian_model.sf(qs), index=qs)\n</pre>\n\n\n\n<pre class=\"wp-block-preformatted\">plot_model_bounds(gaussian_model, n=n, qs=qs, kind=\"tail\", color=\"gray\", alpha=0.2)\ntail_model.plot(label=\"model\")\ntail_data.plot(label=\"data\")\ndecorate(yscale=\"log\", title='Gaussian model (log-y scale)')\n</pre>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"630\" height=\"470\" src=\"https://www.allendowney.com/blog/wp-content/uploads/2026/06/b8bccf875d3216eb826852be8de578e37cbfb0909184ce61df747e79bef1db5e.png\" alt=\"_images/b8bccf875d3216eb826852be8de578e37cbfb0909184ce61df747e79bef1db5e.png\" class=\"wp-image-1876\" srcset=\"https://www.allendowney.com/blog/wp-content/uploads/2026/06/b8bccf875d3216eb826852be8de578e37cbfb0909184ce61df747e79bef1db5e.png 630w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/b8bccf875d3216eb826852be8de578e37cbfb0909184ce61df747e79bef1db5e-300x224.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/b8bccf875d3216eb826852be8de578e37cbfb0909184ce61df747e79bef1db5e-362x270.png 362w\" sizes=\"auto, (max-width: 630px) 100vw, 630px\" /></figure>\n\n\n\n<p class=\"wp-block-paragraph\">The model fits the left side of the distribution well enough, but after that, it diverges badly. Around 60, the difference between the model and the data is about an order of magnitude.</p>\n\n\n\n<p class=\"wp-block-paragraph\">Nevertheless, we can use the Gaussian model to compute the probability of a batting average as high as Bradman’s 99.94.</p>\n\n\n\n<pre class=\"wp-block-preformatted\">BRADMAN = 99.94\n\n\ndef probability_of_exceeding(model, x, n):\n    p = model.cdf(x)\n    one_in = 1 / (1 - p)\n    in_sample = 1 / (1 - p ** n)\n    return one_in, in_sample\n</pre>\n\n\n\n<p class=\"wp-block-paragraph\">In the fitted distribution, the probability of a single batter achieving Bradman’s average is about one per 5.7 trillion.</p>\n\n\n\n<pre class=\"wp-block-preformatted\">one_in, in_sample = probability_of_exceeding(gaussian_model, BRADMAN, n)\none_in / 1e12\n</pre>\n\n\n\n<pre class=\"wp-block-preformatted\">5.71160383940456\n</pre>\n\n\n\n<p class=\"wp-block-paragraph\">And even if we account for the sample size, the probability that one of 3438 batsman reaches that level is one per 1.7 billion. So, according to the Gaussian model, this outcome is basically impossible.</p>\n\n\n\n<pre class=\"wp-block-preformatted\">n, in_sample / 1e9\n</pre>\n\n\n\n<pre class=\"wp-block-preformatted\">(3438, 1.6613158346144736)\n</pre>\n\n\n\n<p class=\"wp-block-paragraph\">But the Gaussian model doesn’t fit the data well – and there’s no reason it should. To see why not, let’s think about the process that generates the distribution of batting averages.</p>\n\n\n\n<p class=\"wp-block-paragraph\">As a simplifying assumption, suppose a batsman has the same probability of getting out at any time; in that case, the number of runs in an inning might follow a negative binomial (NB) distribution. As we add up innings (or average over them), the total would eventually converge to a normal distribution, but most batsmans don’t have enough innings to converge. So for each batsman, the distribution of runs follows something between NB and normal. And when we combine them, we get a mixture of those hybrids. There’s no obvious reason the results should fit a simple mathematical model.</p>\n\n\n\n<p class=\"wp-block-paragraph\">But it turns out that they do.</p>\n\n\n\n<h2 class=\"wp-block-heading\">The Weibull Model</h2>\n\n\n\n<p class=\"wp-block-paragraph\">The Weibull distribution is not the first thing I thought of – I tried a lognormal distribution first. But a Weibull distribution fits the data really, really well. The <code>fit_scipy_dist</code> is a more general version of <code>fit_normal</code> that works with any of the SciPy distributions.</p>\n\n\n\n<pre class=\"wp-block-preformatted\">weibull_model = fit_scipy_dist(avg_series, weibull_min)\nweibull_model.args\n</pre>\n\n\n\n<pre class=\"wp-block-preformatted\">(1.8667199063293203, 0.9939717502596944, 22.486446489455503)\n</pre>\n\n\n\n<p class=\"wp-block-paragraph\">Here’s the result. Again, the gray area shows the difference between the data and the model.</p>\n\n\n\n<pre class=\"wp-block-preformatted\">plot_fit_with_area(tail_data, weibull_model, kind=\"tail\")\ndecorate(xlabel=\"Batting Average\", title=\"Weibull model\")\n</pre>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"630\" height=\"470\" src=\"https://www.allendowney.com/blog/wp-content/uploads/2026/06/2c9b224b40833eea766b5d0cd386fc20182601b3ae5245f8f68f7ffca163a4cf.png\" alt=\"_images/2c9b224b40833eea766b5d0cd386fc20182601b3ae5245f8f68f7ffca163a4cf.png\" class=\"wp-image-1872\" srcset=\"https://www.allendowney.com/blog/wp-content/uploads/2026/06/2c9b224b40833eea766b5d0cd386fc20182601b3ae5245f8f68f7ffca163a4cf.png 630w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/2c9b224b40833eea766b5d0cd386fc20182601b3ae5245f8f68f7ffca163a4cf-300x224.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/2c9b224b40833eea766b5d0cd386fc20182601b3ae5245f8f68f7ffca163a4cf-362x270.png 362w\" sizes=\"auto, (max-width: 630px) 100vw, 630px\" /></figure>\n\n\n\n<p class=\"wp-block-paragraph\">The gray area is not visible. Here’s the average error.</p>\n\n\n\n<pre class=\"wp-block-preformatted\">mae_weibull = average_error(avg_series, weibull_model)\nmae_weibull\n</pre>\n\n\n\n<pre class=\"wp-block-preformatted\">0.002555441381799216\n</pre>\n\n\n\n<p class=\"wp-block-paragraph\">The average error of the Gaussian model is about 7x bigger.</p>\n\n\n\n<pre class=\"wp-block-preformatted\">mae_normal / mae_weibull\n</pre>\n\n\n\n<pre class=\"wp-block-preformatted\">6.944396270223196\n</pre>\n\n\n\n<p class=\"wp-block-paragraph\">Here’s what the tail looks like on a log-y axis.</p>\n\n\n\n<pre class=\"wp-block-preformatted\">tail_model = TailDist(weibull_model.sf(qs), index=qs)\n</pre>\n\n\n\n<pre class=\"wp-block-preformatted\">plot_model_bounds(weibull_model, n=n, qs=qs, kind=\"tail\", color=\"gray\", alpha=0.2)\ntail_model.plot(label=\"model\")\ntail_data.plot(label=\"data\")\ndecorate(yscale=\"log\", title=\"Weibull model (log-y scale)\")\n</pre>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"630\" height=\"470\" src=\"https://www.allendowney.com/blog/wp-content/uploads/2026/06/b42367fb1469d102aa278bd0b6f4c1a339ea7f78a8919fd2da3d27b61c2e3fc3.png\" alt=\"_images/b42367fb1469d102aa278bd0b6f4c1a339ea7f78a8919fd2da3d27b61c2e3fc3.png\" class=\"wp-image-1875\" srcset=\"https://www.allendowney.com/blog/wp-content/uploads/2026/06/b42367fb1469d102aa278bd0b6f4c1a339ea7f78a8919fd2da3d27b61c2e3fc3.png 630w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/b42367fb1469d102aa278bd0b6f4c1a339ea7f78a8919fd2da3d27b61c2e3fc3-300x224.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/b42367fb1469d102aa278bd0b6f4c1a339ea7f78a8919fd2da3d27b61c2e3fc3-362x270.png 362w\" sizes=\"auto, (max-width: 630px) 100vw, 630px\" /></figure>\n\n\n\n<p class=\"wp-block-paragraph\">The model fits the data well – within the bounds of variability we expect for this sample size – except for Bradman, who is still an outlier.</p>\n\n\n\n<p class=\"wp-block-paragraph\">Again, we can compute the probability that any batter exceeds Bradman’s level:</p>\n\n\n\n<pre class=\"wp-block-preformatted\">one_in, in_sample = probability_of_exceeding(weibull_model, BRADMAN, n)\none_in / 1e6\n</pre>\n\n\n\n<pre class=\"wp-block-preformatted\">7.980438255436601\n</pre>\n\n\n\n<p class=\"wp-block-paragraph\">It’s about one per 8 million. And in a sample of 3438 batsmen, the chance that any one of them reaches that level is one per 2,322.</p>\n\n\n\n<pre class=\"wp-block-preformatted\">in_sample / 1e3\n</pre>\n\n\n\n<pre class=\"wp-block-preformatted\">2.3217442928624186\n</pre>\n\n\n\n<p class=\"wp-block-paragraph\">So Bradman is still an outlier among outliers, but not quite the statistical anomaly that he would be in a normal distribution.</p>\n\n\n\n<p class=\"wp-block-paragraph\">Finally, let’s think about why a Weibull distribution fits this dataset so well. In the data-generating process I suggested earlier, if a batsman has the same probability of getting out at any time, the number of runs in an inning might follow a negative binomial (NB) distribution. If we think of the run-generating process as continuous, the distribution of runs before an out would be exponential. And if we relax the assumption that the hazard rate is constant, the distribution of runs per inning would be Weibull.</p>\n\n\n\n<p class=\"wp-block-paragraph\">I think that’s an intriguing first step, but at best it explains the distribution of runs per inning – but not the distribution of batting averages across batsmen with, presumably, different hazard rates.</p>\n\n\n\n<h2 class=\"wp-block-heading\">Appendix: The Lognormal Model</h2>\n\n\n\n<p class=\"wp-block-paragraph\">Just for completeness, here’s the lognormal model.</p>\n\n\n\n<pre class=\"wp-block-preformatted\">log_series = np.log10(avg_series)\nlog_model = fit_normal(log_series, x0=norm.fit(log_series))\ntail_log_data = TailDist.from_seq(log_series)\n</pre>\n\n\n\n<pre class=\"wp-block-preformatted\">plot_fit_with_area(tail_log_data, log_model, kind=\"tail\")\ndecorate(xlabel=\"log10(Batting Average)\", title=\"Lognormal model\")\n</pre>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"630\" height=\"470\" src=\"https://www.allendowney.com/blog/wp-content/uploads/2026/06/6344bb082e43613d7cc8910ef8f34769e420045404b8d576f8382bc64b0c8bc2.png\" alt=\"_images/6344bb082e43613d7cc8910ef8f34769e420045404b8d576f8382bc64b0c8bc2.png\" class=\"wp-image-1870\" srcset=\"https://www.allendowney.com/blog/wp-content/uploads/2026/06/6344bb082e43613d7cc8910ef8f34769e420045404b8d576f8382bc64b0c8bc2.png 630w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/6344bb082e43613d7cc8910ef8f34769e420045404b8d576f8382bc64b0c8bc2-300x224.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/6344bb082e43613d7cc8910ef8f34769e420045404b8d576f8382bc64b0c8bc2-362x270.png 362w\" sizes=\"auto, (max-width: 630px) 100vw, 630px\" /></figure>\n\n\n\n<p class=\"wp-block-paragraph\">The average error is slightly worse than the Gaussian model.</p>\n\n\n\n<pre class=\"wp-block-preformatted\">mae_lognormal = average_error(log_series, log_model)\nmae_lognormal\n</pre>\n\n\n\n<pre class=\"wp-block-preformatted\">0.01885918996726559\n</pre>\n\n\n\n<p class=\"wp-block-paragraph\">And it doesn’t fit the tail well at all.</p>\n\n\n\n<pre class=\"wp-block-preformatted\">log_qs = np.log10(qs)\ntail_model = TailDist(log_model.sf(log_qs), index=log_qs)\n</pre>\n\n\n\n<pre class=\"wp-block-preformatted\">plot_model_bounds(log_model, n=n, qs=log_qs, kind=\"tail\", color=\"gray\", alpha=0.2)\ntail_model.plot(label=\"model\")\ntail_log_data.plot(label=\"data\")\ndecorate(xlabel=\"log10(Batting Average)\", yscale=\"log\", title=\"Lognormal model (log-y scale)\")\n</pre>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"630\" height=\"470\" src=\"https://www.allendowney.com/blog/wp-content/uploads/2026/06/5d0319f985ddb2ca9f541683b89a467e19b0e12c468c4c00b5a969111401be6b.png\" alt=\"_images/5d0319f985ddb2ca9f541683b89a467e19b0e12c468c4c00b5a969111401be6b.png\" class=\"wp-image-1874\" srcset=\"https://www.allendowney.com/blog/wp-content/uploads/2026/06/5d0319f985ddb2ca9f541683b89a467e19b0e12c468c4c00b5a969111401be6b.png 630w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/5d0319f985ddb2ca9f541683b89a467e19b0e12c468c4c00b5a969111401be6b-300x224.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/5d0319f985ddb2ca9f541683b89a467e19b0e12c468c4c00b5a969111401be6b-362x270.png 362w\" sizes=\"auto, (max-width: 630px) 100vw, 630px\" /></figure>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https://allendowney.github.io/ProbablyOverthinkingIt/chile.html\"></a></p>\n\n\n\n<p class=\"wp-block-paragraph\"></p>\n<p>The post <a href=\"https://www.allendowney.com/blog/2026/06/27/greatest-goat-of-all-time/\">Greatest GOAT of All Time?</a> appeared first on <a href=\"https://www.allendowney.com/blog\">Probably Overthinking It</a>.</p>",
      "image": null,
      "media": [],
      "authors": [
        {
          "name": "AllenDowney",
          "email": null,
          "url": null
        }
      ],
      "categories": [
        {
          "label": "Uncategorized",
          "term": "Uncategorized",
          "url": null
        },
        {
          "label": "cricket",
          "term": "cricket",
          "url": null
        },
        {
          "label": "Gaussian",
          "term": "Gaussian",
          "url": null
        },
        {
          "label": "GOAT",
          "term": "GOAT",
          "url": null
        },
        {
          "label": "lognormal",
          "term": "lognormal",
          "url": null
        },
        {
          "label": "Weibull",
          "term": "Weibull",
          "url": null
        }
      ]
    },
    {
      "id": "https://www.allendowney.com/blog/?p=1846",
      "title": "You Would Choose Now",
      "description": "<p>In 2016, Barack Obama gave a commencement address at Howard University, where he said If you had to choose one moment in history in which you could be born, and you didn’t know ahead of time who you were going to be — what nationality, what gender, what race, whether you’d be rich or poor, gay or straight, what faith you’d be born into — you wouldn’t choose 100 years ago. You wouldn’t choose the fifties, or the sixties, or...</p>\n<p class=\"read-more\"><a class=\"btn btn-default\" href=\"https://www.allendowney.com/blog/2026/06/16/you-would-choose-now/\"> Read More<span class=\"screen-reader-text\">  Read More</span></a></p>\n<p>The post <a href=\"https://www.allendowney.com/blog/2026/06/16/you-would-choose-now/\">You Would Choose Now</a> appeared first on <a href=\"https://www.allendowney.com/blog\">Probably Overthinking It</a>.</p>",
      "url": "https://www.allendowney.com/blog/2026/06/16/you-would-choose-now/",
      "published": "2026-06-16T20:23:37.000Z",
      "updated": "2026-06-16T20:23:37.000Z",
      "content": "<p class=\"wp-block-paragraph\">In 2016, Barack Obama gave a <a href=\"https://obamawhitehouse.archives.gov/the-press-office/2016/05/07/remarks-president-howard-university-commencement-ceremony/\" target=\"_blank\" rel=\"noreferrer noopener\">commencement address at Howard University</a>, where he said</p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\"><strong>If you had to choose one moment in history in which you could be born</strong>, and you didn’t know ahead of time who you were going to be — what nationality, what gender, what race, whether you’d be rich or poor, gay or straight, what faith you’d be born into — you wouldn’t choose 100 years ago. You wouldn’t choose the fifties, or the sixties, or the seventies. You’d choose right now. If you had to choose a time to be, in the words of Lorraine Hansberry, “young, gifted, and black” in America, <strong>you would choose right now</strong>. [Emphasis added]</p>\n</blockquote>\n\n\n\n<p class=\"wp-block-paragraph\">Was he right? It’s a broad claim — about racism, sexism, homophobia, and more — so I’ll focus on the last sentence: If you are young, gifted, and Black, would you choose right now?</p>\n\n\n\n<p class=\"wp-block-paragraph\">And I’ll focus on just one part of the answer: public opinions about race relations and civil rights. On these topics, the General Social Survey includes several questions that have been asked repeatedly — although some of them were dropped from the survey before Obama’s assertion in 2016.</p>\n\n\n\n<p class=\"wp-block-paragraph\">As an example, we’ll start with a question about open housing, which has been asked since 1973, and shows one of the clearest trends over time.</p>\n\n\n\n<h2 class=\"wp-block-heading\">Open housing</h2>\n\n\n\n<p class=\"wp-block-paragraph\">The GSS asks this question about open housing:</p>\n\n\n\n<p class=\"wp-block-paragraph\"><em>Suppose there is a community-wide vote on the general housing issue. There are two possible laws to vote on. (A) One law says that a homeowner can decide for himself whom to sell his house to, even if he prefers not to sell to someone because of their race or color. (B) The second law says that a homeowner cannot refuse to sell to someone because of their race or color. Which law would you vote for?</em></p>\n\n\n\n<p class=\"wp-block-paragraph\">The following figure shows the percentage of respondents who chose the first law, which allows someone selling their house to discriminate.</p>\n\n\n\n<figure class=\"wp-block-image\" id=\"racopen-time-model\"><img loading=\"lazy\" decoding=\"async\" width=\"1145\" height=\"907\" src=\"https://www.allendowney.com/blog/wp-content/uploads/2026/06/time_model_racopen_r-8299d0a2b2cf2cdfabb273df835b9cc2.png\" alt=\"Time series: percent voting for homeowner discretion.\" class=\"wp-image-1855\" srcset=\"https://www.allendowney.com/blog/wp-content/uploads/2026/06/time_model_racopen_r-8299d0a2b2cf2cdfabb273df835b9cc2.png 1145w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/time_model_racopen_r-8299d0a2b2cf2cdfabb273df835b9cc2-300x238.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/time_model_racopen_r-8299d0a2b2cf2cdfabb273df835b9cc2-1024x811.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/time_model_racopen_r-8299d0a2b2cf2cdfabb273df835b9cc2-768x608.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/time_model_racopen_r-8299d0a2b2cf2cdfabb273df835b9cc2-341x270.png 341w\" sizes=\"auto, (max-width: 1145px) 100vw, 1145px\" /><figcaption class=\"wp-element-caption\">Time series: percent voting for homeowner discretion.</figcaption></figure>\n\n\n\n<p class=\"wp-block-paragraph\">In 1973, about 65% favored the first law; in 2024, it had dropped below 20%. When public opinion changes as fast as that, it is usually the result of two effects:</p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Generational replacement: as older people with receding viewpoints age out of the survey, they are replaced by young adults with rising viewpoints.</li>\n\n\n\n<li>Changing minds: people adopt different views over the course of their lives, possibly in response to events.</li>\n</ul>\n\n\n\n<p class=\"wp-block-paragraph\">With a repeated survey like the GSS, we can follow each generation to see how it changes over time. The following figure shows one line for each year of birth, estimating support for homeowner discretion over time.</p>\n\n\n\n<figure class=\"wp-block-image\" id=\"racopen-cohort-trajectories\"><img loading=\"lazy\" decoding=\"async\" width=\"1330\" height=\"757\" src=\"https://www.allendowney.com/blog/wp-content/uploads/2026/06/cohort_trajectory_ra-0963fe1b4d9c9eddb280337f187dceec.png\" alt=\"Cohort trajectories: percent voting for homeowner discretion, one line per birth year.\" class=\"wp-image-1853\" srcset=\"https://www.allendowney.com/blog/wp-content/uploads/2026/06/cohort_trajectory_ra-0963fe1b4d9c9eddb280337f187dceec.png 1330w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/cohort_trajectory_ra-0963fe1b4d9c9eddb280337f187dceec-300x171.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/cohort_trajectory_ra-0963fe1b4d9c9eddb280337f187dceec-1024x583.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/cohort_trajectory_ra-0963fe1b4d9c9eddb280337f187dceec-768x437.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/cohort_trajectory_ra-0963fe1b4d9c9eddb280337f187dceec-474x270.png 474w\" sizes=\"auto, (max-width: 1330px) 100vw, 1330px\" /><figcaption class=\"wp-element-caption\">Cohort trajectories: percent voting for homeowner discretion, one line per birth year.</figcaption></figure>\n\n\n\n<p class=\"wp-block-paragraph\">In the top left we can see that when people born in the 1900s and 1910s were interviewed in 1973, almost 80% of them said homeowners should be allowed to discriminate based on race. In the bottom right we can see that when people born in the 2000s were interviewed in 2024, fewer than 20% of them held that view. So there are big differences between generations. And, following the cohorts over time, we can see that the trend is downward — that is, toward support for open housing laws.</p>\n\n\n\n<p class=\"wp-block-paragraph\">From this analysis we can decompose the period effect (holding the mixture of cohorts constant) and the cohort effect (holding the mixture of survey years constant). Here’s the estimated cohort effect:</p>\n\n\n\n<figure class=\"wp-block-image\" id=\"racopen-cohort-standardized\"><img loading=\"lazy\" decoding=\"async\" width=\"1145\" height=\"907\" src=\"https://www.allendowney.com/blog/wp-content/uploads/2026/06/cohort_standardized_-5948d7e3bac401a97f12f62053463a76.png\" alt=\"Standardized cohort component, percent voting for homeowner discretion.\" class=\"wp-image-1854\" srcset=\"https://www.allendowney.com/blog/wp-content/uploads/2026/06/cohort_standardized_-5948d7e3bac401a97f12f62053463a76.png 1145w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/cohort_standardized_-5948d7e3bac401a97f12f62053463a76-300x238.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/cohort_standardized_-5948d7e3bac401a97f12f62053463a76-1024x811.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/cohort_standardized_-5948d7e3bac401a97f12f62053463a76-768x608.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/cohort_standardized_-5948d7e3bac401a97f12f62053463a76-341x270.png 341w\" sizes=\"auto, (max-width: 1145px) 100vw, 1145px\" /><figcaption class=\"wp-element-caption\">Standardized cohort component, percent voting for homeowner discretion.</figcaption></figure>\n\n\n\n<p class=\"wp-block-paragraph\">Looking at differences between cohorts, the biggest changes happened between people born in 1900 and 1960. Since then, the cohort effect is essentially flat.</p>\n\n\n\n<p class=\"wp-block-paragraph\">And here’s the period effect after factoring out the cohort effect.</p>\n\n\n\n<figure class=\"wp-block-image\" id=\"racopen-period-standardized\"><img loading=\"lazy\" decoding=\"async\" width=\"1145\" height=\"907\" src=\"https://www.allendowney.com/blog/wp-content/uploads/2026/06/time_standardized_ra-97800a69f320b39488f4fa53500fbcd7.png\" alt=\"Standardized period component, percent voting for homeowner discretion.\" class=\"wp-image-1856\" srcset=\"https://www.allendowney.com/blog/wp-content/uploads/2026/06/time_standardized_ra-97800a69f320b39488f4fa53500fbcd7.png 1145w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/time_standardized_ra-97800a69f320b39488f4fa53500fbcd7-300x238.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/time_standardized_ra-97800a69f320b39488f4fa53500fbcd7-1024x811.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/time_standardized_ra-97800a69f320b39488f4fa53500fbcd7-768x608.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/time_standardized_ra-97800a69f320b39488f4fa53500fbcd7-341x270.png 341w\" sizes=\"auto, (max-width: 1145px) 100vw, 1145px\" /><figcaption class=\"wp-element-caption\">Standardized period component, percent voting for homeowner discretion.</figcaption></figure>\n\n\n\n<p class=\"wp-block-paragraph\">The trend is consistently downward, with a possible plateau between 1995 and 2005. If you are young, Black, and looking for a house, these trends are good news. Let’s see if the other questions show the same patterns.</p>\n\n\n\n<h2 class=\"wp-block-heading\">Race relations and civil rights</h2>\n\n\n\n<p class=\"wp-block-paragraph\">Here are other questions related to race relations and civil rights — I selected the ones that were asked repeatedly over the widest intervals.</p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Affirmative action:</strong></p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\">Some people say that because of past discrimination, Black people should be given preference in hiring and promotion. Others say that such preference in hiring and promotion of Black people is wrong because it discriminates against whites. What about your opinion — are you for or against preferential hiring and promotion of Black people?</p>\n</blockquote>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Segregation:</strong></p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\">Do you agree or disagree with the following statement: African-Americans shouldn’t push themselves where they’re not wanted.</p>\n</blockquote>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\">Do you agree or disagree with the following statement: White people have a right to keep African-Americans out of their neighborhoods if they want to, and African-Americans should respect that right.</p>\n</blockquote>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Interracial marriage:</strong></p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\">Do you think there should be laws against marriages between African-Americans and whites?</p>\n</blockquote>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Black presidential candidate:</strong></p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\">If your party nominated an African-American for President, would you vote for him if he were qualified for the job?</p>\n</blockquote>\n\n\n\n<p class=\"wp-block-paragraph\">If some of these questions seem dated, remember that they were written in the 1970s. The wording of the questions is mostly unchanged, except that the original use of “Negroes” was updated to “African-American” and then updated again to “Black”.</p>\n\n\n\n<p class=\"wp-block-paragraph\">Now let’s see how the responses have changed. To make the results easier to compare, for each question we’ll look at responses associated with a more racist viewpoint. So we’ll track:</p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Support for segregation</li>\n\n\n\n<li>Opposition to interracial marriage</li>\n\n\n\n<li>Unwillingness to vote for a Black candidate</li>\n\n\n\n<li>Opposition to affirmative action (with the acknowledgement that this view is not necessarily racist)</li>\n</ul>\n\n\n\n<p class=\"wp-block-paragraph\">The following figure shows the percentage of respondents with these views, plotted over time.</p>\n\n\n\n<figure class=\"wp-block-image\" id=\"race-other-time-model\"><img loading=\"lazy\" decoding=\"async\" width=\"1145\" height=\"766\" src=\"https://www.allendowney.com/blog/wp-content/uploads/2026/06/section5_race_other_-229a1c1aae9b3bbb655c12076d848de4.png\" alt=\"Race relations and policy — time series.\" class=\"wp-image-1858\" srcset=\"https://www.allendowney.com/blog/wp-content/uploads/2026/06/section5_race_other_-229a1c1aae9b3bbb655c12076d848de4.png 1145w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/section5_race_other_-229a1c1aae9b3bbb655c12076d848de4-300x201.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/section5_race_other_-229a1c1aae9b3bbb655c12076d848de4-1024x685.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/section5_race_other_-229a1c1aae9b3bbb655c12076d848de4-768x514.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/section5_race_other_-229a1c1aae9b3bbb655c12076d848de4-404x270.png 404w\" sizes=\"auto, (max-width: 1145px) 100vw, 1145px\" /><figcaption class=\"wp-element-caption\">Race relations and policy — time series.</figcaption></figure>\n\n\n\n<p class=\"wp-block-paragraph\">All of these views have declined over time, although opposition to affirmative action is still high.</p>\n\n\n\n<p class=\"wp-block-paragraph\">For three of the questions, support for the more racist responses had fallen below 15% when they were dropped from the survey. For example, in 1973 more than 40% agreed that “White people have a right to keep Negroes out of their neighborhoods if they want to, and Negroes should respect that right.” By 2002, it was below 10% — and in 2026 I think a lot of people wouldn’t read that sentence out loud, much less believe it.</p>\n\n\n\n<p class=\"wp-block-paragraph\">One reason the GSS drops questions like these is that statistical estimates are less precise when an observed proportion is far from 50% in either direction. For example, in 2010, fewer than 4% of respondents said they were unwilling to vote for a Black presidential candidate. At that level, even a low error rate becomes a problem; for example, if 1% of respondents misunderstand the question or record the wrong response, they would account for 1 out of 4 of the negative responses.</p>\n\n\n\n<p class=\"wp-block-paragraph\">Another reason is that a question that was relevant when it was added to the survey might seem dated a few decades later, might introduce a framing or mindset that influences responses, and might even antagonize respondents. For example, if you agreed to take a survey and they were still asking about interracial marriage in 2026, it might make you wonder about the worldview of the survey writers.</p>\n\n\n\n<p class=\"wp-block-paragraph\">Now we’ll decompose these trends into cohort and period effects. The following figure shows the cohort effects.</p>\n\n\n\n<figure class=\"wp-block-image\" id=\"race-other-cohort\"><img loading=\"lazy\" decoding=\"async\" width=\"1145\" height=\"766\" src=\"https://www.allendowney.com/blog/wp-content/uploads/2026/06/section5_race_other_-6cdc00b18309e16a8f72b0e5982469d4.png\" alt=\"Race relations and policy — standardized cohort component.\" class=\"wp-image-1857\" srcset=\"https://www.allendowney.com/blog/wp-content/uploads/2026/06/section5_race_other_-6cdc00b18309e16a8f72b0e5982469d4.png 1145w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/section5_race_other_-6cdc00b18309e16a8f72b0e5982469d4-300x201.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/section5_race_other_-6cdc00b18309e16a8f72b0e5982469d4-1024x685.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/section5_race_other_-6cdc00b18309e16a8f72b0e5982469d4-768x514.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/section5_race_other_-6cdc00b18309e16a8f72b0e5982469d4-404x270.png 404w\" sizes=\"auto, (max-width: 1145px) 100vw, 1145px\" /><figcaption class=\"wp-element-caption\">Race relations and policy — standardized cohort component.</figcaption></figure>\n\n\n\n<p class=\"wp-block-paragraph\">On support for segregation and opposition to interracial marriage, the cohort effect is consistently downward — that is, each generation is less likely to support these views.</p>\n\n\n\n<p class=\"wp-block-paragraph\">Opposition to affirmative action was almost unchanged between cohorts born in the 1940s, 1950s, 1960s, and 1970s, but since then it has declined steeply.</p>\n\n\n\n<p class=\"wp-block-paragraph\">Unwillingness to vote for a Black candidate declined earlier and reached a minimum with the Baby Boomers (born 1946 to 1964). It might have increased after that, but the increase is within the range of statistical uncertainty.</p>\n\n\n\n<p class=\"wp-block-paragraph\">Now here’s the period effect after controlling for changes in the cohort mix.</p>\n\n\n\n<figure class=\"wp-block-image\" id=\"race-other-period\"><img loading=\"lazy\" decoding=\"async\" width=\"1145\" height=\"766\" src=\"https://www.allendowney.com/blog/wp-content/uploads/2026/06/section5_race_other_-c59e1a5e05295e6a8a45b7f42e3e5ccf.png\" alt=\"Race relations and policy — standardized period component.\" class=\"wp-image-1852\" srcset=\"https://www.allendowney.com/blog/wp-content/uploads/2026/06/section5_race_other_-c59e1a5e05295e6a8a45b7f42e3e5ccf.png 1145w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/section5_race_other_-c59e1a5e05295e6a8a45b7f42e3e5ccf-300x201.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/section5_race_other_-c59e1a5e05295e6a8a45b7f42e3e5ccf-1024x685.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/section5_race_other_-c59e1a5e05295e6a8a45b7f42e3e5ccf-768x514.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/section5_race_other_-c59e1a5e05295e6a8a45b7f42e3e5ccf-404x270.png 404w\" sizes=\"auto, (max-width: 1145px) 100vw, 1145px\" /><figcaption class=\"wp-element-caption\">Race relations and policy — standardized period component.</figcaption></figure>\n\n\n\n<p class=\"wp-block-paragraph\">The trends are all consistently downward, which means that the changes we see in the time series are not just generational replacement — they are also changing minds.</p>\n\n\n\n<h2 class=\"wp-block-heading\">Unequal Outcomes</h2>\n\n\n\n<p class=\"wp-block-paragraph\">In 1977, the GSS added four questions starting with this preamble:</p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\">On the average, African-Americans have worse jobs, income, and housing than white people. Do you think these differences are …</p>\n</blockquote>\n\n\n\n<p class=\"wp-block-paragraph\">Then they ask:</p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<ol start=\"1\" class=\"wp-block-list\">\n<li>… mainly due to discrimination?</li>\n\n\n\n<li>… because most African-Americans have less in-born ability to learn?</li>\n\n\n\n<li>… because most African-Americans don’t have the chance for education that it takes to rise out of poverty?</li>\n\n\n\n<li>… because most African-Americans just don’t have the motivation or will power to pull themselves up out of poverty?</li>\n</ol>\n</blockquote>\n\n\n\n<p class=\"wp-block-paragraph\">Respondents can answer yes or no to each question, so they could affirm all four, or none, or any combination. The following figure shows the percentage affirming each explanation.</p>\n\n\n\n<figure class=\"wp-block-image\" id=\"racdif-time-model\"><img loading=\"lazy\" decoding=\"async\" width=\"1133\" height=\"766\" src=\"https://www.allendowney.com/blog/wp-content/uploads/2026/06/section5_racdif_batt-5d0ecac9781b91f8a4be1c96911e4362.png\" alt=\"Racial inequality explanations — time-series.\" class=\"wp-image-1860\" srcset=\"https://www.allendowney.com/blog/wp-content/uploads/2026/06/section5_racdif_batt-5d0ecac9781b91f8a4be1c96911e4362.png 1133w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/section5_racdif_batt-5d0ecac9781b91f8a4be1c96911e4362-300x203.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/section5_racdif_batt-5d0ecac9781b91f8a4be1c96911e4362-1024x692.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/section5_racdif_batt-5d0ecac9781b91f8a4be1c96911e4362-768x519.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/section5_racdif_batt-5d0ecac9781b91f8a4be1c96911e4362-399x270.png 399w\" sizes=\"auto, (max-width: 1133px) 100vw, 1133px\" /><figcaption class=\"wp-element-caption\">Racial inequality explanations — time-series.</figcaption></figure>\n\n\n\n<p class=\"wp-block-paragraph\">Over time, respondents are</p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Less likely to accept lack of motivation or in-born ability as explanations, and</li>\n\n\n\n<li>More likely to accept discrimination.</li>\n</ul>\n\n\n\n<p class=\"wp-block-paragraph\">Belief in educational opportunity as an explanation was high in the 1980s, declined in the 1990s, and has increased since.</p>\n\n\n\n<p class=\"wp-block-paragraph\">The following figure shows how the responses differ between generations.</p>\n\n\n\n<figure class=\"wp-block-image\" id=\"racdif-cohort\"><img loading=\"lazy\" decoding=\"async\" width=\"1133\" height=\"766\" src=\"https://www.allendowney.com/blog/wp-content/uploads/2026/06/section5_racdif_batt-526456048bc907b188c3c6d57245742f.png\" alt=\"Racial inequality explanations — standardized cohort component.\" class=\"wp-image-1859\" srcset=\"https://www.allendowney.com/blog/wp-content/uploads/2026/06/section5_racdif_batt-526456048bc907b188c3c6d57245742f.png 1133w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/section5_racdif_batt-526456048bc907b188c3c6d57245742f-300x203.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/section5_racdif_batt-526456048bc907b188c3c6d57245742f-1024x692.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/section5_racdif_batt-526456048bc907b188c3c6d57245742f-768x519.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/section5_racdif_batt-526456048bc907b188c3c6d57245742f-399x270.png 399w\" sizes=\"auto, (max-width: 1133px) 100vw, 1133px\" /><figcaption class=\"wp-element-caption\">Racial inequality explanations — standardized cohort component.</figcaption></figure>\n\n\n\n<p class=\"wp-block-paragraph\">The picture here is a little more complicated, but in general, more recent cohorts are more likely to endorse discrimination and educational opportunity, and less likely to endorse motivation and innate ability — although it looks like cohorts born after 1990 are increasingly likely to believe in innate differences.</p>\n\n\n\n<p class=\"wp-block-paragraph\">The following figure shows the period effects.</p>\n\n\n\n<figure class=\"wp-block-image\" id=\"racdif-period\"><img loading=\"lazy\" decoding=\"async\" width=\"1133\" height=\"766\" src=\"https://www.allendowney.com/blog/wp-content/uploads/2026/06/section5_racdif_batt-966107004e9305ca4625379ef979a7f2.png\" alt=\"Racial inequality explanations — standardized period component.\" class=\"wp-image-1851\" srcset=\"https://www.allendowney.com/blog/wp-content/uploads/2026/06/section5_racdif_batt-966107004e9305ca4625379ef979a7f2.png 1133w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/section5_racdif_batt-966107004e9305ca4625379ef979a7f2-300x203.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/section5_racdif_batt-966107004e9305ca4625379ef979a7f2-1024x692.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/section5_racdif_batt-966107004e9305ca4625379ef979a7f2-768x519.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/section5_racdif_batt-966107004e9305ca4625379ef979a7f2-399x270.png 399w\" sizes=\"auto, (max-width: 1133px) 100vw, 1133px\" /><figcaption class=\"wp-element-caption\">Racial inequality explanations — standardized period component.</figcaption></figure>\n\n\n\n<p class=\"wp-block-paragraph\">The period effects have the same shapes as the original time series, but the magnitudes of the changes are a little smaller after we factor out the cohort effects. So again, the changes we see over time are a combination of generational replacement and changed minds.</p>\n\n\n\n<h2 class=\"wp-block-heading\">What about now?</h2>\n\n\n\n<p class=\"wp-block-paragraph\">So when Obama said, “You wouldn’t choose the fifties, or the sixties, or the seventies. You’d choose right now,” was he right?</p>\n\n\n\n<p class=\"wp-block-paragraph\">If the prevalence of racist views is one of the factors you would consider, the choice is clear: public opinion was less racist in 2016 than it was in the 1970s. We don’t have GSS data from the fifties and sixties, but we have data from people born in the 1900s and 1910s, and it is equally clear: younger cohorts are less racist than older cohorts.</p>\n\n\n\n<p class=\"wp-block-paragraph\">Of course, these are survey results, and people don’t always say what they believe. But I think it’s likely that the changes we see in the responses reflect true changes in beliefs. For example, as opposition to interracial marriage has declined, rates of interracial marriage have in fact increased. And given that presidential elections tend to be tightly contested, if many people were unwilling to vote for a Black candidate, Obama would not have been elected (and might not have spoken at Howard University).</p>\n\n\n\n<p class=\"wp-block-paragraph\">But even if we conclude that Obama was right in 2016, would he still be right in 2024? In the most recent data, it looks like fewer people believe that unequal outcomes are “mainly due to discrimination”. And it looks like the youngest respondents are more likely to believe in innate racial differences, compared to previous generations. </p>\n\n\n\n<p class=\"wp-block-paragraph\">Because some of the questions where we see the biggest changes were dropped from the survey, we can’t rule out the possibility that those trends have reversed. But other surveys can fill in the blanks. For example, <a href=\"https://news.gallup.com/poll/354638/approval-interracial-marriage-new-high.aspx\" target=\"_blank\" rel=\"noreferrer noopener\">Gallup reported</a> that opposition to interracial marriage dropped to 4% in 2021, less than the 12% seen in the GSS in 2002. And when <a href=\"https://news.gallup.com/poll/257495/americans-views-voting-candidates-various-characteristics.aspx\" target=\"_blank\" rel=\"noreferrer noopener\">they asked</a> if people would vote for a Black presidential candidate in 2019, about 3% said no, slightly less than the proportion in the GSS in 2010. So I don’t think these trends reversed when the GSS stopped looking.</p>\n\n\n\n<p class=\"wp-block-paragraph\">Even if racism is in decline, concern about racism is not. Since 1948, Gallup has asked “What do you think is the most important problem facing this country today?” The following figure shows the percentage who said racism or a related term:</p>\n\n\n\n<figure class=\"wp-block-image\" id=\"gallup-racism-important-problem\"><img loading=\"lazy\" decoding=\"async\" width=\"720\" height=\"409\" src=\"https://www.allendowney.com/blog/wp-content/uploads/2026/06/0gwa4e54wk-jnwac6ieq-8e5904aab68f78f3da3b9a18288e7394.png\" alt=\"Percent naming racism (or a related term) as the most important problem facing the country (Gallup).\" class=\"wp-image-1850\" srcset=\"https://www.allendowney.com/blog/wp-content/uploads/2026/06/0gwa4e54wk-jnwac6ieq-8e5904aab68f78f3da3b9a18288e7394.png 720w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/0gwa4e54wk-jnwac6ieq-8e5904aab68f78f3da3b9a18288e7394-300x170.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/0gwa4e54wk-jnwac6ieq-8e5904aab68f78f3da3b9a18288e7394-475x270.png 475w\" sizes=\"auto, (max-width: 720px) 100vw, 720px\" /><figcaption class=\"wp-element-caption\">Percent naming racism (or a related term) as the most important problem facing the country (Gallup). Reproduced from Gallup, “<a href=\"https://news.gallup.com/poll/350165/heightened-racial-concern-clear-legacy-floyd-death.aspx\">Heightened Racial Concern a Clear Legacy of Floyd’s Death</a>“, May 2021.</figcaption></figure>\n\n\n\n<p class=\"wp-block-paragraph\">Several of the peaks align with notable historical events, including:</p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><th>Year</th><th>Peak</th><th>Possible events</th></tr><tr><td>1958</td><td>29%</td><td>Aftermath of the <a href=\"https://en.wikipedia.org/wiki/Little_Rock_Nine\" target=\"_blank\" rel=\"noreferrer noopener\">Little Rock Crisis</a> in 1957 (federal troops escorting Black students into a desegregated school in Arkansas).</td></tr><tr><td>1967</td><td>52%</td><td>Urban riots and racial unrest, especially in <a href=\"https://en.wikipedia.org/wiki/1967_Detroit_riot\" target=\"_blank\" rel=\"noreferrer noopener\">Detroit</a> and <a href=\"https://en.wikipedia.org/wiki/1967_Newark_riots\" target=\"_blank\" rel=\"noreferrer noopener\">Newark</a>.</td></tr><tr><td>1968</td><td>35%</td><td>Assassination of Martin Luther King Jr. followed by nationwide riots in more than 100 cities.</td></tr><tr><td>1992</td><td>15%</td><td><a href=\"https://en.wikipedia.org/wiki/1992_Los_Angeles_riots\">1992 Los Angeles Riots</a> after the acquittal of officers filmed beating Rodney King.</td></tr><tr><td>2015–2017</td><td>10–18%</td><td>Multiple events, possibly including the <a href=\"https://en.wikipedia.org/wiki/Charleston_church_shooting\" target=\"_blank\" rel=\"noreferrer noopener\">Charleston church shooting</a> in 2015, the killing of <a href=\"https://en.wikipedia.org/wiki/Killing_of_Philando_Castile\" target=\"_blank\" rel=\"noreferrer noopener\">Philando Castile</a> in 2016, and a <a href=\"https://en.wikipedia.org/wiki/Unite_the_Right_rally\" target=\"_blank\" rel=\"noreferrer noopener\">white supremacist rally in Charlottesville</a> in 2017.</td></tr><tr><td>2020–2021</td><td>19%</td><td>Killing of George Floyd in May 2020, nationwide protests, and intense discussion of systemic racism.</td></tr></tbody></table></figure>\n\n\n\n<p class=\"wp-block-paragraph\">The salience of racism as a national issue seems be driven by events, and media coverage, more than by the prevalence of racist attitudes. That’s not ideal — the limited resource of attention should go where it is most needed — but it might not be all bad. Even if racist beliefs are rarer than they used to be, they are not gone. I’m glad if only 3% of Americans refuse to vote for a Black candidate, but that’s not zero, and in a close election, it could be a deciding factor.</p>\n\n\n\n<p class=\"wp-block-paragraph\">So we should be aware of what’s going on — and we should keep an eye on the trends that have stalled or reversed. But we should not ignore the consistent decline of racist attitudes in the last fifty years. Based on the data, if I had to choose when to be born, not knowing who I was going to be, I would choose right now.</p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"/>\n\n\n\n<p class=\"wp-block-paragraph\">Note: The scenario Obama posed is a nod to the <a href=\"https://en.wikipedia.org/wiki/Original_position\" target=\"_blank\" rel=\"noreferrer noopener\">veil of ignorance</a>, a hypothetical used by moral philosopher John Rawls to explore basic principles of justice.</p>\n\n\n\n<p class=\"wp-block-paragraph\"></p>\n<p>The post <a href=\"https://www.allendowney.com/blog/2026/06/16/you-would-choose-now/\">You Would Choose Now</a> appeared first on <a href=\"https://www.allendowney.com/blog\">Probably Overthinking It</a>.</p>",
      "image": null,
      "media": [],
      "authors": [
        {
          "name": "AllenDowney",
          "email": null,
          "url": null
        }
      ],
      "categories": [
        {
          "label": "Uncategorized",
          "term": "Uncategorized",
          "url": null
        },
        {
          "label": "age period cohort analysis",
          "term": "age period cohort analysis",
          "url": null
        },
        {
          "label": "bayesian statistics",
          "term": "bayesian statistics",
          "url": null
        },
        {
          "label": "general social survey",
          "term": "general social survey",
          "url": null
        },
        {
          "label": "racism",
          "term": "racism",
          "url": null
        }
      ]
    },
    {
      "id": "https://www.allendowney.com/blog/?p=1836",
      "title": "Who Is More Trusting: Liberals or Conservatives?",
      "description": "<p>When I go crawling around in data from the General Social Survey, sooner or later I run into Ryan Burge, who writes Graphs About Religion. In his most recent post, he wrote about changes in interpersonal trust, as measured by this GSS question: Generally speaking, would you say that most people can be trusted or that you can’t be too careful in dealing with people? Among other analyses, he looks at how the responses relate to self-identification as liberal, conservative,...</p>\n<p class=\"read-more\"><a class=\"btn btn-default\" href=\"https://www.allendowney.com/blog/2026/06/12/who-is-more-trusting-liberals-or-conservatives/\"> Read More<span class=\"screen-reader-text\">  Read More</span></a></p>\n<p>The post <a href=\"https://www.allendowney.com/blog/2026/06/12/who-is-more-trusting-liberals-or-conservatives/\">Who Is More Trusting: Liberals or Conservatives?</a> appeared first on <a href=\"https://www.allendowney.com/blog\">Probably Overthinking It</a>.</p>",
      "url": "https://www.allendowney.com/blog/2026/06/12/who-is-more-trusting-liberals-or-conservatives/",
      "published": "2026-06-12T13:40:20.000Z",
      "updated": "2026-06-12T13:40:20.000Z",
      "content": "<p class=\"wp-block-paragraph\">When I go crawling around in data from the General Social Survey, sooner or later I run into Ryan Burge, who writes <em>Graphs About Religion</em>. In <a href=\"https://www.graphsaboutreligion.com/p/gen-z-doesnt-trust-anyone\" target=\"_blank\" rel=\"noreferrer noopener\">his most recent post</a>, he wrote about changes in interpersonal trust, as measured by this GSS question:</p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\">Generally speaking, would you say that most people can be trusted or that you can’t be too careful in dealing with people?</p>\n</blockquote>\n\n\n\n<p class=\"wp-block-paragraph\">Among other analyses, he looks at how the responses relate to self-identification as liberal, conservative, or moderate. The results are … complicated. Ryan writes:</p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\">Among older Americans who identify as liberal, they are more likely to trust other people. Among Gen Z liberals, it’s exactly the opposite.</p>\n</blockquote>\n\n\n\n<p class=\"wp-block-paragraph\">To explain why older liberals are more trusting, Ryan suggests:</p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\">Liberalism is based on collectivism. It embraces the idea that “together, we can achieve more.” Things like universal healthcare rely on a sense of trust among large groups of people.</p>\n</blockquote>\n\n\n\n<p class=\"wp-block-paragraph\">But if that’s true, why does the effect go in the opposite direction with Gen Z? Ryan speculates:</p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\">Well, maybe liberals feel very slighted by the fact that Donald Trump has been on the ballot for president in every election in which they’ve been eligible to vote, and he’s won twice. Or it could be that they are more impacted by the cynicism of the internet than conservatives? Or maybe it’s because they report higher rates of depression and anxiety than the rest of the ideological spectrum?</p>\n</blockquote>\n\n\n\n<p class=\"wp-block-paragraph\">As it happened, I looked at the same GSS variable in <a href=\"https://www.allendowney.com/blog/2026/04/03/trust-and-well-being/\" target=\"_blank\" rel=\"noreferrer noopener\">a recent article</a>. But I didn’t do the breakdown by political ideology, so let’s do that now.</p>\n\n\n\n<h3 class=\"wp-block-heading\">The Story So Far</h3>\n\n\n\n<p class=\"wp-block-paragraph\">First, here’s a recap of what we saw in the previous post, with the whole GSS sample. The following figure shows the percentage of respondents who said “most people can be trusted.”</p>\n\n\n\n<figure class=\"wp-block-image\" id=\"trust-recap-time-series\"><img loading=\"lazy\" decoding=\"async\" width=\"1133\" height=\"826\" src=\"https://www.allendowney.com/blog/wp-content/uploads/2026/06/time_model_trust_rw2-25d010d905ca562e299e59b0e89d1713.png\" alt=\"Time series: percent saying most people can be trusted (all respondents)\" class=\"wp-image-1839\" srcset=\"https://www.allendowney.com/blog/wp-content/uploads/2026/06/time_model_trust_rw2-25d010d905ca562e299e59b0e89d1713.png 1133w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/time_model_trust_rw2-25d010d905ca562e299e59b0e89d1713-300x219.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/time_model_trust_rw2-25d010d905ca562e299e59b0e89d1713-1024x747.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/time_model_trust_rw2-25d010d905ca562e299e59b0e89d1713-768x560.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/time_model_trust_rw2-25d010d905ca562e299e59b0e89d1713-370x270.png 370w\" sizes=\"auto, (max-width: 1133px) 100vw, 1133px\" /><figcaption class=\"wp-element-caption\">Time series: percent saying most people can be trusted (all respondents)</figcaption></figure>\n\n\n\n<p class=\"wp-block-paragraph\">Interpersonal trust has declined consistently since the survey started in 1972. In the previous post, I decomposed this trend into cohort and period effects. Here’s the estimated cohort effect:</p>\n\n\n\n<figure class=\"wp-block-image\" id=\"trust-recap-cohort-effect\"><img loading=\"lazy\" decoding=\"async\" width=\"1133\" height=\"790\" src=\"https://www.allendowney.com/blog/wp-content/uploads/2026/06/cohort_standardized_-83920254db4863278c92f3cee792510c.png\" alt=\"Standardized cohort effect with fixed time mix, percent saying most people can be trusted (all respondents)\" class=\"wp-image-1840\" srcset=\"https://www.allendowney.com/blog/wp-content/uploads/2026/06/cohort_standardized_-83920254db4863278c92f3cee792510c.png 1133w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/cohort_standardized_-83920254db4863278c92f3cee792510c-300x209.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/cohort_standardized_-83920254db4863278c92f3cee792510c-1024x714.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/cohort_standardized_-83920254db4863278c92f3cee792510c-768x535.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/cohort_standardized_-83920254db4863278c92f3cee792510c-387x270.png 387w\" sizes=\"auto, (max-width: 1133px) 100vw, 1133px\" /><figcaption class=\"wp-element-caption\">Standardized cohort effect with fixed time mix, percent saying most people can be trusted (all respondents)</figcaption></figure>\n\n\n\n<p class=\"wp-block-paragraph\">The level of trust increased between the cohorts born in the 1900s through the 1940s, and then started a steep decline — more than 30 percentage points over 60 years. And here’s the remaining period effect, after factoring out the cohort effect.</p>\n\n\n\n<figure class=\"wp-block-image\" id=\"trust-recap-period-effect\"><img loading=\"lazy\" decoding=\"async\" width=\"1133\" height=\"790\" src=\"https://www.allendowney.com/blog/wp-content/uploads/2026/06/time_standardized_tr-2f029b683d9ad86a39a536e4f95c8c0f.png\" alt=\"Standardized time trend with fixed cohort mix, percent saying most people can be trusted (all respondents)\" class=\"wp-image-1841\" srcset=\"https://www.allendowney.com/blog/wp-content/uploads/2026/06/time_standardized_tr-2f029b683d9ad86a39a536e4f95c8c0f.png 1133w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/time_standardized_tr-2f029b683d9ad86a39a536e4f95c8c0f-300x209.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/time_standardized_tr-2f029b683d9ad86a39a536e4f95c8c0f-1024x714.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/time_standardized_tr-2f029b683d9ad86a39a536e4f95c8c0f-768x535.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/time_standardized_tr-2f029b683d9ad86a39a536e4f95c8c0f-387x270.png 387w\" sizes=\"auto, (max-width: 1133px) 100vw, 1133px\" /><figcaption class=\"wp-element-caption\">Standardized time trend with fixed cohort mix, percent saying most people can be trusted (all respondents)</figcaption></figure>\n\n\n\n<p class=\"wp-block-paragraph\">There is almost no period effect in the full sample.</p>\n\n\n\n<h3 class=\"wp-block-heading\">Breakdown by Politics</h3>\n\n\n\n<p class=\"wp-block-paragraph\">Now let’s get to the question we started with:</p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\">Who is more trusting: liberals or conservatives?</p>\n</blockquote>\n\n\n\n<p class=\"wp-block-paragraph\">Here’s the time series, broken down by ideology.</p>\n\n\n\n<figure class=\"wp-block-image\" id=\"trust-polviews-time-series\"><img loading=\"lazy\" decoding=\"async\" width=\"1133\" height=\"826\" src=\"https://www.allendowney.com/blog/wp-content/uploads/2026/06/composed_trust_polvi-2191f28230cc6036ffa53c7c589783eb.png\" alt=\"Time series: percent saying most people can be trusted, by 3-point political views\" class=\"wp-image-1842\" srcset=\"https://www.allendowney.com/blog/wp-content/uploads/2026/06/composed_trust_polvi-2191f28230cc6036ffa53c7c589783eb.png 1133w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/composed_trust_polvi-2191f28230cc6036ffa53c7c589783eb-300x219.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/composed_trust_polvi-2191f28230cc6036ffa53c7c589783eb-1024x747.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/composed_trust_polvi-2191f28230cc6036ffa53c7c589783eb-768x560.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/composed_trust_polvi-2191f28230cc6036ffa53c7c589783eb-370x270.png 370w\" sizes=\"auto, (max-width: 1133px) 100vw, 1133px\" /><figcaption class=\"wp-element-caption\">Time series: percent saying most people can be trusted, by 3-point political views</figcaption></figure>\n\n\n\n<p class=\"wp-block-paragraph\">Until recently, there was not much difference: liberals and conservatives were about equally likely to say people can be trusted — both a little more trusting than moderates (who are, maybe, too distrustful to join a team).</p>\n\n\n\n<p class=\"wp-block-paragraph\">Since the 2000s, liberals and conservatives have diverged, and now liberals are more trusting, by about 5 percentage points. But all three groups are still declining.</p>\n\n\n\n<p class=\"wp-block-paragraph\">Now let’s decompose those trends into cohort and period effects. Here are the cohort effects for the three groups.</p>\n\n\n\n<figure class=\"wp-block-image\" id=\"trust-polviews-cohort-effect\"><img loading=\"lazy\" decoding=\"async\" width=\"1133\" height=\"826\" src=\"https://www.allendowney.com/blog/wp-content/uploads/2026/06/composed_trust_polvi-5e9990b3c69d8128602000b1b4e77eac.png\" alt=\"Standardized cohort effect for generalized trust by political views (uniform weights on survey years within group)\" class=\"wp-image-1844\" srcset=\"https://www.allendowney.com/blog/wp-content/uploads/2026/06/composed_trust_polvi-5e9990b3c69d8128602000b1b4e77eac.png 1133w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/composed_trust_polvi-5e9990b3c69d8128602000b1b4e77eac-300x219.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/composed_trust_polvi-5e9990b3c69d8128602000b1b4e77eac-1024x747.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/composed_trust_polvi-5e9990b3c69d8128602000b1b4e77eac-768x560.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/composed_trust_polvi-5e9990b3c69d8128602000b1b4e77eac-370x270.png 370w\" sizes=\"auto, (max-width: 1133px) 100vw, 1133px\" /><figcaption class=\"wp-element-caption\">Standardized cohort effect for generalized trust by political views (uniform weights on survey years within group)</figcaption></figure>\n\n\n\n<p class=\"wp-block-paragraph\">Here we can see what Ryan reported: in most generations, liberals are more trusting than conservatives; it’s only in the most recent generation that it goes the other way. The crossover happens among people born in the mid-1990s, close to the conventional beginning of Gen Z (born 1997 to 2012).</p>\n\n\n\n<p class=\"wp-block-paragraph\">And here’s the period effect for the three groups.</p>\n\n\n\n<figure class=\"wp-block-image\" id=\"trust-polviews-period-effect\"><img loading=\"lazy\" decoding=\"async\" width=\"1133\" height=\"826\" src=\"https://www.allendowney.com/blog/wp-content/uploads/2026/06/composed_trust_polvi-e873e0d24bfb4397559e322760556ee6.png\" alt=\"Standardized period trend for generalized trust by political views (fixed within-group cohort weights)\" class=\"wp-image-1843\" srcset=\"https://www.allendowney.com/blog/wp-content/uploads/2026/06/composed_trust_polvi-e873e0d24bfb4397559e322760556ee6.png 1133w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/composed_trust_polvi-e873e0d24bfb4397559e322760556ee6-300x219.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/composed_trust_polvi-e873e0d24bfb4397559e322760556ee6-1024x747.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/composed_trust_polvi-e873e0d24bfb4397559e322760556ee6-768x560.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/06/composed_trust_polvi-e873e0d24bfb4397559e322760556ee6-370x270.png 370w\" sizes=\"auto, (max-width: 1133px) 100vw, 1133px\" /><figcaption class=\"wp-element-caption\">Standardized period trend for generalized trust by political views (fixed within-group cohort weights)</figcaption></figure>\n\n\n\n<p class=\"wp-block-paragraph\">For conservatives and moderates, the period effect is generally downward, although small. For liberals, it’s the other way around, generally increasing since about 2000.</p>\n\n\n\n<p class=\"wp-block-paragraph\">The cohort-period decomposition provides some hints about what’s going on:</p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Among conservatives and moderates, the cohort and period effects are both downward, so they contributed to a steeper decline over time.</li>\n\n\n\n<li>Among liberals, the cohort effect is also downward, but the period effect is upward, so the period effect mitigates the cohort effect.</li>\n</ul>\n\n\n\n<p class=\"wp-block-paragraph\">To explain the cohort effect, I think Ryan’s suggestions are plausible. People born after 1995 have grown up during a discouraging time to be a liberal. Recent developments contrary to the liberal worldview include</p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The rise of populist and nationalist movements in several countries, along with democratic backsliding or erosion of liberal norms.</li>\n\n\n\n<li>Slow progress or reversal on climate change.</li>\n\n\n\n<li>Increasing distrust of experts, journalists, scientists, and public institutions.</li>\n\n\n\n<li>Declining confidence in institutions such as Congress, the media, and organized religion.</li>\n\n\n\n<li>A series of conservative Supreme Court decisions, most notably the overturning of long-established abortion rights protections in 2022.</li>\n</ul>\n\n\n\n<p class=\"wp-block-paragraph\">Negativity bias in the media — especially social media — is probably a contributing factor. And going to school during the pandemic probably didn’t help.</p>\n\n\n\n<p class=\"wp-block-paragraph\">But what about that period effect — can we think of reasons liberals would be more trusting, starting around 2005? If the recent cohort effect among young liberals is driven by the Trump era (at least in part), maybe the period effect was driven by events and trends of the Obama era that were aligned with the liberal worldview:</p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Perception that the country was becoming more socially inclusive and diverse.</li>\n\n\n\n<li>Greater visibility and acceptance of LGBTQ people, and growing support for same-sex marriage, culminating in nationwide legalization in 2015.</li>\n\n\n\n<li>Expansion of health insurance coverage through the Patient Protection and Affordable Care Act.</li>\n</ul>\n\n\n\n<p class=\"wp-block-paragraph\">And falling crime rates from the 1990s through the 2010s might have contributed more directly to increasing interpersonal trust.</p>\n\n\n\n<p class=\"wp-block-paragraph\">Of course these explanations are speculative, so let’s get back to what’s supported by the data:</p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Since the 1970s, interpersonal trust has declined consistently in all three groups (liberal, conservative, and moderate).</li>\n\n\n\n<li>Before 2005, liberals and conservatives were about equally trusting; since then, the decline among liberals has slowed, so they are now the most trusting group.</li>\n\n\n\n<li>Among conservatives and moderates, the cohort and period effects are both downward, so they contribute to steeper decline.</li>\n\n\n\n<li>Among liberals, the cohort effect is steeply downward in the most recent cohorts, but the decline is mitigated by a positive period effect.</li>\n</ul>\n\n\n\n<p class=\"wp-block-paragraph\">For now, liberals are the most trusting group, but if the cohort effect persists, they might not be for long.</p>\n\n\n\n<p class=\"wp-block-paragraph\"></p>\n<p>The post <a href=\"https://www.allendowney.com/blog/2026/06/12/who-is-more-trusting-liberals-or-conservatives/\">Who Is More Trusting: Liberals or Conservatives?</a> appeared first on <a href=\"https://www.allendowney.com/blog\">Probably Overthinking It</a>.</p>",
      "image": null,
      "media": [],
      "authors": [
        {
          "name": "AllenDowney",
          "email": null,
          "url": null
        }
      ],
      "categories": [
        {
          "label": "Uncategorized",
          "term": "Uncategorized",
          "url": null
        },
        {
          "label": "age period cohort analysis",
          "term": "age period cohort analysis",
          "url": null
        },
        {
          "label": "bayesian statistics",
          "term": "bayesian statistics",
          "url": null
        },
        {
          "label": "general social survey",
          "term": "general social survey",
          "url": null
        },
        {
          "label": "political alignment",
          "term": "political alignment",
          "url": null
        }
      ]
    },
    {
      "id": "https://www.allendowney.com/blog/?p=1828",
      "title": "The Frog Puzzle",
      "description": "<p>Here’s a probability puzzle from a TED-Ed video called Can you solve the frog riddle? by Derek Abbott. It came up recently in this Reddit thread: You’re stranded in a rainforest after accidentally eating a poisonous mushroom. To survive the poison, you need to lick a certain species of frog. Only female frogs produce the antidote. Male and female frogs occur in equal numbers and look identical, but male frogs have a distinctive croak. You see one frog alone on...</p>\n<p class=\"read-more\"><a class=\"btn btn-default\" href=\"https://www.allendowney.com/blog/2026/06/04/the-frog-puzzle/\"> Read More<span class=\"screen-reader-text\">  Read More</span></a></p>\n<p>The post <a href=\"https://www.allendowney.com/blog/2026/06/04/the-frog-puzzle/\">The Frog Puzzle</a> appeared first on <a href=\"https://www.allendowney.com/blog\">Probably Overthinking It</a>.</p>",
      "url": "https://www.allendowney.com/blog/2026/06/04/the-frog-puzzle/",
      "published": "2026-06-04T19:13:19.000Z",
      "updated": "2026-06-04T19:13:19.000Z",
      "content": "<p class=\"wp-block-paragraph\">Here’s a probability puzzle from a TED-Ed video called <a href=\"https://www.youtube.com/watch?v=cpwSGsb-rTs\">Can you solve the frog riddle?</a> by Derek Abbott. It came up recently in this <a href=\"https://www.reddit.com/r/probabilitytheory/comments/1ttzcjt/frog_riddle_again/\">Reddit thread</a>:</p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\">You’re stranded in a rainforest after accidentally eating a poisonous mushroom. To survive the poison, you need to lick a certain species of frog. Only female frogs produce the antidote. Male and female frogs occur in equal numbers and look identical, but male frogs have a distinctive croak.</p>\n\n\n\n<p class=\"wp-block-paragraph\">You see one frog alone on a tree stump. In another direction, you hear the croak of a male frog coming from a clearing with two frogs. You can’t tell which one made the sound.</p>\n\n\n\n<p class=\"wp-block-paragraph\">You only have time to go to one place. What are your chances of survival if you go to the clearing and lick both frogs? What if you go to the lone frog?</p>\n</blockquote>\n\n\n\n<p class=\"wp-block-paragraph\">The second question is relatively easy: if we assume that you are equally likely to see a male or female frog, the probability is 50% that the lone frog is female.</p>\n\n\n\n<p class=\"wp-block-paragraph\">The first question depends on how we interpret the puzzle. In particular, it hinges on the word “distinctive” – does that mean:</p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Only male frogs croak, and the sound is distinguishable from background noises, or</li>\n\n\n\n<li>Both male and female frogs croak, but the male croak is distinguishable from the female croak.</li>\n</ul>\n\n\n\n<p class=\"wp-block-paragraph\">Based on the answer presented in the video, the first meaning is intended. So we’ll start by solving that version.</p>\n\n\n\n<p class=\"wp-block-paragraph\">But the second meaning makes the problem a little harder, so we’ll solve that one, too.</p>\n\n\n\n<h2 class=\"wp-block-heading\">Only Male Frogs Croak</h2>\n\n\n\n<p class=\"wp-block-paragraph\">To solve the intended version of the puzzle, we’ll assume</p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Only male frogs croak, and</li>\n\n\n\n<li>When two frogs appear together, their sexes are independent.</li>\n</ul>\n\n\n\n<p class=\"wp-block-paragraph\">So we’ll start with a prior where all two-frog combinations are equally likely.</p>\n\n\n\n<pre class=\"wp-block-preformatted\">from sympy import Rational\n\nhypo = ['FF', 'FM', 'MF', 'MM']\nprior = Rational(1)\n</pre>\n\n\n\n<p class=\"wp-block-paragraph\">Now let’s think about the likelihood of the data under each scenario. In the video, the solution is based on these assumptions:</p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>If both frogs are female, the probability of hearing the male croak is 0.</li>\n\n\n\n<li>If either frog is male, the probability that one of them croaks is 1.</li>\n</ul>\n\n\n\n<pre class=\"wp-block-preformatted\">likelihood = [0, 1, 1, 1]\n</pre>\n\n\n\n<p class=\"wp-block-paragraph\">I’ll use a <code>BayesTable</code> to compute the posterior probability for each scenario.</p>\n\n\n\n<pre class=\"wp-block-preformatted\">import pandas as pd\nimport numpy as np\n\nclass BayesTable(pd.DataFrame):\n    def __init__(self, hypo, prior=1, **options):\n        columns = ['prior', 'likelihood', 'unnorm', 'posterior']\n        super().__init__(index=hypo, columns=columns, **options)\n        self.prior = prior\n    \n    def update(self, likelihood):\n        self.likelihood = likelihood\n        self.unnorm = self.prior * self.likelihood\n        nc = self.unnorm.sum()\n        self.posterior = self.unnorm / nc\n</pre>\n\n\n\n<pre class=\"wp-block-preformatted\">table = BayesTable(hypo, prior)\ntable.update(likelihood)\ntable\n</pre>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th></th><th>prior</th><th>likelihood</th><th>unnorm</th><th>posterior</th></tr></thead><tbody><tr><th>FF</th><td>1</td><td>0</td><td>0</td><td>0</td></tr><tr><th>FM</th><td>1</td><td>1</td><td>1</td><td>1/3</td></tr><tr><th>MF</th><td>1</td><td>1</td><td>1</td><td>1/3</td></tr><tr><th>MM</th><td>1</td><td>1</td><td>1</td><td>1/3</td></tr></tbody></table></figure>\n\n\n\n<p class=\"wp-block-paragraph\">From the table, we can extract the posterior probability that both frogs are male.</p>\n\n\n\n<pre class=\"wp-block-preformatted\">from sympy import init_printing\ninit_printing(use_latex=False)\n</pre>\n\n\n\n<pre class=\"wp-block-preformatted\">table.posterior['MM']\n</pre>\n\n\n\n<pre class=\"wp-block-preformatted\">1/3\n</pre>\n\n\n\n<p class=\"wp-block-paragraph\">With these assumptions, the probability 1/3 that both frogs are male (and you die), so the probability is 2/3 that at least one is female (and you live).</p>\n\n\n\n<p class=\"wp-block-paragraph\">And that’s the answer in the video.</p>\n\n\n\n<h2 class=\"wp-block-heading\">Poisson (not Poison) Frogs</h2>\n\n\n\n<p class=\"wp-block-paragraph\">But is that the right likelihood? Suppose frogs are equally likely to croak at any instant in time, so their croaks follow a Poisson process. If we assume that these croaking processes are independent, two frogs would be more likely to croak, during a given interval, than one.</p>\n\n\n\n<p class=\"wp-block-paragraph\">If the interval is much longer than the average time between croaks, the probability that either frog croaks approaches 1, which is consistent with the previous solution.</p>\n\n\n\n<p class=\"wp-block-paragraph\">But if the interval is short – as it might be if you were deciding whether to approach the first frog – the probability of hearing a croak would be double if there are two male frogs rather than one.</p>\n\n\n\n<p class=\"wp-block-paragraph\">In that case, the likelihood of the data would be:</p>\n\n\n\n<pre class=\"wp-block-preformatted\">half = Rational(1, 2)\nlikelihood = [0, half, half, 1]\n</pre>\n\n\n\n<p class=\"wp-block-paragraph\">And here are the posterior probabilities:</p>\n\n\n\n<pre class=\"wp-block-preformatted\">table = BayesTable(hypo, prior)\ntable.update(likelihood)\ntable\n</pre>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th></th><th>prior</th><th>likelihood</th><th>unnorm</th><th>posterior</th></tr></thead><tbody><tr><th>FF</th><td>1</td><td>0</td><td>0</td><td>0</td></tr><tr><th>FM</th><td>1</td><td>1/2</td><td>1/2</td><td>1/4</td></tr><tr><th>MF</th><td>1</td><td>1/2</td><td>1/2</td><td>1/4</td></tr><tr><th>MM</th><td>1</td><td>1</td><td>1</td><td>1/2</td></tr></tbody></table></figure>\n\n\n\n<p class=\"wp-block-paragraph\">With Poisson frogs and a short interval, the probability of two male frogs is 1/2, so it doesn’t matter whether you approach the lone frog or the pair of frogs.</p>\n\n\n\n<h2 class=\"wp-block-heading\">Female Frogs Croak, Too</h2>\n\n\n\n<p class=\"wp-block-paragraph\">Now let’s think about the other interpretation of the puzzle: suppose both male and female frogs croak, but we can distinguish one from the other. And suppose male and female frogs croak at different rates, but they are still independent.</p>\n\n\n\n<p class=\"wp-block-paragraph\">Assume that male frogs croak at a rate of 1 per time unit, and female frogs at a rate of <code>r</code> per time unit. In that case, if we start listening at a random time, the probability that we hear a male frog first is <code>1 / (r+1)</code> if there’s only one male frog, and <code>1</code> if there are two male frogs.</p>\n\n\n\n<p class=\"wp-block-paragraph\">So the likelihood in this case is:</p>\n\n\n\n<pre class=\"wp-block-preformatted\">from sympy import symbols\n\nr = symbols('r')\nlikelihood = [0, 1 / (r+1), 1 / (r+1), 1]\n</pre>\n\n\n\n<p class=\"wp-block-paragraph\">And here are the posteriors</p>\n\n\n\n<pre class=\"wp-block-preformatted\">table = BayesTable(hypo, prior)\ntable.update(likelihood)\ntable\n</pre>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th></th><th>prior</th><th>likelihood</th><th>unnorm</th><th>posterior</th></tr></thead><tbody><tr><th>FF</th><td>1</td><td>0</td><td>0</td><td>0</td></tr><tr><th>FM</th><td>1</td><td>1/(r + 1)</td><td>1/(r + 1)</td><td>1/((1 + 2/(r + 1))*(r + 1))</td></tr><tr><th>MF</th><td>1</td><td>1/(r + 1)</td><td>1/(r + 1)</td><td>1/((1 + 2/(r + 1))*(r + 1))</td></tr><tr><th>MM</th><td>1</td><td>1</td><td>1</td><td>1/(1 + 2/(r + 1))</td></tr></tbody></table></figure>\n\n\n\n<p class=\"wp-block-paragraph\">In this scenario, here’s the probability you die.</p>\n\n\n\n<pre class=\"wp-block-preformatted\">prob_die = table.posterior['MM']\nprob_die.simplify()\n</pre>\n\n\n\n<pre class=\"wp-block-preformatted\">r + 1\n─────\nr + 3\n</pre>\n\n\n\n<p class=\"wp-block-paragraph\">If female frogs don’t croak, we get the same answer as in the first scenario.</p>\n\n\n\n<pre class=\"wp-block-preformatted\">prob_die.subs({r: 0})\n</pre>\n\n\n\n<pre class=\"wp-block-preformatted\">1/3\n</pre>\n\n\n\n<p class=\"wp-block-paragraph\">If male and female frogs croak at the same rate, the probability that both frogs are male is 1/2.</p>\n\n\n\n<pre class=\"wp-block-preformatted\">prob_die.subs({r: 1})\n</pre>\n\n\n\n<pre class=\"wp-block-preformatted\">1/2\n</pre>\n\n\n\n<p class=\"wp-block-paragraph\">But if female frogs croak much more often, the fact that a male croaked first is strong evidence that both are male, so the posterior probability is close to 1.</p>\n\n\n\n<pre class=\"wp-block-preformatted\">prob_die.subs({r: 1000}).evalf()\n</pre>\n\n\n\n<pre class=\"wp-block-preformatted\">0.998005982053839\n</pre>\n\n\n\n<h2 class=\"wp-block-heading\">Assortative Mating</h2>\n\n\n\n<p class=\"wp-block-paragraph\">Now suppose that when we see two frogs together, their sexes are not independent; specifically, let’s assume that the probability of a same-sex pair is <code>p</code>, so the probability of a mixed-sex pair is <code>1-p</code>. In this scenario, the priors (before we hear the croak) are not equal.</p>\n\n\n\n<pre class=\"wp-block-preformatted\">p = symbols('p')\nprior = [p, 1-p, 1-p, p]\n</pre>\n\n\n\n<p class=\"wp-block-paragraph\">Here are the posterior probabilities, assuming again that both male and female frogs, possibly at different rates.</p>\n\n\n\n<pre class=\"wp-block-preformatted\">likelihood = [0, 1 / (r+1), 1 / (r+1), 1]\ntable = BayesTable(hypo, prior)\ntable.update(likelihood)\ntable\n</pre>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th></th><th>prior</th><th>likelihood</th><th>unnorm</th><th>posterior</th></tr></thead><tbody><tr><th>FF</th><td>p</td><td>0</td><td>0</td><td>0</td></tr><tr><th>FM</th><td>1 – p</td><td>1/(r + 1)</td><td>(1 – p)/(r + 1)</td><td>(1 – p)/((p + 2*(1 – p)/(r + 1))*(r + 1))</td></tr><tr><th>MF</th><td>1 – p</td><td>1/(r + 1)</td><td>(1 – p)/(r + 1)</td><td>(1 – p)/((p + 2*(1 – p)/(r + 1))*(r + 1))</td></tr><tr><th>MM</th><td>p</td><td>1</td><td>p</td><td>p/(p + 2*(1 – p)/(r + 1))</td></tr></tbody></table></figure>\n\n\n\n<pre class=\"wp-block-preformatted\">table.posterior['MM'].simplify()\n</pre>\n\n\n\n<pre class=\"wp-block-preformatted\"> p⋅(r + 1) \n───────────\np⋅r - p + 2\n</pre>\n\n\n\n<p class=\"wp-block-paragraph\">If <code>p=1/2</code>, this simplifies to the previous scenario.</p>\n\n\n\n<pre class=\"wp-block-preformatted\">table.posterior['MM'].subs({p: half}).simplify()\n</pre>\n\n\n\n<pre class=\"wp-block-preformatted\">r + 1\n─────\nr + 3\n</pre>\n\n\n\n<p class=\"wp-block-paragraph\">And if <code>r=0</code> (female frogs don’t croak), we get the answer presented in the video.</p>\n\n\n\n<pre class=\"wp-block-preformatted\">table.posterior['MM'].subs({p: half, r: 0}).simplify()\n</pre>\n\n\n\n<pre class=\"wp-block-preformatted\">1/3\n</pre>\n\n\n\n<p class=\"wp-block-paragraph\">But depending on the assumptions, the probability can be as low as <code>0</code></p>\n\n\n\n<pre class=\"wp-block-preformatted\">table.posterior['MM'].subs({p: 0, r: 1}).simplify()\n</pre>\n\n\n\n<pre class=\"wp-block-preformatted\">0\n</pre>\n\n\n\n<p class=\"wp-block-paragraph\">Or as high as <code>1</code>.</p>\n\n\n\n<pre class=\"wp-block-preformatted\">table.posterior['MM'].subs({p: 1, r: 0}).simplify()\n</pre>\n\n\n\n<pre class=\"wp-block-preformatted\">1\n</pre>\n\n\n\n<p class=\"wp-block-paragraph\">Or anything in between. As is often the case with problems like these, the answer depends on a precise specification of the data-generating process.</p>\n\n\n\n<h2 class=\"wp-block-heading\">Discussion</h2>\n\n\n\n<p class=\"wp-block-paragraph\">If all of this seems like more trouble than it’s worth, let me suggest a metacognitive shortcut for solving puzzles like this.</p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Notice that in all probability puzzles, the answer is either 1/2 or 1/3.</li>\n\n\n\n<li>Also, the answer is always counterintuitive; otherwise it wouldn’t be a puzzle.</li>\n\n\n\n<li>Therefore, if your intuition says the answer is 1/2, it’s actually 1/3, and vice versa.</li>\n</ol>\n\n\n\n<p class=\"wp-block-paragraph\">That might save you some time.</p>\n\n\n\n<p class=\"wp-block-paragraph\">This notebook uses methods and materials from <em>Think Bayes</em>, second edition. If you like this sort of thing, you can read the whole book, and more examples, at <a href=\"https://allendowney.github.io/ThinkBayes2/\">allendowney.github.io/ThinkBayes2/</a>.</p>\n\n\n\n<p class=\"wp-block-paragraph\"><br><br></p>\n\n\n\n<p class=\"wp-block-paragraph\"></p>\n<p>The post <a href=\"https://www.allendowney.com/blog/2026/06/04/the-frog-puzzle/\">The Frog Puzzle</a> appeared first on <a href=\"https://www.allendowney.com/blog\">Probably Overthinking It</a>.</p>",
      "image": null,
      "media": [],
      "authors": [
        {
          "name": "AllenDowney",
          "email": null,
          "url": null
        }
      ],
      "categories": [
        {
          "label": "Uncategorized",
          "term": "Uncategorized",
          "url": null
        },
        {
          "label": "Bayes's Theorem",
          "term": "Bayes's Theorem",
          "url": null
        },
        {
          "label": "Frog Puzzle",
          "term": "Frog Puzzle",
          "url": null
        },
        {
          "label": "probability",
          "term": "probability",
          "url": null
        }
      ]
    },
    {
      "id": "https://www.allendowney.com/blog/?p=1818",
      "title": "Sexual morality",
      "description": "<p>This article is one of a series looking at changes in public opinion over the last 50 years, with a focus on culture war topics. In this installment, we’ll look at responses to four questions in the General Social Survey (GSS) related to sexual activity: As we’ll see, answers to these questions have diverged in the last 50 years. A large majority answer that extramarital and teen sex are wrong, and that has barely changed (although opposition). At the same...</p>\n<p class=\"read-more\"><a class=\"btn btn-default\" href=\"https://www.allendowney.com/blog/2026/05/28/sexual-morality/\"> Read More<span class=\"screen-reader-text\">  Read More</span></a></p>\n<p>The post <a href=\"https://www.allendowney.com/blog/2026/05/28/sexual-morality/\">Sexual morality</a> appeared first on <a href=\"https://www.allendowney.com/blog\">Probably Overthinking It</a>.</p>",
      "url": "https://www.allendowney.com/blog/2026/05/28/sexual-morality/",
      "published": "2026-05-28T18:21:52.000Z",
      "updated": "2026-05-28T18:21:52.000Z",
      "content": "<p class=\"wp-block-paragraph\">This article is one of a series looking at changes in public opinion over the last 50 years, with a focus on culture war topics. In this installment, we’ll look at responses to four questions in the General Social Survey (GSS) related to sexual activity:</p>\n\n\n\n<ol start=\"1\" class=\"wp-block-list\">\n<li><strong>Premarital sex</strong> (<code>premarsx</code>): <em>There’s been a lot of discussion about the way morals and attitudes about sex are changing in this country. If a man and woman have sex relations before marriage, do you think it is always wrong, almost always wrong, wrong only sometimes, or not wrong at all?</em></li>\n\n\n\n<li><strong>Teen premarital sex</strong> (<code>teensex</code>): <em>What if they are in their early teens, say 14 to 16 years old? In that case, do you think sex relations before marriage are always wrong, almost always wrong, wrong only sometimes, or not wrong at all?</em></li>\n\n\n\n<li><strong>Extramarital sex</strong> (<code>xmarsex</code>): <em>What is your opinion about a married person having sexual relations with someone other than the marriage partner—is it always wrong, almost always wrong, wrong only sometimes, or not wrong at all?</em></li>\n\n\n\n<li><strong>Same-sex relations</strong> (<code>homosex</code>): <em>What about sexual relations between two adults of the same sex—do you think it is always wrong, almost always wrong, wrong only sometimes, or not wrong at all?</em></li>\n</ol>\n\n\n\n<p class=\"wp-block-paragraph\">As we’ll see, answers to these questions have diverged in the last 50 years. A large majority answer that extramarital and teen sex are wrong, and that has barely changed (although opposition). At the same time, opposition to premarital sex and same-sex relations has declined substantially.</p>\n\n\n\n<p class=\"wp-block-paragraph\">In this article, we’ll look at these trends and decompose them into cohort and period effects. In the next article, we’ll look at the relationship between these responses and religion, both affiliation and attendance.</p>\n\n\n\n<p class=\"wp-block-paragraph\">We’ll start with the first question, on premarital sex.</p>\n\n\n\n<h2 class=\"wp-block-heading\">Premarital sex</h2>\n\n\n\n<p class=\"wp-block-paragraph\">The following figure shows the percentage of respondents saying premarital sex is always or almost always wrong, from 1972 to 2024. The shaded area shows the results from a Bayesian model that estimates the latent trend — that is, a slowly varying underlying level of opposition to premarital sex.</p>\n\n\n\n<figure class=\"wp-block-image\" id=\"premarsx-time-model\"><img loading=\"lazy\" decoding=\"async\" width=\"1145\" height=\"826\" src=\"https://www.allendowney.com/blog/wp-content/uploads/2026/05/time_model_premarsx_-92782a5d81ed3c322ce3a3b74a1a1525.png\" alt=\"Time series national trend: percent saying premarital sex is always or almost always wrong (premarsx).\" class=\"wp-image-1820\" srcset=\"https://www.allendowney.com/blog/wp-content/uploads/2026/05/time_model_premarsx_-92782a5d81ed3c322ce3a3b74a1a1525.png 1145w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/time_model_premarsx_-92782a5d81ed3c322ce3a3b74a1a1525-300x216.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/time_model_premarsx_-92782a5d81ed3c322ce3a3b74a1a1525-1024x739.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/time_model_premarsx_-92782a5d81ed3c322ce3a3b74a1a1525-768x554.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/time_model_premarsx_-92782a5d81ed3c322ce3a3b74a1a1525-374x270.png 374w\" sizes=\"auto, (max-width: 1145px) 100vw, 1145px\" /></figure>\n\n\n\n<p class=\"wp-block-paragraph\">Opposition to premarital sex has declined since 1972, from about 47% to about 20%.</p>\n\n\n\n<p class=\"wp-block-paragraph\">As always, when we see this kind of change over time, it might be caused by cohort or period effects, or a combination of the two. Using a Bayesian model, I estimate a cohort effect for each birth year and a period effect for each survey year. The following figure shows the resulting trajectory for each cohort over time.</p>\n\n\n\n<figure class=\"wp-block-image\" id=\"premarsx-cohort-trajectories\"><img loading=\"lazy\" decoding=\"async\" width=\"1330\" height=\"773\" src=\"https://www.allendowney.com/blog/wp-content/uploads/2026/05/cohort_trajectory_pr-795031a5150bdfce6ad7635df8bae9d3.png\" alt=\"Cohort trajectories: percent always or almost always wrong (premarsx), one line per birth year.\" class=\"wp-image-1826\" srcset=\"https://www.allendowney.com/blog/wp-content/uploads/2026/05/cohort_trajectory_pr-795031a5150bdfce6ad7635df8bae9d3.png 1330w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/cohort_trajectory_pr-795031a5150bdfce6ad7635df8bae9d3-300x174.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/cohort_trajectory_pr-795031a5150bdfce6ad7635df8bae9d3-1024x595.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/cohort_trajectory_pr-795031a5150bdfce6ad7635df8bae9d3-768x446.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/cohort_trajectory_pr-795031a5150bdfce6ad7635df8bae9d3-465x270.png 465w\" sizes=\"auto, (max-width: 1330px) 100vw, 1330px\" /></figure>\n\n\n\n<p class=\"wp-block-paragraph\">Each line represents a single birth year. For example, the yellow line at the top shows the fitted trajectory for people born in 1900, who were 72 when the survey started in 1972 and 90 when they aged out in 1990. The blue line in the bottom right shows responses of people born in 2000, who became eligible to participate in the survey when they turned 18 in 2018.</p>\n\n\n\n<p class=\"wp-block-paragraph\">One pattern is clear: each cohort is less likely than the previous cohort to say that premarital sex is wrong. Among people born in 1900, it was more than 70%. Among people born in the 2000s, it is close to 10%. So that’s a big difference.</p>\n\n\n\n<p class=\"wp-block-paragraph\">From these results, we can estimate the cohort and period effects separately. The following figure shows the cohort effect, standardized to control for the period effect by simulating responses as if every cohort was interviewed during every iteration of the survey.</p>\n\n\n\n<figure class=\"wp-block-image\" id=\"premarsx-cohort-standardized\"><img loading=\"lazy\" decoding=\"async\" width=\"1145\" height=\"826\" src=\"https://www.allendowney.com/blog/wp-content/uploads/2026/05/cohort_standardized_-2ddcc0ce51962fa548b8944732f56f2c.png\" alt=\"Standardized cohort component with uniform weights on observed survey years (premarsx).\" class=\"wp-image-1821\" srcset=\"https://www.allendowney.com/blog/wp-content/uploads/2026/05/cohort_standardized_-2ddcc0ce51962fa548b8944732f56f2c.png 1145w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/cohort_standardized_-2ddcc0ce51962fa548b8944732f56f2c-300x216.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/cohort_standardized_-2ddcc0ce51962fa548b8944732f56f2c-1024x739.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/cohort_standardized_-2ddcc0ce51962fa548b8944732f56f2c-768x554.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/cohort_standardized_-2ddcc0ce51962fa548b8944732f56f2c-374x270.png 374w\" sizes=\"auto, (max-width: 1145px) 100vw, 1145px\" /></figure>\n\n\n\n<p class=\"wp-block-paragraph\">The decline was steepest between the cohorts born in 1900 and 1950. After that, it leveled off, then declined again among the cohorts born in the 1980s.</p>\n\n\n\n<p class=\"wp-block-paragraph\">Now we can estimate the period effect, standardized to control for the cohort effect, shown in the following figure.</p>\n\n\n\n<figure class=\"wp-block-image\" id=\"premarsx-period-standardized\"><img loading=\"lazy\" decoding=\"async\" width=\"1145\" height=\"826\" src=\"https://www.allendowney.com/blog/wp-content/uploads/2026/05/time_standardized_pr-3ad2679bfedff58845cbd5c8219ec152.png\" alt=\"Standardized period component with fixed cohort mix (premarsx).\" class=\"wp-image-1822\" srcset=\"https://www.allendowney.com/blog/wp-content/uploads/2026/05/time_standardized_pr-3ad2679bfedff58845cbd5c8219ec152.png 1145w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/time_standardized_pr-3ad2679bfedff58845cbd5c8219ec152-300x216.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/time_standardized_pr-3ad2679bfedff58845cbd5c8219ec152-1024x739.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/time_standardized_pr-3ad2679bfedff58845cbd5c8219ec152-768x554.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/time_standardized_pr-3ad2679bfedff58845cbd5c8219ec152-374x270.png 374w\" sizes=\"auto, (max-width: 1145px) 100vw, 1145px\" /></figure>\n\n\n\n<p class=\"wp-block-paragraph\">The period effect is smaller than the cohort effect — about 8 percentage points from peak to trough — and less consistent. Opposition to premarital sex increased between 1980 and 2000, which coincides with increasing awareness of AIDS and public messaging about sexual risk, as well as the rise of the Religious Right and “family values” politics.</p>\n\n\n\n<p class=\"wp-block-paragraph\">But before I speculate about the causes of these patterns, it will be useful to look at the responses to the other questions.</p>\n\n\n\n<h2 class=\"wp-block-heading\">When is sex wrong?</h2>\n\n\n\n<p class=\"wp-block-paragraph\">The following figure shows the estimated percentage who think sex is wrong (always or almost always) in each of the four scenarios: premarital, teen, extramarital, and same-sex.</p>\n\n\n\n<figure class=\"wp-block-image\" id=\"sex-wrongness-composite-time-model\"><img loading=\"lazy\" decoding=\"async\" width=\"1145\" height=\"766\" src=\"https://www.allendowney.com/blog/wp-content/uploads/2026/05/section1a_sex_wrongn-80473854b8315d2c65a20e45ee21992c.png\" alt=\"Composite overlay: sexual-behavior wrongness scale — national time-series model (four items).\" class=\"wp-image-1824\" srcset=\"https://www.allendowney.com/blog/wp-content/uploads/2026/05/section1a_sex_wrongn-80473854b8315d2c65a20e45ee21992c.png 1145w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/section1a_sex_wrongn-80473854b8315d2c65a20e45ee21992c-300x201.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/section1a_sex_wrongn-80473854b8315d2c65a20e45ee21992c-1024x685.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/section1a_sex_wrongn-80473854b8315d2c65a20e45ee21992c-768x514.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/section1a_sex_wrongn-80473854b8315d2c65a20e45ee21992c-404x270.png 404w\" sizes=\"auto, (max-width: 1145px) 100vw, 1145px\" /></figure>\n\n\n\n<p class=\"wp-block-paragraph\">Reading from top to bottom:</p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Nearly everyone thinks “a married person having sexual relations with someone other than the marriage partner” is wrong, and the percentage has barely changed in more than 50 years.</li>\n\n\n\n<li>Opposition to teen sex (the question specifies ages 14-16) is nearly as high, although it has declined since 2005 by about 15 percentage points.</li>\n\n\n\n<li>Opposition to same-sex relations was high and mostly unchanged between 1972 and 1990. Since then it has decreased by almost 50 percentage points in 30 years, which is an astonishing speed for this kind of social change. Since 2020, opposition has increased a little.</li>\n\n\n\n<li>Finally, as we’ve already seen, opposition to premarital sex declined substantially since the beginning of the survey.</li>\n</ul>\n\n\n\n<p class=\"wp-block-paragraph\">For all four scenarios, we can estimate the cohort effect, controlling for the period effect, shown in the following figure.</p>\n\n\n\n<figure class=\"wp-block-image\" id=\"sex-wrongness-composite-cohort\"><img loading=\"lazy\" decoding=\"async\" width=\"1145\" height=\"766\" src=\"https://www.allendowney.com/blog/wp-content/uploads/2026/05/section1a_sex_wrongn-f61ab0124fa6ad280ce97c7fe9addcba.png\" alt=\"Composite overlay: standardized cohort component with uniform weights on observed years (four items).\" class=\"wp-image-1825\" srcset=\"https://www.allendowney.com/blog/wp-content/uploads/2026/05/section1a_sex_wrongn-f61ab0124fa6ad280ce97c7fe9addcba.png 1145w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/section1a_sex_wrongn-f61ab0124fa6ad280ce97c7fe9addcba-300x201.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/section1a_sex_wrongn-f61ab0124fa6ad280ce97c7fe9addcba-1024x685.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/section1a_sex_wrongn-f61ab0124fa6ad280ce97c7fe9addcba-768x514.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/section1a_sex_wrongn-f61ab0124fa6ad280ce97c7fe9addcba-404x270.png 404w\" sizes=\"auto, (max-width: 1145px) 100vw, 1145px\" /></figure>\n\n\n\n<p class=\"wp-block-paragraph\">For all four scenarios, there is a consistent downward trend in the cohort effect, modest for extramarital and teen sex, much steeper for premarital and same-sex relations.</p>\n\n\n\n<p class=\"wp-block-paragraph\">The following figure shows the period effects.</p>\n\n\n\n<figure class=\"wp-block-image\" id=\"sex-wrongness-composite-period\"><img loading=\"lazy\" decoding=\"async\" width=\"1145\" height=\"766\" src=\"https://www.allendowney.com/blog/wp-content/uploads/2026/05/section1a_sex_wrongn-f67ed5b82acbc806401f00d555e7c43e.png\" alt=\"Composite overlay: standardized period component with fixed cohort mix (four items).\" class=\"wp-image-1823\" srcset=\"https://www.allendowney.com/blog/wp-content/uploads/2026/05/section1a_sex_wrongn-f67ed5b82acbc806401f00d555e7c43e.png 1145w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/section1a_sex_wrongn-f67ed5b82acbc806401f00d555e7c43e-300x201.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/section1a_sex_wrongn-f67ed5b82acbc806401f00d555e7c43e-1024x685.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/section1a_sex_wrongn-f67ed5b82acbc806401f00d555e7c43e-768x514.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/section1a_sex_wrongn-f67ed5b82acbc806401f00d555e7c43e-404x270.png 404w\" sizes=\"auto, (max-width: 1145px) 100vw, 1145px\" /></figure>\n\n\n\n<p class=\"wp-block-paragraph\">After controlling for the cohort effects, the remaining period effects are more modest.</p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Opposition to teen sex is mostly unchanged, with some decline since 2010.</li>\n\n\n\n<li>Opposition to extramarital sex increased between 1972 and 2010, and decreased since then.</li>\n\n\n\n<li>Opposition to same-sex relations shows by far the largest period effect, increasing between 1972 and 1990, and decreasing since then — although increasing again since 2020.</li>\n\n\n\n<li>Opposition to premarital sex has increased and decreased modestly.</li>\n</ul>\n\n\n\n<p class=\"wp-block-paragraph\">In most scenarios, the cohort effect accounts for more of the observed change — but for same-sex relations, the period effect also makes a substantial contribution.</p>\n\n\n\n<h2 class=\"wp-block-heading\">Dogma, morality, and health</h2>\n\n\n\n<p class=\"wp-block-paragraph\">To make sense of these patterns, let’s think about what people might mean when they say that sex is wrong.</p>\n\n\n\n<p class=\"wp-block-paragraph\">Taking premarital sex as an example, some people consider sex outside marriage to be contrary to spiritual values or religious teachings. Others might be concerned with sexually-transmitted disease or the social consequences of children born outside of stable families.</p>\n\n\n\n<p class=\"wp-block-paragraph\">And for teens specifically, some object because they see adolescence as a period of innocence that should be protected, believe sexual activity compromises purity or chastity, or think sexual restraint reflects virtues like self-discipline and respect for social norms. Also, some might think teenagers don’t have the knowledge, experience, and impulse control to avoid health consequences of sex, especially pregnancy, or the maturity to handle emotional challenges.</p>\n\n\n\n<p class=\"wp-block-paragraph\">Similarly, some people object to same-sex relations because they see them as contrary to religious teachings, inconsistent with traditional ideas about gender and family, or incompatible with social norms about sexuality.</p>\n\n\n\n<p class=\"wp-block-paragraph\">And people might object to extramarital sex because of the emotional harm it causes, because it breaks a vow, because it threatens families and social stability, or because it violates holy matrimony.</p>\n\n\n\n<p class=\"wp-block-paragraph\">In each scenario, objections arise from different concerns: practical risks and harms, social concerns about norms and stability, and moral or religious beliefs. Looking only at multiple-choice responses, we don’t know what respondents had in mind.</p>\n\n\n\n<p class=\"wp-block-paragraph\">But the differences we see — between teen and extramarital sex on one hand, and premarital sex and same-sex relations on the other — suggest a conjecture: objections rooted in immediate harms and concrete consequences might be more stable over time; objections rooted in social norms, morality, and religion might be more historically contingent.</p>\n\n\n\n<p class=\"wp-block-paragraph\">In the next article, we’ll test this conjecture by looking at relationships between religion and attitudes about sex — and how both have changed over time.</p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https://allendowney.github.io/CultureWar//blog8-confidence\"></a><a href=\"https://allendowney.github.io/CultureWar//blog8-confidence\"></a></p>\n\n\n\n<p class=\"wp-block-paragraph\"></p>\n<p>The post <a href=\"https://www.allendowney.com/blog/2026/05/28/sexual-morality/\">Sexual morality</a> appeared first on <a href=\"https://www.allendowney.com/blog\">Probably Overthinking It</a>.</p>",
      "image": null,
      "media": [],
      "authors": [
        {
          "name": "AllenDowney",
          "email": null,
          "url": null
        }
      ],
      "categories": [
        {
          "label": "Uncategorized",
          "term": "Uncategorized",
          "url": null
        },
        {
          "label": "age period cohort analysis",
          "term": "age period cohort analysis",
          "url": null
        },
        {
          "label": "bayesian statistics",
          "term": "bayesian statistics",
          "url": null
        },
        {
          "label": "general social survey",
          "term": "general social survey",
          "url": null
        }
      ]
    },
    {
      "id": "https://www.allendowney.com/blog/?p=1803",
      "title": "Confidence in Institutions",
      "description": "<p>This article is one of a series exploring responses to core questions in the General Social Survey (GSS), estimating period and cohort effects, and looking for historical events that might explain the trends we see. Confidence in American institutions In this installment, we’ll look at 13 questions related to confidence in institutions. We’ll start with a detailed look at confidence in “the people running Congress”, and then summarize results from the other questions. The complete survey question is: I am...</p>\n<p class=\"read-more\"><a class=\"btn btn-default\" href=\"https://www.allendowney.com/blog/2026/05/19/confidence-in-institutions/\"> Read More<span class=\"screen-reader-text\">  Read More</span></a></p>\n<p>The post <a href=\"https://www.allendowney.com/blog/2026/05/19/confidence-in-institutions/\">Confidence in Institutions</a> appeared first on <a href=\"https://www.allendowney.com/blog\">Probably Overthinking It</a>.</p>",
      "url": "https://www.allendowney.com/blog/2026/05/19/confidence-in-institutions/",
      "published": "2026-05-19T15:04:04.000Z",
      "updated": "2026-05-19T15:04:04.000Z",
      "content": "<p class=\"wp-block-paragraph\">This article is one of a series exploring responses to core questions in the General Social Survey (GSS), estimating period and cohort effects, and looking for historical events that might explain the trends we see.<a href=\"https://github.com/AllenDowney/CultureWar\" target=\"_blank\" rel=\"noreferrer noopener\"></a><a href=\"https://github.com/AllenDowney/CultureWar/edit/main/jb/blog8_confidence.md\" target=\"_blank\" rel=\"noreferrer noopener\"></a></p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"confidence-in-american-institutions\">Confidence in American institutions</h2>\n\n\n\n<p class=\"wp-block-paragraph\">In this installment, we’ll look at 13 questions related to confidence in institutions. We’ll start with a detailed look at confidence in “the people running Congress”, and then summarize results from the other questions. The <a href=\"https://gssdataexplorer.norc.org/variables/459/vshow\" target=\"_blank\" rel=\"noreferrer noopener\">complete survey question</a> is:</p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\">I am going to name some institutions in this country. As far as the people running these institutions are concerned, would you say you have a great deal of confidence, only some confidence, or hardly any confidence at all in […] Congress.</p>\n</blockquote>\n\n\n\n<p class=\"wp-block-paragraph\">The following figure shows the fraction of people who answered “a great deal of confidence” or “only some confidence,” and a smooth line fitted to the raw percentages.</p>\n\n\n\n<figure class=\"wp-block-image\" id=\"conlegis-time-model\"><img loading=\"lazy\" decoding=\"async\" width=\"1145\" height=\"790\" src=\"https://www.allendowney.com/blog/wp-content/uploads/2026/05/time_model_conlegis_-e47a9b867ea68609944d3abe98446e29.png\" alt=\"Time-only model, confidence in the people running Congress.\" class=\"wp-image-1808\" srcset=\"https://www.allendowney.com/blog/wp-content/uploads/2026/05/time_model_conlegis_-e47a9b867ea68609944d3abe98446e29.png 1145w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/time_model_conlegis_-e47a9b867ea68609944d3abe98446e29-300x207.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/time_model_conlegis_-e47a9b867ea68609944d3abe98446e29-1024x707.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/time_model_conlegis_-e47a9b867ea68609944d3abe98446e29-768x530.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/time_model_conlegis_-e47a9b867ea68609944d3abe98446e29-391x270.png 391w\" sizes=\"auto, (max-width: 1145px) 100vw, 1145px\" /></figure>\n\n\n\n<p class=\"wp-block-paragraph\">The long-term trend is downward, from about 80% during the first iteration of the survey to below 50% in the most recent iterations. But there are ups and downs.</p>\n\n\n\n<p class=\"wp-block-paragraph\">It looks like confidence was increasing during the 1980s before collapsing in the early 1990s. Possible causes of the decline include:</p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The <a href=\"https://en.wikipedia.org/wiki/House_banking_scandal\" target=\"_blank\" rel=\"noreferrer noopener\">House banking scandal</a>, also known as Rubbergate, and the <a href=\"https://en.wikipedia.org/wiki/Congressional_Post_Office_scandal\" target=\"_blank\" rel=\"noreferrer noopener\">Congressional Post Office scandal</a>.</li>\n\n\n\n<li>Increased polarization and perception of dysfunction during the period when <a href=\"https://en.wikipedia.org/wiki/Newt_Gingrich#Speaker_of_the_House\" target=\"_blank\" rel=\"noreferrer noopener\">Newt Gingrich</a> was minority whip (1989-1995).</li>\n\n\n\n<li>An <a href=\"https://en.wikipedia.org/wiki/Early_1990s_recession_in_the_United_States\" target=\"_blank\" rel=\"noreferrer noopener\">economic recession</a> from 1990 into 1991.</li>\n</ul>\n\n\n\n<p class=\"wp-block-paragraph\">Confidence in Congress recovered between 1995 and 2005, and declined again between 2005 and 2015. A likely contributor is the <a href=\"https://en.wikipedia.org/wiki/Great_Recession\" target=\"_blank\" rel=\"noreferrer noopener\">Great Recession</a> from late 2007 to mid-2009.</p>\n\n\n\n<p class=\"wp-block-paragraph\">This period also saw the rise of anti-establishment politics, including the <a href=\"https://en.wikipedia.org/wiki/Tea_Party_movement\" target=\"_blank\" rel=\"noreferrer noopener\">Tea Party movement</a> and <a href=\"https://en.wikipedia.org/wiki/Ron_Paul\" target=\"_blank\" rel=\"noreferrer noopener\">Ron Paul’s</a> presidential campaign.</p>\n\n\n\n<p class=\"wp-block-paragraph\">Now we’ll decompose these changes into period and cohort effects.</p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"period-and-cohort-effects\">Period and cohort effects</h3>\n\n\n\n<p class=\"wp-block-paragraph\">Using the <a href=\"https://allendowney.github.io/CultureWar/tech-report/\" target=\"_blank\" rel=\"noreferrer noopener\">Bayesian model described here</a> we can estimate a latent “confidence in Congress” factor for each birth cohort over time. The following figure shows these estimates; each line represents a single birth year.</p>\n\n\n\n<figure class=\"wp-block-image\" id=\"conlegis-cohort-trajectories\"><img loading=\"lazy\" decoding=\"async\" width=\"1330\" height=\"778\" src=\"https://www.allendowney.com/blog/wp-content/uploads/2026/05/cohort_trajectory_co-d5cd0d30431d1f3f08bcc503ebb4d786.png\" alt=\"Cohort trajectories, percent with a great deal or only some confidence in the people running Congress.\" class=\"wp-image-1814\" srcset=\"https://www.allendowney.com/blog/wp-content/uploads/2026/05/cohort_trajectory_co-d5cd0d30431d1f3f08bcc503ebb4d786.png 1330w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/cohort_trajectory_co-d5cd0d30431d1f3f08bcc503ebb4d786-300x175.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/cohort_trajectory_co-d5cd0d30431d1f3f08bcc503ebb4d786-1024x599.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/cohort_trajectory_co-d5cd0d30431d1f3f08bcc503ebb4d786-768x449.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/cohort_trajectory_co-d5cd0d30431d1f3f08bcc503ebb4d786-462x270.png 462w\" sizes=\"auto, (max-width: 1330px) 100vw, 1330px\" /></figure>\n\n\n\n<p class=\"wp-block-paragraph\">Those results are easier to interpret if we factor out the cohort effect (keeping the mixture of survey years constant) and the period effect (keeping the mixture of cohorts constant). The following figure shows the standardized cohort effect.</p>\n\n\n\n<figure class=\"wp-block-image\" id=\"conlegis-cohort-standardized\"><img loading=\"lazy\" decoding=\"async\" width=\"1145\" height=\"790\" src=\"https://www.allendowney.com/blog/wp-content/uploads/2026/05/cohort_standardized_-aca7608b25112981c03dc33fffe90a93.png\" alt=\"Standardized cohort effect with fixed time mix, confidence in Congress.\" class=\"wp-image-1812\" srcset=\"https://www.allendowney.com/blog/wp-content/uploads/2026/05/cohort_standardized_-aca7608b25112981c03dc33fffe90a93.png 1145w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/cohort_standardized_-aca7608b25112981c03dc33fffe90a93-300x207.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/cohort_standardized_-aca7608b25112981c03dc33fffe90a93-1024x707.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/cohort_standardized_-aca7608b25112981c03dc33fffe90a93-768x530.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/cohort_standardized_-aca7608b25112981c03dc33fffe90a93-391x270.png 391w\" sizes=\"auto, (max-width: 1145px) 100vw, 1145px\" /></figure>\n\n\n\n<p class=\"wp-block-paragraph\">Among people born between 1900 and 1950, there is almost no change. Then starting with people born in the 1960s, confidence in Congress has increased consistently and substantially.</p>\n\n\n\n<p class=\"wp-block-paragraph\">To interpret this result, it is helpful to go back to the previous figure. Starting in the upper left:</p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Among people born in the 1960s and 1970s, about 80% reported confidence in Congress when they were surveyed as young adults.</li>\n\n\n\n<li>Among people born in the 1980s and 1990s, it was closer to 70%.</li>\n\n\n\n<li>And among people born in the 2000s it’s below 70%.</li>\n</ul>\n\n\n\n<p class=\"wp-block-paragraph\">The entry point of each cohort is below the entry point of previous cohorts, but because these entry points are above the declining trend of previous generations, this <em>relative</em> optimism is interpreted as an increasing cohort effect.</p>\n\n\n\n<p class=\"wp-block-paragraph\">So we should not conclude that younger generations are more confident in Congress, only that when they are first surveyed, they start out above the trajectory of previous cohorts.</p>\n\n\n\n<p class=\"wp-block-paragraph\">As a simplification, we might imagine an 18-year-old entering adulthood with a relatively idealized understanding of American government — shaped by civics classes and maybe a school trip to Washington D.C. — before later political experiences erode some of that confidence.</p>\n\n\n\n<p class=\"wp-block-paragraph\">Another possibility is that younger generations have grown up with lower expectations of government, so when they say they have “some confidence”, they might be evaluating Congress against a lower standard.</p>\n\n\n\n<p class=\"wp-block-paragraph\">The following figure shows the estimated period effect, with the mix of cohorts held constant.</p>\n\n\n\n<figure class=\"wp-block-image\" id=\"conlegis-period-standardized\"><img loading=\"lazy\" decoding=\"async\" width=\"1145\" height=\"790\" src=\"https://www.allendowney.com/blog/wp-content/uploads/2026/05/time_standardized_co-d65cdea9156d375abd801cc2826c9844.png\" alt=\"Standardized period effect with fixed cohort mix, Congress.\" class=\"wp-image-1807\" srcset=\"https://www.allendowney.com/blog/wp-content/uploads/2026/05/time_standardized_co-d65cdea9156d375abd801cc2826c9844.png 1145w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/time_standardized_co-d65cdea9156d375abd801cc2826c9844-300x207.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/time_standardized_co-d65cdea9156d375abd801cc2826c9844-1024x707.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/time_standardized_co-d65cdea9156d375abd801cc2826c9844-768x530.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/time_standardized_co-d65cdea9156d375abd801cc2826c9844-391x270.png 391w\" sizes=\"auto, (max-width: 1145px) 100vw, 1145px\" /></figure>\n\n\n\n<p class=\"wp-block-paragraph\">This decline is steeper than what we saw in the time-only model, because we have factored out the mitigating effect of relative optimism in recent generations.</p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"government-institutions\">Government Institutions</h3>\n\n\n\n<p class=\"wp-block-paragraph\">Now we’ll apply the same analysis to questions about the executive branch of the federal government, the Supreme Court, and the military (technically part of the executive branch).</p>\n\n\n\n<p class=\"wp-block-paragraph\">The following figure shows the estimated cohort effects for each of these institutions.</p>\n\n\n\n<figure class=\"wp-block-image\" id=\"cluster-gov-cohort\"><img loading=\"lazy\" decoding=\"async\" width=\"1145\" height=\"764\" src=\"https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_1_govern-7c461121f9363f4e9a2440f4a41ce384.png\" alt=\"Government and security institutions, standardized cohort component (uniform survey years).\" class=\"wp-image-1811\" srcset=\"https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_1_govern-7c461121f9363f4e9a2440f4a41ce384.png 1145w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_1_govern-7c461121f9363f4e9a2440f4a41ce384-300x200.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_1_govern-7c461121f9363f4e9a2440f4a41ce384-1024x683.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_1_govern-7c461121f9363f4e9a2440f4a41ce384-768x512.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_1_govern-7c461121f9363f4e9a2440f4a41ce384-405x270.png 405w\" sizes=\"auto, (max-width: 1145px) 100vw, 1145px\" /></figure>\n\n\n\n<p class=\"wp-block-paragraph\">And the following figure shows the period effect, after factoring out the cohort effect.</p>\n\n\n\n<figure class=\"wp-block-image\" id=\"cluster-gov-standardized-period\"><img loading=\"lazy\" decoding=\"async\" width=\"1145\" height=\"764\" src=\"https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_1_govern-b24ed098d4d8b3b779b1face8e1cd0be.png\" alt=\"Government and security institutions, standardized period component (fixed cohort mix).\" class=\"wp-image-1813\" srcset=\"https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_1_govern-b24ed098d4d8b3b779b1face8e1cd0be.png 1145w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_1_govern-b24ed098d4d8b3b779b1face8e1cd0be-300x200.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_1_govern-b24ed098d4d8b3b779b1face8e1cd0be-1024x683.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_1_govern-b24ed098d4d8b3b779b1face8e1cd0be-768x512.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_1_govern-b24ed098d4d8b3b779b1face8e1cd0be-405x270.png 405w\" sizes=\"auto, (max-width: 1145px) 100vw, 1145px\" /></figure>\n\n\n\n<p class=\"wp-block-paragraph\">The results for the executive branch are similar to the results for Congress.</p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The cohort effect is flat between people born in the 1900s and 1950s, and increasing after that.</li>\n\n\n\n<li>The period effect declines substantially and consistently — without the ups and downs of confidence in Congress.</li>\n</ul>\n\n\n\n<p class=\"wp-block-paragraph\">When respondents are asked about the “executive branch”, it’s not clear whether they think primarily about the president, federal agencies, or the federal government in general.</p>\n\n\n\n<p class=\"wp-block-paragraph\">The patterns for the military and Supreme Court are different.</p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Confidence in the military is generally high. The cohort effect declined gradually, and possibly more steeply among people born after 1980. The period effect gradually increased.</li>\n\n\n\n<li>Confidence in the Supreme Court is higher than confidence in other branches, although the period effect has dropped steeply since 2015. The cohort effect increased among people born between 1900 and 1960; among more recent generations it is gradually declining.</li>\n</ul>\n\n\n\n<p class=\"wp-block-paragraph\">Historically, the Court cultivated an image of being above politics; that perception weakened substantially in the 2010s. In March 2016, Merrick Garland was nominated to the Supreme Court after the death of Antonin Scalia. The Republican majority in the Senate refused to hold a hearing or vote on his nomination. The seat remained empty until Donald Trump nominated, and the Senate confirmed, Neil Gorsuch, who is considered to be more conservative. To many liberals, the Senate’s 293-day blockade undermined the legitimacy of the Court.</p>\n\n\n\n<p class=\"wp-block-paragraph\">Then when Ruth Bader Ginsburg died in September 2020, Donald Trump nominated Amy Coney Barrett and the Senate confirmed her 8 days before the 2020 presidential election, in a process criticized by Democratic leaders as illegitimate.</p>\n\n\n\n<p class=\"wp-block-paragraph\">These appointments, along with the confirmation of Brett Kavanaugh in 2018, shifted the composition of the Court toward conservatives, forming what is now described as a 6-3 supermajority of conservative justices.</p>\n\n\n\n<p class=\"wp-block-paragraph\">Since then, the Supreme Court has issued several decisions contrary to majority public opinion, most notably the 2022 decision overturning <em>Roe v. Wade</em>. Other unpopular decisions weakened gun control and limited federal regulatory authority, especially over environmental policy. Many of these decisions have been perceived, especially on the left, to be motivated by politics rather than constitutional principles and precedent.</p>\n\n\n\n<p class=\"wp-block-paragraph\">The slope of the cohort effect might reflect a generational change in associations with the Supreme Court. Older cohorts may associate the Supreme Court with landmark decisions like Brown v. Board of Education and the expansion of civil rights. Younger cohorts may instead associate it with partisan conflict, blocked reforms, and ideological polarization. Older generations might also have been more deferential toward the institution itself. Younger generations, exposed to more adversarial and partisan media coverage, might be less inclined to deference.</p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"economic-institutions\">Economic institutions</h3>\n\n\n\n<p class=\"wp-block-paragraph\">The following figures show the cohort and period effects for confidence in economic institutions: banks, major companies, and organized labor.</p>\n\n\n\n<figure class=\"wp-block-image\" id=\"cluster-econ-cohort\"><img loading=\"lazy\" decoding=\"async\" width=\"1145\" height=\"764\" src=\"https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_2_econom-b4cf1eea3eb5290377d151bac981fdaf.png\" alt=\"Economic institutions, standardized cohort component.\" class=\"wp-image-1809\" srcset=\"https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_2_econom-b4cf1eea3eb5290377d151bac981fdaf.png 1145w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_2_econom-b4cf1eea3eb5290377d151bac981fdaf-300x200.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_2_econom-b4cf1eea3eb5290377d151bac981fdaf-1024x683.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_2_econom-b4cf1eea3eb5290377d151bac981fdaf-768x512.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_2_econom-b4cf1eea3eb5290377d151bac981fdaf-405x270.png 405w\" sizes=\"auto, (max-width: 1145px) 100vw, 1145px\" /></figure>\n\n\n\n<p class=\"wp-block-paragraph\"></p>\n\n\n\n<figure class=\"wp-block-image\" id=\"cluster-econ-standardized-period\"><img loading=\"lazy\" decoding=\"async\" width=\"1145\" height=\"764\" src=\"https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_2_econom-76a4be0f163f28d139a677ac90cfd0e5.png\" alt=\"Economic institutions, standardized period component.\" class=\"wp-image-1806\" srcset=\"https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_2_econom-76a4be0f163f28d139a677ac90cfd0e5.png 1145w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_2_econom-76a4be0f163f28d139a677ac90cfd0e5-300x200.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_2_econom-76a4be0f163f28d139a677ac90cfd0e5-1024x683.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_2_econom-76a4be0f163f28d139a677ac90cfd0e5-768x512.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_2_econom-76a4be0f163f28d139a677ac90cfd0e5-405x270.png 405w\" sizes=\"auto, (max-width: 1145px) 100vw, 1145px\" /></figure>\n\n\n\n<p class=\"wp-block-paragraph\">Confidence in these institutions is generally high. Looking at the cohort effects, the most salient feature is increased confidence in organized labor among people born after 1940.</p>\n\n\n\n<p class=\"wp-block-paragraph\">A possible explanation is that younger cohorts have less exposure to organized labor. Older generations were more likely to be affected by strikes and related economic disruption, and more likely to be aware of corruption in labor unions. As union membership has declined and the gig economy has expanded, younger cohorts are less aware of the negative aspects of organized labor, including dues, and more likely to perceive their lack of negotiating power in the labor market. Also, anti-labor ideology has declined since the end of the Cold War, as the framing has shifted from “labor versus management” to “workers versus corporations”.</p>\n\n\n\n<p class=\"wp-block-paragraph\">By comparison with the cohort effects, the period effects are modest:</p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The period effect on organized labor is almost unchanged since the 1980s — the change we see over time is almost entirely due to generational replacement.</li>\n\n\n\n<li>The period effect on confidence in major companies has declined somewhat.</li>\n\n\n\n<li>The trend for banks and financial institutions is more complicated — arguably driven by shorter-term period effects like scandals and financial crises. The first notable downturn, in the 1980s, coincides with the <a href=\"https://en.wikipedia.org/wiki/Savings_and_loan_crisis\" target=\"_blank\" rel=\"noreferrer noopener\">savings and loan crisis</a>, when hundreds of financial institutions failed and taxpayers absorbed large bailout costs, followed by an <a href=\"https://en.wikipedia.org/wiki/Early_1990s_recession_in_the_United_States\" target=\"_blank\" rel=\"noreferrer noopener\">economic recession</a> from 1990 into 1991. The larger downturn around 2008 coincides with the <a href=\"https://en.wikipedia.org/wiki/2008_financial_crisis\" target=\"_blank\" rel=\"noreferrer noopener\">2008 global financial crisis</a>, when taxpayers were hit with even larger bailout costs, and public anger at “private gains, public losses” came to a focus in the <a href=\"https://en.wikipedia.org/wiki/Occupy_Wall_Street\" target=\"_blank\" rel=\"noreferrer noopener\">Occupy Wall Street protests</a>.</li>\n</ul>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"professions-knowledge-and-religion\">Professions, knowledge, and religion</h3>\n\n\n\n<p class=\"wp-block-paragraph\">The following figures show estimated cohort and period effects for confidence in education, medicine, the scientific community, and organized religion.</p>\n\n\n\n<figure class=\"wp-block-image\" id=\"cluster-prof-cohort\"><img loading=\"lazy\" decoding=\"async\" width=\"1145\" height=\"764\" src=\"https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_3_profes-14bdbff63efcff6380045908aa3157ab.png\" alt=\"Professions and knowledge institutions, standardized cohort component.\" class=\"wp-image-1816\" srcset=\"https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_3_profes-14bdbff63efcff6380045908aa3157ab.png 1145w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_3_profes-14bdbff63efcff6380045908aa3157ab-300x200.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_3_profes-14bdbff63efcff6380045908aa3157ab-1024x683.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_3_profes-14bdbff63efcff6380045908aa3157ab-768x512.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_3_profes-14bdbff63efcff6380045908aa3157ab-405x270.png 405w\" sizes=\"auto, (max-width: 1145px) 100vw, 1145px\" /></figure>\n\n\n\n<p class=\"wp-block-paragraph\"></p>\n\n\n\n<figure class=\"wp-block-image\" id=\"cluster-prof-standardized-period\"><img loading=\"lazy\" decoding=\"async\" width=\"1145\" height=\"764\" src=\"https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_3_profes-f5418c000cfe9c18849ed481e1182500.png\" alt=\"Professions and knowledge institutions, standardized period component.\" class=\"wp-image-1805\" srcset=\"https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_3_profes-f5418c000cfe9c18849ed481e1182500.png 1145w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_3_profes-f5418c000cfe9c18849ed481e1182500-300x200.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_3_profes-f5418c000cfe9c18849ed481e1182500-1024x683.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_3_profes-f5418c000cfe9c18849ed481e1182500-768x512.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_3_profes-f5418c000cfe9c18849ed481e1182500-405x270.png 405w\" sizes=\"auto, (max-width: 1145px) 100vw, 1145px\" /></figure>\n\n\n\n<p class=\"wp-block-paragraph\">Confidence in these institutions is highest for science and medicine, lower for education and religion.</p>\n\n\n\n<p class=\"wp-block-paragraph\">Looking at the period effects, they are all in decline. Confidence in education declined most steeply; confidence in the scientific community is relatively stable, although it declines after 2020.</p>\n\n\n\n<p class=\"wp-block-paragraph\">Thinking about confidence in education, it might be useful to separate colleges and universities from K-12 schools.</p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>In higher education, the decline might be due to increasing tuition and student debt, credential inflation, and increasing uncertainty about the economic return on a college degree, especially among majors in the arts and humanities. More recently, confidence in universities has decreased steeply, especially among conservatives, due to the perception of ideological bias.</li>\n\n\n\n<li>In K-12 education, declining confidence might be related to anxiety about standardized testing, international competition, and especially around the <a href=\"https://en.wikipedia.org/wiki/No_Child_Left_Behind_Act\" target=\"_blank\" rel=\"noreferrer noopener\">No Child Left Behind Act</a> in 2001, the framing of public schools as underperforming institutions requiring accountability reforms and federal intervention. Also, public schools have increasingly become focal points for political conflicts about curriculum, race, gender, religion, and parental authority.</li>\n</ul>\n\n\n\n<p class=\"wp-block-paragraph\">Most of the cohort effects have increased modestly; in particular confidence in education is higher among people born after 1980, compared to previous generations observed at the same time. But for these institutions, the interaction of the period and cohort effect is similar to what we saw for Congress — it’s not that recent generations have <em>more</em> confidence, it’s just that when they are surveyed as young adults, they come in at entry points above the declining trend of previous generations.</p>\n\n\n\n<p class=\"wp-block-paragraph\">Confidence in organized religion is the exception — the period and cohort effects both trend downward, so the decline is additive. A likely contributor to the period effect is growing public awareness of <a href=\"https://en.wikipedia.org/wiki/Catholic_Church_sex_abuse_cases_in_the_United_States\" target=\"_blank\" rel=\"noreferrer noopener\">sexual abuse and institutional coverups in the Catholic Church</a>, which received national attention beginning in the 1980s, escalated after the <a href=\"https://en.wikipedia.org/wiki/Sexual_abuse_scandal_in_the_Archdiocese_of_Boston\" target=\"_blank\" rel=\"noreferrer noopener\">Boston Globe investigations</a> published in 2002, and continues to the present with additional revelations in the United States and other countries. But the decline is not limited to the Catholic Church, and it began before these scandals were widely known.</p>\n\n\n\n<p class=\"wp-block-paragraph\">The cohort effect likely reflects broader secularization trends, including declining religious affiliation, lower church attendance, and weakening institutional authority among younger generations.</p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"media\">Media</h3>\n\n\n\n<p class=\"wp-block-paragraph\">Finally, the following figures show estimated cohort and period effects for confidence in television and the press.</p>\n\n\n\n<figure class=\"wp-block-image\" id=\"cluster-media-cohort\"><img loading=\"lazy\" decoding=\"async\" width=\"1145\" height=\"764\" src=\"https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_4_media_-8bf3f75d17ac4f1f8991025f1051ce52.png\" alt=\"Media, standardized cohort component.\" class=\"wp-image-1815\" srcset=\"https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_4_media_-8bf3f75d17ac4f1f8991025f1051ce52.png 1145w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_4_media_-8bf3f75d17ac4f1f8991025f1051ce52-300x200.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_4_media_-8bf3f75d17ac4f1f8991025f1051ce52-1024x683.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_4_media_-8bf3f75d17ac4f1f8991025f1051ce52-768x512.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_4_media_-8bf3f75d17ac4f1f8991025f1051ce52-405x270.png 405w\" sizes=\"auto, (max-width: 1145px) 100vw, 1145px\" /></figure>\n\n\n\n<p class=\"wp-block-paragraph\"></p>\n\n\n\n<figure class=\"wp-block-image\" id=\"cluster-media-standardized-period\"><img loading=\"lazy\" decoding=\"async\" width=\"1145\" height=\"764\" src=\"https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_4_media_-db77e283c289a556c23c800a199f1ce9.png\" alt=\"Media, standardized period component.\" class=\"wp-image-1810\" srcset=\"https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_4_media_-db77e283c289a556c23c800a199f1ce9.png 1145w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_4_media_-db77e283c289a556c23c800a199f1ce9-300x200.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_4_media_-db77e283c289a556c23c800a199f1ce9-1024x683.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_4_media_-db77e283c289a556c23c800a199f1ce9-768x512.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/con_cluster_4_media_-db77e283c289a556c23c800a199f1ce9-405x270.png 405w\" sizes=\"auto, (max-width: 1145px) 100vw, 1145px\" /></figure>\n\n\n\n<p class=\"wp-block-paragraph\">There is almost no cohort effect, although the most recent cohorts might have a little more confidence in television.</p>\n\n\n\n<p class=\"wp-block-paragraph\">The headline here is the period effect, which is consistently downward, and steeper for the press than television. The steepest part of the decline for both media started around 1990, shortly after the 1987 abolition of the <a href=\"https://en.wikipedia.org/wiki/Fairness_doctrine\" target=\"_blank\" rel=\"noreferrer noopener\">fairness doctrine</a>, which required broadcast coverage of controversial topics to be “fair in the sense that it provides an opportunity for the presentation of contrasting points of view,” as described in the <a href=\"https://www.fcc.gov/document/editorializing-broadcast-licensees\" target=\"_blank\" rel=\"noreferrer noopener\">1949 FCC report</a> that established the doctrine.</p>\n\n\n\n<p class=\"wp-block-paragraph\">The end of the fairness doctrine coincided with the rise of talk radio programs with explicit political viewpoints, including <a href=\"https://en.wikipedia.org/wiki/The_Rush_Limbaugh_Show\" target=\"_blank\" rel=\"noreferrer noopener\">The Rush Limbaugh Show</a>, which was nationally syndicated in 1988.</p>\n\n\n\n<p class=\"wp-block-paragraph\">Cable television news followed, including <a href=\"https://en.wikipedia.org/wiki/Fox_News\" target=\"_blank\" rel=\"noreferrer noopener\">Fox News Channel</a> in 1996, with an explicit conservative orientation, and <a href=\"https://en.wikipedia.org/wiki/MSNBC\" target=\"_blank\" rel=\"noreferrer noopener\">MSNBC</a>, which developed a more liberal identity in the 2000s.</p>\n\n\n\n<p class=\"wp-block-paragraph\">During this period, more generally, media audiences became more fragmented. Prior to 1980, most Americans were exposed to a small number of shared news sources, notably the three major television networks. Talk radio and cable television offered more options and less common experience.</p>\n\n\n\n<p class=\"wp-block-paragraph\">And then the internet happened, starting in the 1990s with online news and political blogs, including the <a href=\"https://en.wikipedia.org/wiki/Drudge_Report\" target=\"_blank\" rel=\"noreferrer noopener\">Drudge Report</a> which started as a weekly email newsletter in 1995, and rose to national prominence when it broke the <a href=\"https://en.wikipedia.org/wiki/Clinton%E2%80%93Lewinsky_scandal\" target=\"_blank\" rel=\"noreferrer noopener\">Clinton-Lewinsky scandal</a> in 1998.</p>\n\n\n\n<p class=\"wp-block-paragraph\">Social media followed. YouTube was founded in 2005; Facebook and Twitter launched in 2006. While these platforms have become important sources of news for many Americans, engagement-driven algorithms often promote emotionally provocative and polarizing content over careful reporting. The rise of the internet contributed to the decline of local newspapers, and eventually national newspapers as well.</p>\n\n\n\n<p class=\"wp-block-paragraph\">Ownership of television stations became increasingly consolidated following the <a href=\"https://en.wikipedia.org/wiki/Telecommunications_Act_of_1996\" target=\"_blank\" rel=\"noreferrer noopener\">1996 Telecommunications Act</a>, allowing a small number of national media companies to control larger shares of local news programming. The effect of this consolidation is explained in <a href=\"https://www.vox.com/policy-and-politics/2018/4/2/17189302/sinclair-broadcast-fake-news-biased-trump-viral-video\" target=\"_blank\" rel=\"noreferrer noopener\">this Vox article</a> and memorably demonstrated in <a href=\"https://www.youtube.com/watch?v=hWLjYJ4BzvI\" target=\"_blank\" rel=\"noreferrer noopener\">this Deadspin compilation</a> showing dozens of TV news anchors reading nearly identical scripts provided by the <a href=\"https://en.wikipedia.org/wiki/Sinclair_Broadcast_Group\" target=\"_blank\" rel=\"noreferrer noopener\">Sinclair Broadcast Group</a>, which requires the channels it owns to air segments called <a href=\"https://www.nytimes.com/2017/05/12/business/media/sinclair-broadcast-komo-conservative-media.html\" target=\"_blank\" rel=\"noreferrer noopener\">“must-runs”</a> — many of them presenting conservative talking points.</p>\n\n\n\n<p class=\"wp-block-paragraph\">Finally, since the beginning of his presidential campaign in 2015, Donald Trump has repeatedly denigrated television and print media, frequently describing unfavorable coverage as “fake news” and labeling journalists “enemies of the people.” These attacks likely contribute to declining confidence in the press, especially among Republicans.</p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"negativity-bias\">Negativity Bias</h3>\n\n\n\n<p class=\"wp-block-paragraph\">In the previous examples, you might notice that I offer explanations for the downturns, but no explanation for the upturns. That’s because bad things, like scandals and economic crises, often happen quickly and they get a lot of coverage; good things often happen slowly and continue without comment.</p>\n\n\n\n<p class=\"wp-block-paragraph\">For many institutions, no news is good news. When they do their jobs, they don’t get much attention, and public confidence drifts higher, even without specific positive events or coverage.</p>\n\n\n\n<p class=\"wp-block-paragraph\">So I want to end this article by highlighting some of the positive results we see in this data:</p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Confidence in education, science, and medicine is high and although the period effects are negative, the cohort effects are positive, which bodes well for the future.</li>\n\n\n\n<li>Confidence in financial institutions and organized labor is high.</li>\n\n\n\n<li>Confidence in government is lower and declining, but as each generation of young adults starts out more optimistic than their elders, there is hope for a turnaround.</li>\n</ul>\n\n\n\n<p class=\"wp-block-paragraph\">But the recent steep decline of confidence in the Supreme Court is a concern, as is the loss of confidence in the media. It’s hard to find a positive take on those trends.</p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https://allendowney.github.io/CultureWar//blog7-hapgen\"></a><a href=\"https://allendowney.github.io/CultureWar//blog7-hapgen\"></a></p>\n\n\n\n<p class=\"wp-block-paragraph\"></p>\n<p>The post <a href=\"https://www.allendowney.com/blog/2026/05/19/confidence-in-institutions/\">Confidence in Institutions</a> appeared first on <a href=\"https://www.allendowney.com/blog\">Probably Overthinking It</a>.</p>",
      "image": null,
      "media": [],
      "authors": [
        {
          "name": "AllenDowney",
          "email": null,
          "url": null
        }
      ],
      "categories": [
        {
          "label": "Uncategorized",
          "term": "Uncategorized",
          "url": null
        },
        {
          "label": "age period cohort analysis",
          "term": "age period cohort analysis",
          "url": null
        },
        {
          "label": "bayesian statistics",
          "term": "bayesian statistics",
          "url": null
        },
        {
          "label": "general social survey",
          "term": "general social survey",
          "url": null
        }
      ]
    },
    {
      "id": "https://www.allendowney.com/blog/?p=1794",
      "title": "Planning for your midlife crisis",
      "description": "<p>Yesterday I presented a talk at ODSC East 2026, called “Counterfactual Analysis with Bayesian Models: What Drives the Life Expectancy Gap?” Here’s the abstract Across nearly every country in the world, women live longer than men—but the size of this gap varies from about two years in some countries to more than twelve in others. What explains these differences, and how much of the gap can be closed? In this talk, I present a practical approach to counterfactual analysis using...</p>\n<p class=\"read-more\"><a class=\"btn btn-default\" href=\"https://www.allendowney.com/blog/2026/05/01/planning-for-your-midlife-crisis/\"> Read More<span class=\"screen-reader-text\">  Read More</span></a></p>\n<p>The post <a href=\"https://www.allendowney.com/blog/2026/05/01/planning-for-your-midlife-crisis/\">Planning for your midlife crisis</a> appeared first on <a href=\"https://www.allendowney.com/blog\">Probably Overthinking It</a>.</p>",
      "url": "https://www.allendowney.com/blog/2026/05/01/planning-for-your-midlife-crisis/",
      "published": "2026-05-01T19:34:53.000Z",
      "updated": "2026-05-01T19:34:53.000Z",
      "content": "<p class=\"wp-block-paragraph\">Yesterday I presented a talk at ODSC East 2026, called “Counterfactual Analysis with Bayesian Models: What Drives the Life Expectancy Gap?” Here’s the abstract</p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\">Across nearly every country in the world, women live longer than men—but the size of this gap varies from about two years in some countries to more than twelve in others. What explains these differences, and how much of the gap can be closed?</p>\n\n\n\n<p class=\"wp-block-paragraph\">In this talk, I present a practical approach to counterfactual analysis using Bayesian regression models. Using publicly available mortality data, we build a model that relates the life expectancy gap between men and women to differences in cause-specific death rates, including homicide, drug overdoses, traffic fatalities, smoking-related disease, and chronic illness.</p>\n\n\n\n<p class=\"wp-block-paragraph\">The model generates posterior simulations that answer “what-if” questions. For example: How much smaller would the U.S. life expectancy gap be if homicide rates matched those in Western Europe?</p>\n\n\n\n<p class=\"wp-block-paragraph\">The talk presents the workflow—from assembling global datasets to fitting interpretable Bayesian models with PyMC and generating counterfactual simulations. Attendees will learn how Bayesian models can support explainable modeling and analysis under uncertainty.</p>\n</blockquote>\n\n\n\n<p class=\"wp-block-paragraph\">I think the talk went well, and we got some good questions at the end. There’s no recording, unfortunately, <a href=\"https://docs.google.com/presentation/d/e/2PACX-1vSiwjA6Mi95poqGQJiXw7Mdy0BgPa-aEmVhJHXwP35QRjt2dduEEN53yZi4fnpAReVaS-EDWS3CwMt1/pub?start=false&loop=false&delayms=3000\">but my slides are here</a>. And if you want to know more, I have a series of blog posts on Substack</p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https://allendowney.substack.com/p/the-gender-gap-in-life-expectancy\">The Gender Gap in Life Expectancy</a></li>\n\n\n\n<li><a href=\"https://allendowney.substack.com/p/what-drives-the-life-expectancy-gender\">What Drives the Life Expectancy Gender Gap?</a></li>\n\n\n\n<li><a href=\"https://allendowney.substack.com/p/how-much-of-the-life-expectancy-gap\">How Much of the Life Expectancy Gap Could We Close?</a></li>\n\n\n\n<li><a href=\"https://allendowney.substack.com/p/international-patterns-in-the-life\">International Patterns in the Life Expectancy Gap</a></li>\n</ul>\n\n\n\n<p class=\"wp-block-paragraph\">The fifth and final post is on the way. In the meantime, here’s a quick post on a related topic.</p>\n\n\n\n<h2 class=\"wp-block-heading\">Are you middle-aged?</h2>\n\n\n\n<p class=\"wp-block-paragraph\">Here’s a question from Reddit’s <a href=\"https://www.reddit.com/r/stupidquestions/comments/1sxesux/what_age_is_actually_considered_middle_age/\">Stupid Questions forum</a>:</p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\">I always thought middle age was in your 40s but since life expectancy is around 75 or so, wouldn’t it be about 35?</p>\n</blockquote>\n\n\n\n<p class=\"wp-block-paragraph\">If life expectancy is 75, you might think the midpoint is half that, which is 37.5. But if 75 is life expectancy <em>at birth</em> and you survive to age 37.5, your life expectancy <em>at that age</em> is higher than 75. So 37.5 is not halfway!</p>\n\n\n\n<p class=\"wp-block-paragraph\">If we really want to find the midpoint – and it wouldn’t be <em>Probably Overthinking It</em> if we didn’t – we have to find the age where your expected remaining lifetime equals your current age.</p>\n\n\n\n<p class=\"wp-block-paragraph\">Let’s do it.</p>\n\n\n\n<h2 class=\"wp-block-heading\">Data</h2>\n\n\n\n<p class=\"wp-block-paragraph\">From the <a href=\"https://www.mortality.org/Country/Country?cntr=USA\">Human Mortality Database</a> I downloaded life tables for the United States, combined and broken down for men and women. The following function reads and cleans a table.</p>\n\n\n\n<pre id=\"codecell1\" class=\"wp-block-preformatted\">def read_life_table(filename):\n    lt = pd.read_fwf(filename, skiprows=2, infer_nrows=200)\n    lt['Age'] = lt['Age'].str.replace('+', '', regex=False).astype(int)\n    return lt\n</pre>\n\n\n\n<p class=\"wp-block-paragraph\">Here are the first few rows of the combined table (see notes below for details).</p>\n\n\n\n<pre id=\"codecell2\" class=\"wp-block-preformatted\">blt = read_life_table('../data/bltper_1x1.txt')\nblt.head()\n</pre>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th></th><th>Year</th><th>Age</th><th>mx</th><th>qx</th><th>ax</th><th>lx</th><th>dx</th><th>Lx</th><th>Tx</th><th>ex</th></tr></thead><tbody><tr><th>0</th><td>1933</td><td>0</td><td>0.06129</td><td>0.05861</td><td>0.25</td><td>100000</td><td>5861</td><td>95624</td><td>6089609</td><td>60.90</td></tr><tr><th>1</th><td>1933</td><td>1</td><td>0.00946</td><td>0.00941</td><td>0.50</td><td>94139</td><td>886</td><td>93696</td><td>5993985</td><td>63.67</td></tr><tr><th>2</th><td>1933</td><td>2</td><td>0.00435</td><td>0.00434</td><td>0.50</td><td>93253</td><td>405</td><td>93050</td><td>5900289</td><td>63.27</td></tr><tr><th>3</th><td>1933</td><td>3</td><td>0.00310</td><td>0.00310</td><td>0.50</td><td>92848</td><td>288</td><td>92704</td><td>5807239</td><td>62.55</td></tr><tr><th>4</th><td>1933</td><td>4</td><td>0.00239</td><td>0.00238</td><td>0.50</td><td>92560</td><td>221</td><td>92450</td><td>5714535</td><td>61.74</td></tr></tbody></table></figure>\n\n\n\n<p class=\"wp-block-paragraph\">We’ll also read the female and male tables.</p>\n\n\n\n<pre id=\"codecell3\" class=\"wp-block-preformatted\">flt = read_life_table('../data/fltper_1x1.txt')\n</pre>\n\n\n\n<pre id=\"codecell4\" class=\"wp-block-preformatted\">mlt = read_life_table('../data/mltper_1x1.txt')\n</pre>\n\n\n\n<p class=\"wp-block-paragraph\">The tables include data from 1933 to 2024, so we’ll select the most recent data.</p>\n\n\n\n<pre id=\"codecell5\" class=\"wp-block-preformatted\">year = blt['Year'].unique()[-1]\ntable = blt.query('Year == @year').set_index('Age')\n</pre>\n\n\n\n<p class=\"wp-block-paragraph\">The column we’ll use is <code>ex</code>, which is life expectancy as a function of age.</p>\n\n\n\n<pre id=\"codecell6\" class=\"wp-block-preformatted\">age = table.index.to_series()\nex = table['ex']\n</pre>\n\n\n\n<p class=\"wp-block-paragraph\">Life expectancy at birth is 79 years, so the naive midpoint is 39.5.</p>\n\n\n\n<pre id=\"codecell7\" class=\"wp-block-preformatted\">ex[0], ex[0] / 2\n</pre>\n\n\n\n<pre id=\"codecell8\" class=\"wp-block-preformatted\">(79.08, 39.54)\n</pre>\n\n\n\n<p class=\"wp-block-paragraph\">But at age 40, expected remaining lifetime is 41.1, so 39.5 is not the midpoint.</p>\n\n\n\n<pre id=\"codecell9\" class=\"wp-block-preformatted\">ex[39], ex[40]\n</pre>\n\n\n\n<pre id=\"codecell10\" class=\"wp-block-preformatted\">(42.04, 41.12)\n</pre>\n\n\n\n<p class=\"wp-block-paragraph\">This plot shows life expectancy at each age, compared to age.</p>\n\n\n\n<pre id=\"codecell11\" class=\"wp-block-preformatted\">ex.plot(label='Remaining life expectancy')\nage.plot(label='Age')\ndecorate(ylabel='Years',\n        title='Remaining life expectancy vs age, United States 2024')\n</pre>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"438\" height=\"250\" src=\"https://www.allendowney.com/blog/wp-content/uploads/2026/05/a55e9cbde25b36d9c42e2ede2a78a827460d537f230b5cc4e7dfcb519a44bbc6.png\" alt=\"_images/a55e9cbde25b36d9c42e2ede2a78a827460d537f230b5cc4e7dfcb519a44bbc6.png\" class=\"wp-image-1797\" srcset=\"https://www.allendowney.com/blog/wp-content/uploads/2026/05/a55e9cbde25b36d9c42e2ede2a78a827460d537f230b5cc4e7dfcb519a44bbc6.png 438w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/a55e9cbde25b36d9c42e2ede2a78a827460d537f230b5cc4e7dfcb519a44bbc6-300x171.png 300w\" sizes=\"auto, (max-width: 438px) 100vw, 438px\" /></figure>\n\n\n\n<p class=\"wp-block-paragraph\">“Middle age” is where the lines cross, which we can compute by linear interpolation.</p>\n\n\n\n<pre id=\"codecell12\" class=\"wp-block-preformatted\">from scipy.interpolate import interp1d\n\ninverse = interp1d(ex - age, age)\ninverse(0)\n</pre>\n\n\n\n<pre id=\"codecell13\" class=\"wp-block-preformatted\">array(40.58638743)\n</pre>\n\n\n\n<p class=\"wp-block-paragraph\">So the overall midpoint is 40.6 years. But as you might expect, it’s different for men and women. Let’s put the analysis we did in a function.</p>\n\n\n\n<pre id=\"codecell14\" class=\"wp-block-preformatted\">def get_midpoint(filename):\n    lt = read_life_table(filename)\n    year = lt['Year'].unique()[-1]\n    table = lt.query('Year == @year').set_index('Age')\n\n    age = pd.Series(table.index)\n    ex = table['ex']\n\n    inverse = interp1d(ex - age, age)\n    return inverse(0)\n</pre>\n\n\n\n<p class=\"wp-block-paragraph\">And run it for men.</p>\n\n\n\n<pre id=\"codecell15\" class=\"wp-block-preformatted\">get_midpoint('../data/mltper_1x1.txt')\n</pre>\n\n\n\n<pre id=\"codecell16\" class=\"wp-block-preformatted\">array(39.57142857)\n</pre>\n\n\n\n<p class=\"wp-block-paragraph\">And women.</p>\n\n\n\n<pre id=\"codecell17\" class=\"wp-block-preformatted\">get_midpoint('../data/fltper_1x1.txt')\n</pre>\n\n\n\n<pre id=\"codecell18\" class=\"wp-block-preformatted\">array(41.56185567)\n</pre>\n\n\n\n<p class=\"wp-block-paragraph\">Men hit middle age at 39.6, women at 41.6.</p>\n\n\n\n<h2 class=\"wp-block-heading\">The Gender Gap and Age</h2>\n\n\n\n<p class=\"wp-block-paragraph\">Finally, let’s see how the gender gap in life expectancy changes as a function of age.</p>\n\n\n\n<pre id=\"codecell19\" class=\"wp-block-preformatted\">ex_male = mlt.query('Year == @year').set_index('Age')['ex']\nex_female = flt.query('Year == @year').set_index('Age')['ex']\ngap = ex_female - ex_male\n</pre>\n\n\n\n<pre id=\"codecell20\" class=\"wp-block-preformatted\">gap.plot(label='')\ndecorate(ylabel='Years',\n         title='Life expectancy gender gap vs age')\n</pre>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"438\" height=\"250\" src=\"https://www.allendowney.com/blog/wp-content/uploads/2026/05/2cf48be5acc971ad8f6973506c224767a25ef2e38bcf53c5b12b0f895c26ed11.png\" alt=\"_images/2cf48be5acc971ad8f6973506c224767a25ef2e38bcf53c5b12b0f895c26ed11.png\" class=\"wp-image-1796\" srcset=\"https://www.allendowney.com/blog/wp-content/uploads/2026/05/2cf48be5acc971ad8f6973506c224767a25ef2e38bcf53c5b12b0f895c26ed11.png 438w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/2cf48be5acc971ad8f6973506c224767a25ef2e38bcf53c5b12b0f895c26ed11-300x171.png 300w\" sizes=\"auto, (max-width: 438px) 100vw, 438px\" /></figure>\n\n\n\n<p class=\"wp-block-paragraph\">At birth the life expectancy gap is close to five years. At age 100, it is close to zero.</p>\n\n\n\n<p class=\"wp-block-paragraph\">But just looking at the gap might be misleading. For a more complete picture let’s also look at the ratio.</p>\n\n\n\n<pre id=\"codecell21\" class=\"wp-block-preformatted\">ratio = ex_female / ex_male\nratio.plot(label='')\n\ndecorate(ylabel='Ratio',\n         title='Life expectancy gender ratio (female / male)')\n</pre>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"446\" height=\"250\" src=\"https://www.allendowney.com/blog/wp-content/uploads/2026/05/1a514d22895c3e18a767184700d6edf467975abb4b302afe044fd42c002ae21c.png\" alt=\"_images/1a514d22895c3e18a767184700d6edf467975abb4b302afe044fd42c002ae21c.png\" class=\"wp-image-1798\" srcset=\"https://www.allendowney.com/blog/wp-content/uploads/2026/05/1a514d22895c3e18a767184700d6edf467975abb4b302afe044fd42c002ae21c.png 446w, https://www.allendowney.com/blog/wp-content/uploads/2026/05/1a514d22895c3e18a767184700d6edf467975abb4b302afe044fd42c002ae21c-300x168.png 300w\" sizes=\"auto, (max-width: 446px) 100vw, 446px\" /></figure>\n\n\n\n<p class=\"wp-block-paragraph\">The life expectancy ratio tells a more complicated story.</p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>At birth, the ratio is 1.06, which means female babies live 6% longer, on average.</li>\n\n\n\n<li>Around age 80, the ratio peaks at nearly 1.14 – so between female and male octogenarians, we expect the women to live 14% longer.</li>\n\n\n\n<li>At advanced ages, the ratio declines steeply and actually crosses over after age 100 – although the crossover is minimal and might not be statistically valid.</li>\n</ul>\n\n\n\n<p class=\"wp-block-paragraph\">To interpret these results, we can think about the causes of death that contribute to age-specific death rates at different stages of life.</p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>In young adulthood, the causes of death that contribute most to gender gaps include road traffic, homicide, accidental injury, drug use disorders.</li>\n\n\n\n<li>In advanced adulthood, they include cancer, cardiovascular disease, respiratory disease, liver disease, diabetes, and suicide.</li>\n</ul>\n\n\n\n<p class=\"wp-block-paragraph\">The causes that affect younger people have large gender gaps, but relatively low death rates. As people get older, these low-rate causes contribute less to age-specific death rates, and the higher-rate causes contribute more.</p>\n\n\n\n<p class=\"wp-block-paragraph\">I think that’s a plausible explanation for the increasing ratio from age 0 to 80. For the decline that follows, I can only speculate that there is a selection effect: people who get to these advanced ages are likely to have better-than-average lifestyle histories (less smoking and drinking, better diet, more exercise) – and among people with better lifestyles, the gender gap is small.</p>\n\n\n\n<h2 class=\"wp-block-heading\">Notes</h2>\n\n\n\n<p class=\"wp-block-paragraph\">Data credit: HMD. Human Mortality Database. Max Planck Institute for Demographic Research (Germany), University of California, Berkeley (USA), and French Institute for Demographic Studies (France). Available at [<a href=\"http://www.mortality.org\">www.mortality.org</a>].</p>\n\n\n\n<p class=\"wp-block-paragraph\">Here are the columns of the 1×1 Period Life Tables:</p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Year</strong>: Calendar year to which the period life table refers.</li>\n\n\n\n<li><strong>Age</strong>: Exact age (x), in years, at the beginning of the interval ([x, x+1)).</li>\n\n\n\n<li><strong>mx</strong>: Central death rate at age (x):</li>\n</ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>qx</strong>: Probability of dying between ages (x) and (x+1):</li>\n</ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>ax</strong>: Average fraction of the interval lived by those who die in ([x, x+1)). Typically around 0.5 for most ages, lower for infants (reflecting higher early mortality within the year).</li>\n\n\n\n<li><strong>lx</strong>: Number of survivors at exact age (x), out of a radix (usually 100,000 births).</li>\n\n\n\n<li><strong>dx</strong>: Number of deaths between ages (x) and (x+1):</li>\n</ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Lx</strong>: Person-years lived between ages (x) and (x+1), approximately</li>\n</ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Tx</strong>: Total person-years remaining above age (x):</li>\n</ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>ex</strong>: Life expectancy at age (x):</li>\n</ul>\n\n\n\n<p class=\"wp-block-paragraph\">The details are in<a href=\"https://github.com/AllenDowney/ProbablyOverthinkingIt/blob/book/examples/midlife.ipynb\"> this Jupyter notebook</a>.</p>\n<p>The post <a href=\"https://www.allendowney.com/blog/2026/05/01/planning-for-your-midlife-crisis/\">Planning for your midlife crisis</a> appeared first on <a href=\"https://www.allendowney.com/blog\">Probably Overthinking It</a>.</p>",
      "image": null,
      "media": [],
      "authors": [
        {
          "name": "AllenDowney",
          "email": null,
          "url": null
        }
      ],
      "categories": [
        {
          "label": "Uncategorized",
          "term": "Uncategorized",
          "url": null
        },
        {
          "label": "life expectancy",
          "term": "life expectancy",
          "url": null
        },
        {
          "label": "mortality",
          "term": "mortality",
          "url": null
        },
        {
          "label": "ODSC",
          "term": "ODSC",
          "url": null
        }
      ]
    },
    {
      "id": "https://www.allendowney.com/blog/?p=1782",
      "title": "Changing Opinions on Assisted Suicide",
      "description": "<p>In Graphs About Religion, Ryan Burge recently wrote about changing opinions about assisted suicide and how they relate to religion. As always, when I see survey responses changing over time, I wonder whether it is driven primarily by period or cohort effects. And if you’ve read my last few posts, you know I’ve been working on a Bayesian model to answer that question. Ryan’s analysis is based on four questions from the General Social Survey (GSS): In addition, we’ll look...</p>\n<p class=\"read-more\"><a class=\"btn btn-default\" href=\"https://www.allendowney.com/blog/2026/04/16/changing-opinions-on-assisted-suicide/\"> Read More<span class=\"screen-reader-text\">  Read More</span></a></p>\n<p>The post <a href=\"https://www.allendowney.com/blog/2026/04/16/changing-opinions-on-assisted-suicide/\">Changing Opinions on Assisted Suicide</a> appeared first on <a href=\"https://www.allendowney.com/blog\">Probably Overthinking It</a>.</p>",
      "url": "https://www.allendowney.com/blog/2026/04/16/changing-opinions-on-assisted-suicide/",
      "published": "2026-04-16T20:01:37.000Z",
      "updated": "2026-04-16T20:01:37.000Z",
      "content": "<p class=\"wp-block-paragraph\">In <a href=\"https://www.graphsaboutreligion.com/p/god-death-and-the-right-to-choose\" target=\"_blank\" rel=\"noreferrer noopener\">Graphs About Religion</a>, Ryan Burge recently wrote about changing opinions about assisted suicide and how they relate to religion.</p>\n\n\n\n<p class=\"wp-block-paragraph\">As always, when I see survey responses changing over time, I wonder whether it is driven primarily by period or cohort effects. And if you’ve read my last few posts, you know I’ve been working on a Bayesian model to answer that question.</p>\n\n\n\n<p class=\"wp-block-paragraph\">Ryan’s analysis is based on four questions from the General Social Survey (GSS):</p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\">Do you think a person has the right to end his or her own life if this person:</p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Has an incurable disease? (<code>suicide1</code>)</li>\n\n\n\n<li>Has gone bankrupt? (<code>suicide2</code>)</li>\n\n\n\n<li>Has dishonored his or her family? (<code>suicide3</code>)</li>\n\n\n\n<li>Is tired of living and ready to die? (<code>suicide4</code>)</li>\n</ul>\n</blockquote>\n\n\n\n<p class=\"wp-block-paragraph\">In addition, we’ll look at results from a related question (<code>letdie1</code>):</p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\">When a person has a disease that cannot be cured, do you think doctors should be allowed by law to end the patient’s life by some painless means if the patient and his family request it?</p>\n</blockquote>\n\n\n\n<p class=\"wp-block-paragraph\">The framing of the questions is different: the first four are about the right to end one’s life and the last is about the legality of doctor-assisted suicide.</p>\n\n\n\n<p class=\"wp-block-paragraph\">Before we look at the breakdown of period and cohort effects, here are the results from a model that estimates latent opposition to each proposition as a smooth function over time.</p>\n\n\n\n<figure class=\"wp-block-image\" id=\"letdie-single-time\"><img loading=\"lazy\" decoding=\"async\" width=\"1108\" height=\"704\" src=\"https://www.allendowney.com/blog/wp-content/uploads/2026/04/letdie_compare_time_-340f828df36b2086971ded6f63293cf6.png\" alt=\"Time-only trends.\" class=\"wp-image-1784\" srcset=\"https://www.allendowney.com/blog/wp-content/uploads/2026/04/letdie_compare_time_-340f828df36b2086971ded6f63293cf6.png 1108w, https://www.allendowney.com/blog/wp-content/uploads/2026/04/letdie_compare_time_-340f828df36b2086971ded6f63293cf6-300x191.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/04/letdie_compare_time_-340f828df36b2086971ded6f63293cf6-1024x651.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/04/letdie_compare_time_-340f828df36b2086971ded6f63293cf6-768x488.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/04/letdie_compare_time_-340f828df36b2086971ded6f63293cf6-425x270.png 425w\" sizes=\"auto, (max-width: 1108px) 100vw, 1108px\" /></figure>\n\n\n\n<p class=\"wp-block-paragraph\">Opposition to suicide is high in three of the scenarios — bankrupt, dishonored family, and tired of living — and lower in the incurable disease scenarios.</p>\n\n\n\n<p class=\"wp-block-paragraph\">In all five questions, opposition has declined over time, although for the incurable disease scenarios, it might have leveled off after 1990.</p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"doctor-assisted-death\">Doctor-assisted death</h2>\n\n\n\n<p class=\"wp-block-paragraph\">Now let’s see if we can decompose these changes into period and cohort effects. We’ll start with the question about doctor-assisted death when the patient has an incurable disease.</p>\n\n\n\n<p class=\"wp-block-paragraph\">As in the previous posts, I used a Bayesian model to estimate a trajectory over time for each birth cohort, shown in the following figure.</p>\n\n\n\n<figure class=\"wp-block-image\" id=\"letdie1-cohort-trajectories\"><img loading=\"lazy\" decoding=\"async\" width=\"1330\" height=\"778\" src=\"https://www.allendowney.com/blog/wp-content/uploads/2026/04/cohort_trajectory_le-28df4a8cc3e21cad9b463f53ddf9a3ef.png\" alt=\"Cohort trajectories: letdie1.\" class=\"wp-image-1785\" srcset=\"https://www.allendowney.com/blog/wp-content/uploads/2026/04/cohort_trajectory_le-28df4a8cc3e21cad9b463f53ddf9a3ef.png 1330w, https://www.allendowney.com/blog/wp-content/uploads/2026/04/cohort_trajectory_le-28df4a8cc3e21cad9b463f53ddf9a3ef-300x175.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/04/cohort_trajectory_le-28df4a8cc3e21cad9b463f53ddf9a3ef-1024x599.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/04/cohort_trajectory_le-28df4a8cc3e21cad9b463f53ddf9a3ef-768x449.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/04/cohort_trajectory_le-28df4a8cc3e21cad9b463f53ddf9a3ef-462x270.png 462w\" sizes=\"auto, (max-width: 1330px) 100vw, 1330px\" /></figure>\n\n\n\n<p class=\"wp-block-paragraph\">Reading from top to bottom, we can see that opposition has declined from one cohort to the next, and reading from left to right, we can see that opposition has varied over time within each cohort.</p>\n\n\n\n<p class=\"wp-block-paragraph\">The following figure shows the cohort component alone, standardized to factor out the period effect.</p>\n\n\n\n<figure class=\"wp-block-image\" id=\"letdie1-cohort-component\"><img loading=\"lazy\" decoding=\"async\" width=\"1166\" height=\"790\" src=\"https://www.allendowney.com/blog/wp-content/uploads/2026/04/cohort_standardized_-d780162e3521c3e8c568d864d1d04042.png\" alt=\"Cohort component (uniform years): letdie1.\" class=\"wp-image-1786\" srcset=\"https://www.allendowney.com/blog/wp-content/uploads/2026/04/cohort_standardized_-d780162e3521c3e8c568d864d1d04042.png 1166w, https://www.allendowney.com/blog/wp-content/uploads/2026/04/cohort_standardized_-d780162e3521c3e8c568d864d1d04042-300x203.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/04/cohort_standardized_-d780162e3521c3e8c568d864d1d04042-1024x694.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/04/cohort_standardized_-d780162e3521c3e8c568d864d1d04042-768x520.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/04/cohort_standardized_-d780162e3521c3e8c568d864d1d04042-399x270.png 399w\" sizes=\"auto, (max-width: 1166px) 100vw, 1166px\" /></figure>\n\n\n\n<p class=\"wp-block-paragraph\">Opposition to doctor-assisted suicide has declined from more than 40% in the earliest cohorts to 20% among people born in 2006.</p>\n\n\n\n<p class=\"wp-block-paragraph\">A possible explanation for the cohort pattern is that people anchor their moral judgments to the legal environment they encounter when they are young. During the “impressionable years” of late adolescence and early adulthood, existing laws can establish a moral baseline, so that what is illegal is inferred to be wrong, and therefore should remain illegal. As a result, gradual legalization can generate long-run attitudinal change through cohort replacement: people who grow up after a practice becomes legal are less likely to see it as morally problematic.</p>\n\n\n\n<p class=\"wp-block-paragraph\">The following figure shows the period effect alone, along with the results from the time model (which includes both period and cohort effects).</p>\n\n\n\n<figure class=\"wp-block-image\" id=\"letdie1-period-time\"><img loading=\"lazy\" decoding=\"async\" width=\"1166\" height=\"790\" src=\"https://www.allendowney.com/blog/wp-content/uploads/2026/04/time_standardized_le-c7580a12cc292dbce6e525849d0e6220.png\" alt=\"Standardized period component with time model: letdie1.\" class=\"wp-image-1788\" srcset=\"https://www.allendowney.com/blog/wp-content/uploads/2026/04/time_standardized_le-c7580a12cc292dbce6e525849d0e6220.png 1166w, https://www.allendowney.com/blog/wp-content/uploads/2026/04/time_standardized_le-c7580a12cc292dbce6e525849d0e6220-300x203.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/04/time_standardized_le-c7580a12cc292dbce6e525849d0e6220-1024x694.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/04/time_standardized_le-c7580a12cc292dbce6e525849d0e6220-768x520.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/04/time_standardized_le-c7580a12cc292dbce6e525849d0e6220-399x270.png 399w\" sizes=\"auto, (max-width: 1166px) 100vw, 1166px\" /></figure>\n\n\n\n<p class=\"wp-block-paragraph\">Comparing the two lines, we can conclude that the decline we see over time is entirely due to the cohort effect — when we control for generational replacement, the estimated period effect has generally <em>increased</em> since 1990.</p>\n\n\n\n<p class=\"wp-block-paragraph\">The increase between 1990 and 2005 might reflect increasing moral concern due to advances in life-sustaining medical technology, high-profile legal disputes like the <a href=\"https://en.wikipedia.org/wiki/Terri_Schiavo_case\" target=\"_blank\" rel=\"noreferrer noopener\">Terri Schiavo case</a>, and broader discussions of the sanctity of life.</p>\n\n\n\n<p class=\"wp-block-paragraph\">The decline between 2005 to 2015 might reflect normalization of assisted dying following legalization in several states (Oregon in 1997, Washington in 2008, and Montana in 2009, Vermont in 2013), along with a shift in public discourse toward autonomy, dignity, and patient choice, reinforced by high-profile cases like <a href=\"https://en.wikipedia.org/wiki/Brittany_Maynard\" target=\"_blank\" rel=\"noreferrer noopener\">Brittany Maynard</a>.</p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"other-scenarios\">Other Scenarios</h2>\n\n\n\n<p class=\"wp-block-paragraph\">The following figure shows the estimated cohort effects for all five questions.</p>\n\n\n\n<figure class=\"wp-block-image\" id=\"letdie-single-cohort\"><img loading=\"lazy\" decoding=\"async\" width=\"1108\" height=\"704\" src=\"https://www.allendowney.com/blog/wp-content/uploads/2026/04/letdie_compare_cohor-ca0769cc27ba5266de2e551bbf9f7ec3.png\" alt=\"Cohort margins, single panel.\" class=\"wp-image-1789\" srcset=\"https://www.allendowney.com/blog/wp-content/uploads/2026/04/letdie_compare_cohor-ca0769cc27ba5266de2e551bbf9f7ec3.png 1108w, https://www.allendowney.com/blog/wp-content/uploads/2026/04/letdie_compare_cohor-ca0769cc27ba5266de2e551bbf9f7ec3-300x191.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/04/letdie_compare_cohor-ca0769cc27ba5266de2e551bbf9f7ec3-1024x651.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/04/letdie_compare_cohor-ca0769cc27ba5266de2e551bbf9f7ec3-768x488.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/04/letdie_compare_cohor-ca0769cc27ba5266de2e551bbf9f7ec3-425x270.png 425w\" sizes=\"auto, (max-width: 1108px) 100vw, 1108px\" /></figure>\n\n\n\n<p class=\"wp-block-paragraph\">For the incurable disease scenario, opposition has declined from more than 60% in the earliest cohorts to less than 40% among cohorts born after 1950 — although it might have leveled off since then.</p>\n\n\n\n<p class=\"wp-block-paragraph\">In the other scenarios, opposition has also declined from one cohort to the next, but the size of the effect is smaller.</p>\n\n\n\n<p class=\"wp-block-paragraph\">The following figure shows the estimated period effects, controlling for generational replacement.</p>\n\n\n\n<figure class=\"wp-block-image\" id=\"letdie-single-period\"><img loading=\"lazy\" decoding=\"async\" width=\"1108\" height=\"704\" src=\"https://www.allendowney.com/blog/wp-content/uploads/2026/04/letdie_compare_perio-76fe4f16ad277fcdde3a47797ddbb13e.png\" alt=\"Period margins, single panel.\" class=\"wp-image-1787\" srcset=\"https://www.allendowney.com/blog/wp-content/uploads/2026/04/letdie_compare_perio-76fe4f16ad277fcdde3a47797ddbb13e.png 1108w, https://www.allendowney.com/blog/wp-content/uploads/2026/04/letdie_compare_perio-76fe4f16ad277fcdde3a47797ddbb13e-300x191.png 300w, https://www.allendowney.com/blog/wp-content/uploads/2026/04/letdie_compare_perio-76fe4f16ad277fcdde3a47797ddbb13e-1024x651.png 1024w, https://www.allendowney.com/blog/wp-content/uploads/2026/04/letdie_compare_perio-76fe4f16ad277fcdde3a47797ddbb13e-768x488.png 768w, https://www.allendowney.com/blog/wp-content/uploads/2026/04/letdie_compare_perio-76fe4f16ad277fcdde3a47797ddbb13e-425x270.png 425w\" sizes=\"auto, (max-width: 1108px) 100vw, 1108px\" /></figure>\n\n\n\n<p class=\"wp-block-paragraph\">Since 1990, most of the period effects are small. The only exception is the “tired of living” scenario, where there is some decline over time, independent of generational replacement.</p>\n\n\n\n<p class=\"wp-block-paragraph\">In the next post, we’ll do the same analysis with questions about abortion and the situations where it should be legal or not.</p>\n\n\n\n<p class=\"wp-block-paragraph\"></p>\n<p>The post <a href=\"https://www.allendowney.com/blog/2026/04/16/changing-opinions-on-assisted-suicide/\">Changing Opinions on Assisted Suicide</a> appeared first on <a href=\"https://www.allendowney.com/blog\">Probably Overthinking It</a>.</p>",
      "image": null,
      "media": [],
      "authors": [
        {
          "name": "AllenDowney",
          "email": null,
          "url": null
        }
      ],
      "categories": [
        {
          "label": "Uncategorized",
          "term": "Uncategorized",
          "url": null
        },
        {
          "label": "age period cohort analysis",
          "term": "age period cohort analysis",
          "url": null
        },
        {
          "label": "bayesian statistics",
          "term": "bayesian statistics",
          "url": null
        },
        {
          "label": "general social survey",
          "term": "general social survey",
          "url": null
        }
      ]
    }
  ]
}
Analyze Another View with RSS.Style