Podcast coming on Bayesian workflow! With a contest!

Alexandre Andorra will be interviewing Aki, Richard, and me on the topic of our just-released book, Bayesian Workflow.

And there’s a contest! Here’s Alexandre:

đŸ„One listener will get to bring their real-world workflow problem onto the recording for the three of them to work through live!

đŸŽŸïž How to enter:
1. Like, comment or repost this announcement post so other practitioners see it
2. Review the show on Apple Podcasts (https://lnkd.in/gbTagKAS) or Spotify (https://lnkd.in/guYMdMUv), and upload a screenshot here: https://lnkd.in/dPpuSKf5
3. Submit your problem (100-200 words) on the form

🎁 Prizes:
1. Grand prize: your problem worked through live by Gelman, Vehtari, and McElreath during the recording + a signed copy of Bayesian Workflow
2. The two runners-up will get signed copies
3. Five LBS Patreon subscribers (random draw) will get ebook copies!

Contest closes June 10!
If you’ve ever wanted to come on the show and ask Andrew, Aki or Richard “okay but what would you actually do here?” — this is your shot!

And here’s the Google form for the contest.

I’ve been on Alexandre’s podcast twice before:

‱ Modeling the US Presidential Elections (with Merlin Heidemanns), 1 Nov 2020

‱ Regression and Other Stories (with Jennifer Hill and Aki Vehtari), 30 Jul 2020

It was fun both times. I assume this new one will be too.

Full day Stan tutorial at Modern Modeling Methods (M3) this summer in New York (22 June 2026)

This post is from Bob

Mitzi Morris and Bob Carpenter, two of Stan’s developers, will be presenting a tutorial on Stan and Bayesian data analysis aimed at psychometricians this summer.

Abstract

This workshop is a full day, hands-on introduction to Bayesian modeling and statistical inference using the probabilistic programming language Stan.

The course will be organized around the key properties of Bayesian statistical modeling for science, including the nature of uncertainty, modeling a generative process through a data generating distribution, modeling existing knowledge through a prior, and pushing uncertainty through inference. As we do this, we will show how Stan can be used to both code the models and perform statistical inference for quantities of interest, be they retrospective parameter estimates or prospective predictions or forecasts. We will concentrate on full Bayesian posterior inference, including a discussion of calibration, model checking for both prior and posterior inference, and model comparison with cross-validation. We will spend some time showing how some structural equation models (SEM) can be translated directly to Stan and will also introduce psychological models for educational testing, crowdsourcing, rating and ranking, and real-time decision processes.

This class will require a notebook computer with a network connection (Wifi will be available in the classroom). We will use the Stan Playground, which runs Stan in the browser, which we will pre-populate with models of interest. We will probably also break into R or Python at various points to demonstrate methods not yet supported by the Playground, such as the brms regression expression language.

Andrew on psychometrics

Andrew once told me that any model you could come up with was probably invented by a psychometrician 50 years ago (make that 60—he said it at least 10 years ago). I have evidence that he’s right form the project that drew me into Bayesian statistics—crowdsourcing. Andrew and Jennifer Hill helped me formulate a crowdsourcing model where raters give you noisy measurements of underlying categorical variables (e.g., they answer survey questions about whether a word in context is a noun, for example, to use something I was working on at the time). Turns out Phil Dawid and A.P. Skene published the same model in 1979 in one of the earlier applications of the expectation maximization (EM) algorithm and they used natural language data (drawn from medical records).

The rest of the conference

The rest of the program looks really great—it’s just the kind of applied wrestling with real data that I like.

Speaking of Jennifer Hill, she’s one of the keynote speakers at M3. Every talk of Jennifer’s I’ve attended has been great. You may know her as Andrew’s co-author on the regression books, which I cannot recommend highly enough if you’re interested in this kind of applied modeling.

Beyond the conference

You see the same kind of Bayesian modeling focus for real data at venues such as ISEC (international ecology conference to which I went to once just because I like these models and these kinds of conferences), StanCon (see you in Uppsala in August!), and GeoMed (which Mitzi attends). I’m sure there are more in other fields. I’m always disappointed that there’s almost nothing like these kinds of nitty-gritty applied papers at ISBA (Nagoya this summer) or BayesComp (somewhere next year). The conferences about Bayesian statistics or computing that I’ve been to have all been super theoretical.

Jonah’s seminar tomorrow: “Bayesian Workflow and the Software That Shapes It”

This is Leo. Jonah Gabry (Stan developer, Andrew’s collaborator, etc.) is spending the whole month of May as a visiting professor here with us at the University of Trieste in Italy. Tomorrow, May 19th, in the De Finetti room at the University of Trieste, at  9 am NYC time (GMT-4), Jonah will give the following talk:

“Bayesian Workflow and the Software That Shapes It”

based on the upcoming book:  “Bayesian Workflow”.

For anyone local, you are welcome to come in person. Anyone else can join on Microsoft Teams (available here).

Expanding the Stan User’s Guide

This post is from Bob.

The Stan User’s Guide has been evolving organically along with the project. I’m writing this post for two reasons—to let you know what we’ve added lately and to encourage you to add your own chapters.

History

Initialy there was just one doc that included what is now the Reference Manual, Function sReference and CmdStan Manual. You can browse them all on the web or download pdfs from the Stan documentation web site.

Most of the topics grew up opportunistically from either things the team was interested in, new features we added to Stan, or just trying to cover the basics of the chapters of Bayesian Data Analysis and Data Analysis Using Regression and Multilevel/Hierarchical Models.

Recent additions

There have been some recent additions, including some from new faces:

There are also a metric ton of minor clarifications, fixes, and model examples, such as Mitzi Morris’s additional sufficient statistics optimizations and you can simply look at all the documentation pull requests.

The future is you

You can see from Franziska’s pull request, Abner’s PR, and BrynjĂłlfur’s PR that we provide a lot of guidance and feedback. I found it super useful to write a lot of the documentation when I was learning statistics because I got feedback from Andrew Gelman, Ben Goodrich, Aki Vehtari, and Michael Betancourt, among others.

Some topics that would be nice to add

There is a lot to add to our existing discussions and you can see a lot of that in the pull request list on our documentation repository. There are also many topics that we don’t cover or don’t cover well. Off the top of my head, roughly ordered near the top according to my assessment of how impactful it would be to add.

  • causal inference using Rubin’s potential outcomes framework
  • Thompson sampling for reinforcement learning/bandits (sorry, Andrew!)
  • penalized complexity priors and the Besag-York-Molie II spatial model (working from Mitzi’s Morris’s case study)
  • Extreme value models
  • RNA-seq and DNA-seq composition models at the read level and k-mer level
  • Econometric models (I don’t even know what these are, but there are books)
  • Stationarity-constraining parameterizations of VAR models a la Sarah Heaps
  • Neural networks
  • A/B testing (ideally sequential)
  • spatio-temporal models along the lines of Leon Held’s survey
  • non-trivial examples of ODE models like Lotka-Volterra (my case study), SEIR (Elizaveta Semenova et al.’s case study) or even better, pharmacokinetic/pharmacodynamic (multiple case studies around Torsten), soil carbon (my very early case study, but there’s been much better work since)
  • Hilbert-space approximations to Gaussian processes (GPs)
  • PDE approximations to GPs
  • Fourier space analyses of GPs
  • N-gram language models
  • Plackett-Luce model for contest with more than two players (this can follow my case study for StanCon)
  • …

Some of those may already be mentioned in our doc, so sorry if you’ve already written something. Also, feel free to suggest more topics in the comments.

Probability theory corner: My favorite birthday-problem story

Since we’re on the topic of the birthday problem, I wanted to share a story from my review of Dan Davies’s book, Lying for Money:

On p.124, Davies shares an amusing story of the unraveling of a scam involving counterfeit Portuguese banknotes: “While confirming them to be genuine, the inspector happened to find two notes with the same serial numbers—a genuine one had been stacked next to its twin. Once he knew what to look for, it was not too difficult to find more pairs. . . .”

The birthday problem in the wild!

P.S. I sent this story to John Cook, saying that this was the first time I think I’ve ever seen this particular problem come up in real life. John replied that birthday problems come up all the time in cryptography, e.g. hash collisions, and he pointed to this post from 2017:

Ideally, a secure hash is “indistinguishable from a random mapping.” So if a hash function has a range of size N, how many items can we send through the hash function before we can expect two items to have same hash value? By the pigeon hole principle, we know that if we hash N + 1 items, two of them are certain to have the same hash value. But it’s likely that a much smaller number of inputs will lead to a collision, two items with the same hash value.

The famous birthday problem illustrates this. . . . Variations on the birthday problem come up frequently. For example, in seeding random number generators. And importantly for this post, the birthday problem is the basis for birthday attacks against secure hash functions. . . .

I had no idea! John also points to Pollard’s rho algorithm as another real-world application of the birthday problem.

Fascinating 1981 interview with Morris Kline, author of the classic book, Mathematics: The Loss of Certainty

From this 1981 interview:

So when did the loss of certainty begin? Where did we take a wrong turn?

It began around 1800, and it began with geometry. I usually like to quote Mark Twain about this. He said that man is the only animal that has the one true religion—several of them. And that is just what happened with geometry.

The geometry that came from the Greeks is usually called Euclidean geometry, after Euclid. But suddenly at the beginning of the 19th century other geometries were developed—non-Euclidean geometries. Who gets the credit for this is sometimes disputed among historians, but I would say Carl Friedrich Gauss. He was the man who said flatly that we can no longer be sure that Euclidean geometry describes the physical world correctly. The various geometries conflict, although one of them, according to thousands of years of tradition, should describe the truth. You can see the problem.

Can you give me an example of an alternative geometry?

Well, one can cite as an example the theorem of Euclidean geometry that the sum of the angles of a triangle is one hundred eighty degrees. In one of the non-Euclidean geometries, called hyperbolic geometry, the sum is less than one hundred eighty degrees; in another, called double-elliptic non-Euclidean geometry, the sum is always larger than one hundred eighty degrees. Yet all of these geometries are equally accurate insofar as man can measure the sums of angles of triangles.

I actually disagree with Kline on that point! Draw a (virtual) triangle connecting the North Pole to two points on the Equator that are 90 degrees apart in latitude, and each angle of that triangle will be 90 degrees. 90 + 90 + 90 = 270: we can measure that.

The interview continues:

What did the mathematicians do when the bottom dropped out of geometry so to speak?

Many mathematicians tried to rescue and maintain as truths the portion of mathematics built on arithmetic, which by 1850 was far more extensive and vital for science than the several geometries. Unfortunately, other shattering events were to follow. Arithmetic and algebra were the next to go by the board.

The best example of this I could give in a semi-popular book was the creation of what are called quaternions, in 1843, by the great mathematical physicist William Rowan Hamilton. Now in the algebra of quaternions, a kind of number known as a hyper-number, multiplication is not commutative. In other words, if I were talking quaternions, I could not say that three times four is the same as four times three. Other strange algebras were created, and it made people start to worry about the laws of ordinary arithmetic. (The one I just stated is known as the commutative law of multiplication). And if we can have perfectly good algebras in which the old familiar laws don’t work, then how do we know they work in the case of the real numbers? That’s where a mathematician named Hermann von Helmholtz stepped in and told us we don’t know it at all. They work in some situations, but not in all.

Are there any elementary examples of these sorts of algebras, where 2 + 2 = 6, or where 5 x 7 = 35, but 7 x 5 is only 34?

I can think of several. Take a quart of water at 40 degrees and mix it with another quart of water at 50 degrees. Do you get two quarts at 90 degrees? You do not. It’s more like 45 degrees. So you can’t just say I’m going to add 40 and 50 and automatically get 90. It depends on the physical situation.

Consider music, a simple musical tone with a unique frequency and amplitude, say one hundred cycles per second. Now suppose on top of that you impose another note at two hundred cycles per second. Do you get a note at three hundred cycles? Again you do not. It is a note of two hundred cycles, the first harmonic above the one-hundred-cycle note. It is the highest harmonic that determines the pitch—two hundred cycles. This is an important factor in the design of musical instruments.

Those are excellent examples. And recall that the laws of probability do not apply in real life (that is, quantum mechanics; see section 2 of this article).

This is interesting:

If mathematics has no underlying truth–if it is filled with contradictions and uncertainties, why does it work?

There is no definitive answer to that. It just works. The only test we have that mathematics is reliable–not certain, but reliable–is that one can apply its laws to physical problems and make predictions. If the predictions come through, then we can say that mathematics has some substantial basis, but not certainty. I think people can’t help being impressed by what mathematics achieves. Consider the problem of sending a spaceship to the moon and bringing it back. It is entirely mathematical. Of course, there is a tremendous amount of engineering involved in the production of the ship, but the entire plan for it is mathematical. We have a theory about the sun, the planets, and more distant heavenly bodies. We say that what makes them behave as they do is the force of gravity. But nobody knows whether there is such a thing as gravity. We have no physical understanding of it. The theory is mathematical–gravity is a scientific fiction.

The same could be said about electricity and magnetism, couldn’t it?

That’s exactly right. Everybody today knows what a radio is, and what a TV is, but nobody knows what a radio wave or a TV wave is. You can’t smell one or hear one or taste one. But we do have a wonderful mathematical theory developed in the nineteenth century by the mathematical physicist James Clerk Maxwell. The evidence for this wonderful theory is the performance of our radio and TV sets. So we have to accept the fact that mathematics works, or else abandon our radios and our TV sets.

I pretty much agree but I’d put it slightly differently. There are various mathematical theories that don’t work, and because of that we don’t use them to design radios and TV sets. To put it another way, it’s not quite right to say that “mathematics” works; rather, some branches of mathematics work. For example, you could think of various goofy variants of logic and probability as mathematics, but nobody’s using them to build ships. Or, for another example, physicists don’t use classical (“Boltzmann”) probability in quantum problems, because . . . it doesn’t work. The mathematics that works, that’s the stuff that works. Any bit of mathematics works until it doesn’t, which is the point where people try to push it beyond its bounds of applicability.

I enjoyed this bit:

Are most mathematicians since the loss of certainty now working on these physical problems?

No, they aren’t. Most of the mathematics created today–maybe ninety percent of it–is a waste of time. That is an opinion, but one that authorities who are far more creative and far better known share with me.
Can you give us an example of mathematics you consider a waste of time?

Some problems now being considered in the theory of numbers, for example, are a waste of time. Take pairs of primes, called double primes. These are prime numbers in a sequence, eleven and thirteen, for example. No even numbers, of course, are primes. Are there an infinite number of these pairs? Are there triple primes? Endless papers are written about these subjects. Who cares?

That’s how I feel too! That said, I understand that the sorts of insights required to solve this sort of number theory problem are cognitively similar to the sorts of insights required to solve what I would consider to be interesting and important problems in mathematics and statistics. So, even though I agree on “Who cares?”, I don’t think that research in this area is “a waste of time,” any more than it’s a waste of time if you’re an athlete to do cross-training.

The interview continues:

It makes mathematics sound a lot like playing chess or bridge. Exciting, beautiful, challenging; the same words apply to all three kinds of activity.

That’s right. I’m glad you suggested it because it makes the point sharper. People enjoy playing chess. Some people even devote their lives to it. But no matter how ingenious a man is at playing chess or bridge, it isn’t going to change this world one iota. Now mathematicians may probe deeper problems, but it is the same thing.

Again, I kinda feel that Kline is missing the point. For one thing, the effort spent to build programs that can win at chess and go has led to general improvements in machine learning and AI. For better or worse, the study of chess has changed the world, and by more than one iota.

Overall, I’m a big fan of Kline and I like a lot of what’s in that interview, which is one reason it’s interesting to see where we disagree.

The point of yesterday’s post on the three ways of attacking a statistical problem

I fear that people may have gotten lost in the details of the data and code for the football won/lost example, so I wanted to clarify why I wrote the post.

In general there are three ways of attacking a statistical problem:

1. Probability calculation. Set up a probability model and crank it through. This will require a bunch of assumptions, and you’ll also need to set parameters in your model to reasonable values.

2. Direct empirical calculation. This will work if you have enough data, and if these data are not subject to selection.

3. Statistical modeling. Kind of like method 1 above, except that you fit (“learn”) the parameters from the data; as a result you can fit a more complicated model. I include machine learning in this category too.

In statistics classes, we focus on method 3. No surprise, right? Statistical modeling encompasses probability calculation and direct empirical calculation; indeed methods 1 and 3 can be viewed as special cases of method 3. Method 1 is method 3 but with a simple model and a crude method of setting the parameters. Method 2 is method 3 but with a simple model assuming stationarity in all directions.

So, yeah, statistical modeling. There’s a reason my colleagues and I have written multiple books on the topic, spent innumerable person-hours developing and using Stan, etc.

But . . . it’s good to know about methods 1 and 2 as well.

Why? Four reasons.

First, methods 1 and 2 are simpler, and sometimes they work just fine.

Second, even beyond simplicity, methods 1 and 2 have fewer requirements. Method 1 does not require the data (which is how we were able to get a good answer to that football question in the first place), and method 2 does not require a data-generation model. In contrast, method 3 requires data and a model.

Third, even when estimates based on methods 1 and 2 are seriously flawed, they can be useful starting points and comparison points to better approaches. Indeed, sometimes when a probability calculation gives a ridiculous result, this can be useful in developing intuition. For example, the notorious calculation of a probability of a tied election as 10^-90 came from an inappropriate application of a binomial-distribution model, which motivates the development of models for statistical dependence among voters, while the failure of straight-up empirical estimates motivates models that combine probability modeling and empirics.

Fourth, when people are informally estimating things, they’re often using some version of method 1 or 2. Which is fine! But then I think it’s important to be aware of what you’re doing and to ask, What is the probability model you are assuming, or What is the frequency calculation you are making?

Those four reasons–that’s the point of yesterday’s post.

Looking for a postdoc to teach and develop Bayesian methods

This job ad is by Aki

I’m looking for a postdoc to help organize Bayesian Data Analysis course (200 students) and to do research on Bayesian workflow at Aalto University, Finland. Background in Bayesian topics needed. Up to five year contract possible.

Job is at Aalto University, Espoo (15min Metro ride from Helsinki center), Finland.

Starting time is flexible. There is no specific deadline, but it is better to apply soon. Apply by email (see contact information). Include CV and explanation of your skills and experience related to teaching and research.

Salary and occupational benefits are better than in academia in many other countries, and living costs are moderate (not the cheapest country but also less expensive than big cities). Finland is the world happiest country (9th time in a row)

These are the three ways of attacking a statistical problem (illustrated with the NFL example)

The following question came up the other day:

What's the most common four game start to an NFL season?
W W W W
W W L L
L L W W
W L W L
L W L W
L L L L

I replied:

Logic and math suggest that it’s either the first one or the last one. I think that extremely shitty teams are more prevalent than extremely good teams, so I’m guessing the last option.

There was a bunch of discussion in comments and so I thought I’d elaborate by describing three different ways of attacking this problem. The various ideas discussed in the comments to my earlier post can be thought of as approximations to these three approaches.

1. Probability calculation

Just to flesh out my intuitive reasoning above, let’s go with classic item response theory (a class of models that was originally developed around the time of the founding of the NFL, actually, but for different purposes!) and model the probability that team i beats team j as:

Pr(team i beats team j) = invlogit(a_i – a_j + b*home_ij),

where a_i and a_j are the ability parameters for teams i and j, and home_ij is a home-field measure, equal to 1 if i is the home team, -1 if j is the home team, and 0 if they’re playing on a neutral field. I’ll keep things simple by excluding the possibility of a tie game.

And now some numbers. First, what’s the home-field advantage? It says here that home teams win about 55% of their games, and if we assume this 55% roughly applies to two equally-matched teams, then b = logit(0.55) = 0.2.

Next come the team abilities. Let’s start with a normal distribution: a_i ~ normal(0, sigma_a). What’s a good value for sigma_a? Well, let’s compare a team that’s 1 sd better than average to a team that’s 1 sd worse than average. These are the 84th and 16th percentiles, which for a 32-team league would be roughly the 5th and 27th best teams. The probability that the 5th best team beats the 27th best team on a neutral field will be invlogit(2*sigma_a). What is that probability? Let’s say 90%? In that case, sigma_a = logit(0.9)/2 = 1.1. Or if the probability is 80%, then logit(0.8)/2 = 0.7. I don’t know . . . let’s say sigma_a = 1.

Now we can do some math . . . ummm, let’s just simulate a million games:

n_sim <- 1e6
b <- 0.2
sigma_a <- 1.0
a_i <- rnorm(n_sim, 0, sigma_a)
y <- rep(0, n_sim)
for (k in 1:4){
  a_j <- rnorm(n_sim, 0, sigma_a)
  home_ij <- rbinom(n_sim, 1, 0.5)
  y <- y + 10^(4-k) * rbinom(n_sim, 1, invlogit(a_i - a_j + b*home_ij))
}
output <- table(y)
names(output) <- sprintf("%04d", as.numeric(names(output)))
print(output)

Kind of hacky . . . this is how I learned how to code back in the 1970s!

Anyway, here's the result:

  0000   0001   0010   0011   0100   0101   0110   0111   1000   1001   1010   1011   1100   1101   1110   1111 
102992  56795  56726  48753  56499  48423  48170  63246  56738  48173  48075  63398  48344  62814  63208 127646 

Hey, that's wack! As predicted, more at the extremes, but more 1111's than 0000's! I'd've expected they'd be equal, given that I've simulated the sigma_a's from a symmetric distribution.

Let's try again with a new set of random numbers:

  0000   0001   0010   0011   0100   0101   0110   0111   1000   1001   1010   1011   1100   1101   1110   1111 
102759  56663  56887  48353  56695  48292  48581  63118  56562  48748  48057  63443  48541  62860  62885 127556 

Again, lots more 1111's!

I guess it has something to do with the home-field advantage . . . oh, I see, I have a bug in my code! I'd assigned home_ij as equally likely to be 0 or 1, but what I should be doing is having it equally likely to be -1 and 1. So I'll swap out the line

  home_ij <- rbinom(n_sim, 1, 0.5)

with:

  home_ij <- sample(c(-1,1), n_sim, replace=TRUE)

And now I'll run the corrected code. Here's what we get:

  0000   0001   0010   0011   0100   0101   0110   0111   1000   1001   1010   1011   1100   1101   1110   1111 
114165  60279  60102  48707  59340  48413  48431  59904  59922  48644  48859  59741  48284  60178  60115 114916 

Ahhhh, much better.

But maybe those numbers are too extreme . . . does a good team really have a 90% chance of beating a bad team? Remember the saying, "any given Sunday"! So let's try again with sigma_a = 0.7. Here's what a million simulations gets us:

 0000  0001  0010  0011  0100  0101  0110  0111  1000  1001  1010  1011  1100  1101  1110  1111 
94877 61211 61547 53396 61252 53336 52875 61609 61432 53280 52924 61390 53079 61498 61484 94810 

So, even then, lots more 4-game losing streaks and 4-game winning streaks than anything else.

Some commenters said that the NFL does schedule balancing so that good teams are more likely to play good teams and bad teams are more likely to play bad teams. This would reduce the counts at the extremes. We could model that too but I'm kinda lazy so I won't do it here. As the textbook writers say, I'll leave it as an exercise for the reader.

But what about that other thing, that there are more extremely shitty teams than extremely good teams? We can use some skewed distribution . . . ummmm, I don't know much about these! There's something called the noncentral t . . . I'd like to do something with some intuition, something I understand. OK, for now I'll just hack it, replacing the normal(0,1) distribution by a normal(0,0.7) on the positive side and normal(0,1.0) on the negative.

So, in the above code I'll add the function:

rnorm_split <- function(n_sim, mu, sigma_neg, sigma_pos) {
  z <- rnorm(n_sim, 0, 1)
  ifelse(z < 0, mu + sigma_neg*z, mu + sigma_pos*z)
}

and then change the two instances of

rnorm(n_sim, 0, sigma_a)

to

rnorm_split(n_sim, 0, 1.0, 0.7)

And here we have it:

  0000   0001   0010   0011   0100   0101   0110   0111   1000   1001   1010   1011   1100   1101   1110   1111 
106711  59807  59534  50637  59860  50934  50615  61828  59241  50613  50626  62066  50725  61784  61985 103034 

To check uncertainties, we do it again:

  0000   0001   0010   0011   0100   0101   0110   0111   1000   1001   1010   1011   1100   1101   1110   1111 
107451  59519  59545  50471  59237  50756  51172  62029  59726  50706  50685  61763  50829  61576  61785 102750 

So, yeah, slightly more 0000's than 1111's, but not a lot, so who's to say what will happen after piping it through the scheduling thing where better teams play each other more often. I still think the general pattern will hold, but it might not show up in a small dataset. We'll get back to that point in a bit.

2. Purely empirical solution

According to wikipedia, "The NFL was formed in 1920 as the American Professional Football Association (APFA) before renaming itself the National Football League for the 1922 season." So let's start in 1920. Back in the day they had a lot of ties, so I'll make the decision to exclude ties; thus the above question will be interpreted as, "What's the most common four game start to an NFL season, excluding ties?"
Somebody who knows how to scrape should be able to could scrape the data from all the NFL seasons and just count up what happened.

OK, that's the planned data analysis. Next comes the design analysis: our expectation of what we might see.

The NFL used to have about 15 to 20 teams and now it has 32; just as a rough calculation I'll go with 25 teams per season x 100 seasons = 2500 teams, with 16 possible outcomes for the first 4 games of the season. 2500/16 is approximately 150, and if the games were all decided by coin flips (which they're not), then we'd expect approximately 150 +/ sqrt(150), that is 150 +/- 12 in each category.

But the games aren't decided by coin flips. See section 1 above. Our best guess is that there will be more cases on the extremes. Let's take the above numbers, which are based on a million teams playing 4 games each, and scale them down to 2500. That is, I'll simply take the numbers above and divide them by 400:

print(output*2500/1e6)

This yields:

    0000     0001     0010     0011     0100     0101     0110     0111     1000     1001     1010     1011     1100     1101     1110     1111 
268.6275 148.7975 148.8625 126.1775 148.0925 126.8900 127.9300 155.0725 149.3150 126.7650 126.7125 154.4075 127.0725 153.9400 154.4625 256.8750 

Ugly! Let's try again:

print(round(output*2500/1e6))

Which yields:

0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111 
 269  149  149  126  148  127  128  155  149  127  127  154  127  154  154  257 

The counts at the extreme have approximate standard errors of sqrt(260) = 16, so, yeah, we should be able to detect this from all 106 NFL seasons. But the bit about 0000 being more common than 1111? That's kind of lost in the noise.

What about just the past 10 seasons (320 teams)?

print(round(output*320/1e6))

The result:

0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111 
  34   19   19   16   19   16   16   20   19   16   16   20   16   20   20   33 

sqrt(34) = 6, so this should still be detectable, but there is a chance that the results could look weird. And you can forget about getting any useful information comparing 0000 to 1111.

One way to see this is to do a couple simulations with n_sim = 320. Here's one:

0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111 
  31   19   21   17   15   21   22   26   20   15   20   19   13   17   16   28 

And here's another:

0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111 
  40   10   16   21   14   13   20   25   24   20   17   17   22   15   18   28 

And another:

0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111 
  29   20   18   20   22   16   16   20   21   17   11   24   16   11   18   41 

If you want to do it from one season, you'd run the simulation with n_sim = 32 . . . forget about it! Here's an example:

0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1101 1111 
   2    2    1    2    1    1    1    4    3    1    3    4    4    3 

You'll need data from multiple seasons to detect any patterns here.

3. Statistical modeling

A completely different approach is to fit a model to data. Let's assume that our helpful scrapers have done their job and supplied us with a clean dataset of all the games since 1920.

We could fit the above item-response model to the wins and losses (keeping things simple by excluding tie games).

Teams change from season to season, so I'd recommend fitting this model separately for each season, but pooling b (the home-field advantage parameter) and sigma_a (the sd of team abilities), maybe fitting a separate hierarchical model fore each decade.

But we can do better than that. Once we have the game scores, we can model them directly. Don’t model the probability of win, model the expected score differential. Something like this:

score differential ~ normal(a_i - a_j + b*home_ij, sigma_y).

The parameters a and b have slightly different interpretations now--they're on the scale of points rather than logit probabilities--but that's fine. A hierarchical model should be easy to fit. Again I'd fit a different model to each decade, or you can get more sophisticated with some sort of time series model allowing team abilities to change over the season and to have some stability between season. There's no end to the amount of modeling you can do here, if you have interest in the problem.

Once we have this model, we can simulate games and get a model-based estimate of the probability of each of the possible four-game outcomes in each season. Indeed we can do it with the actual matchups and then compare to what would happen in expectation under random matchups. The difference will give us some sense of the effect of the NFL schedule imbalances.

New course on generative AI for behavioral science

This is Jessica. It feels like an “old” course now that the quarter is almost over, but this winter at Northwestern I taught a grad seminar on Generative AI for Social Science. The goal was to survey emerging applications of generative AI (mostly language model agents) in the social sciences, with special attention to methodological and metascientific concerns that come up when AI is used to simulate or substitute for human observations or labels. I became interested in this topic last year as a result of the problems it presents to inference, but also the opportunities it may present to improve behavioral research, which we recently discussed here. 

I joined up my computer science section of the course with a Communications section led by my colleague Aaron Shaw, which resulted in a good mix of students across AI and social science. This was great for discussion, as many of the Comm students were experts in survey methods or psychology, while the CS students were more knowledgeable about how transformers work and methods for probing their internals. We also organized a workshop on validating generative AI for social science in February, which some of the students attended and therefore got to see the authors of the papers they were reading present them live.

The only downside of mixing backgrounds was occasional friction with the more formal methods papers. A few times in class there were dismissive jokes made about the more statistically-demanding papers, I assume as a result of people finding the content challenging. The course was advertised as requiring grad-level experience in stats, so they should have known what they were getting into, but I think sometimes people read these things and assume it doesn’t apply to them. My stance on these things is typically that as long as you’re doing your best to understand the material, it’s not a problem and I’ll help you get through it. But I don’t have a lot of patience with the attitude that because it’s challenging to you, it’s ok not to try to understand it. Especially in a class about why we need to take seriously the challenges that LLM simulations present for drawing valid inferences about human behavior!

This week they present project proposals, which include things like exploring new prompting architectures based in cognitive theory, using ML interpretability methods to steer models in ways informed by social science, and studying belief elicitation and uncertainty expression in language models. It’s a good topic for a seminar course because there are lots of aspects of methods that haven’t yet been explored, and thus lots of opportunity to bring social science theories to bear on how we interact with language models, or to apply the latest methods in AI or stats to behavioral science questions. 

Week 1: Course introduction:  Can generative AI transform social science?

This week we set context, reviewing proposals that argue for the transformative power of generative AI for social science.  

Optional:

  • Dillion, D., Tandon, N., Gu, Y., & Gray, K. (2023). Can AI language models replace human participants? Trends in Cognitive Sciences, 27(7), 597–600. https://doi.org/10.1016/j.tics.2023.04.008.
  • Anthis, J. R., Liu, R., Richardson, S. M., Kozlowski, A. C., Koch, B., Brynjolfsson, E., Evans, J., & Bernstein, M. S. (2025). Position: LLM social simulations are a promising research method. Forty-second International Conference on Machine Learning Position Paper Track. https://openreview.net/pdf?id=cRBg1dtj7o.

Week 2: LLMs as surrogates I: Attitudes, opinions, social behavior 

This week we start to read papers that evaluate how well LLMs can act as surrogates of humans. These readings focus on studies that use them to simulate human attitudes, opinions, and social behavior.

  • Park, J. S., O’Brien, J., Cai, C. J., Morris, M. R., Liang, P., & Bernstein, M. S. (2023). Generative agents: Interactive simulacra of human behavior. Proceedings of the 36th Annual ACM Symposium on User Interface Software and Technology, 1–22. https://doi.org/10.1145/3586183.3606763
  • Kim, Junsol, and Byungkyu Lee. 2024. “AI-Augmented surveys: Leveraging large language models and surveys for opinion prediction.” arXiv. https://doi.org/10.48550/arXiv.2305.09620.
  • Ashery, A. F., Aiello, L. M., & Baronchelli, A. (2025). Emergent social conventions and collective bias in LLM populations. Science Advances, 11(20), eadu9368. https://doi.org/10.1126/sciadv.adu9368 (very optional: you may be interested in this commentary/critique of the paper: https://doi.org/10.48550/arXiv.2505.23796).

Optional:

  • Chuang, Y.-S., Goyal, A., Harlalka, N., Suresh, S., Hawkins, R., Yang, S., Shah, D., Hu, J., & Rogers, T. (2024). Simulating opinion dynamics with networks of LLM-based agents. In K. Duh, H. Gomez, & S. Bethard (Eds.), Findings of the Association for Computational Linguistics: NAACL 2024 (pp. 3326–3346). Association for Computational Linguistics. https://doi.org/10.18653/v1/2024.findings-naacl.211
  • Hansen, A. L., Horton, J. J., Kazinnik, S., Puzzello, D., & Zarifhonarvar, A. (2024). Simulating the survey of professional forecasters (SSRN Scholarly Paper No. 5066286). Social Science Research Network. https://doi.org/10.2139/ssrn.5066286 
  • Park, J. S., Zou, C. Q., Shaw, A., Hill, B. M., Cai, C., Morris, M. R., Willer, R., Liang, P., & Bernstein, M. S. (2024). Generative agent simulations of 1,000 people (No. arXiv:2411.10109). arXiv. https://doi.org/10.48550/arXiv.2411.10109

Week 3: LLMs as surrogates II: Cognition and behavioral experiments  

This week’s material expands on the first “surrogates” set to focus on using LLMs to simulate human cognition and experimental effects more directly. 

  • Cui, Z., Li, N., & Zhou, H. (2025). A large-scale replication of scenario-based experiments in psychology and management using large language models. Nature Computational Science, 5(8), 627–634. https://doi.org/10.1038/s43588-025-00840-7.
  • Binz, M., Akata, E., Bethge, M., BrĂ€ndle, F., Callaway, F., Coda-Forno, J., Dayan, P., Demircan, C., Eckstein, M. K., ÉltetƑ, N., Griffiths, T. L., Haridi, S., Jagadish, A. K., Ji-An, L., Kipnis, A., Kumar, S., Ludwig, T., Mathony, M., Mattar, M., 
 Schulz, E. (2025). A foundation model to predict and capture human cognition. Nature, 644(8078), 1002–1009. https://doi.org/10.1038/s41586-025-09215-4.
  • Tranchero, M., Brenninkmeijer, C.-F., Murugan, A., & Nagaraj, A. (2024). Theorizing with large language models (Working Paper No. 33033). National Bureau of Economic Research. https://doi.org/10.3386/w33033

Optional:

  • Chen, Y., Liu, T. X., Shan, Y., & Zhong, S. (2023). The emergence of economic rationality of GPT. Proceedings of the National Academy of Sciences, 120(51), e2316205120. https://doi.org/10.1073/pnas.2316205120
  • Ashokkumar, A., Hewitt, L., Ghezae, I., & Willer, R. (2025). Predicting results of social science experiments using large language models. Preprint.  https://docsend.com/view/ity6yf2dansesucf
  • Peng, T., Gui, G., Merlau, D. J., Fan, G. J., Sliman, M. B., Brucks, M., Johnson, E. J., Morwitz, V., Althenayyan, A., Bellezza, S., Donati, D., Fong, H., Friedman, E., Guevara, A., Hussein, M., Jerath, K., Kogut, B., Kumar, A., Lane, K., 
 Toubia, O. (2025). A mega-study of digital twins reveals strengths, weaknesses and opportunities for further improvement (No. arXiv:2509.19088). arXiv. https://doi.org/10.48550/arXiv.2509.19088
  • Akata, E., Schulz, L., Coda-Forno, J., Oh, S. J., Bethge, M., & Schulz, E. (2025). Playing repeated games with large language models. Nature Human Behaviour, 9(7), 1380–1390. https://doi.org/10.1038/s41562-025-02172-y

Week 4: Bias, alienness, and other threats to generalization

When the goal is to learn about human behavior, relying on LLM simulations risks biasing downstream inferences. The readings survey ways that LLMs tend to misrepresent human response distributions and exhibit non-human-like errors, as well as metascientific concerns that arise from their availability as a cheap source of simulated data.

  • Wang, A., Morgenstern, J., & Dickerson, J. P. (2025). Large language models that replace human participants can harmfully misportray and flatten identity groups. Nature Machine Intelligence, 7(3), 400–411. https://doi.org/10.1038/s42256-025-00986-z
  • Messeri, L., & Crockett, M. J. (2024). Artificial intelligence and illusions of understanding in scientific research. Nature, 627(8002), 49–58. https://doi.org/10.1038/s41586-024-07146-0
  • Westwood, S. J. (2025). The potential existential threat of large language models to online survey research. Proceedings of the National Academy of Sciences, 122(47), e2518075122. https://doi.org/10.1073/pnas.2518075122
  • Mancoridis, M., Weeks, B., Vafa, K., & Mullainathan, S. (2025). Potemkin understanding in large language models (No. arXiv:2506.21521). arXiv. https://doi.org/10.48550/arXiv.2506.21521

Optional:

  • Atari, M., Xue, M. J., Park, P. S., Blasi, D. E., & Henrich, J. (2023). Which humans? (No. 5b26t_v1). PsyArXiv. https://doi.org/10.31234/osf.io/5b26t
  • Dominguez-Olmedo, R., Hardt, M., & Mendler-DĂŒnner, C. (2024). Questioning the survey responses of large language models. Proceedings of the 38th International Conference on Neural Information Processing Systems, 37, 45850–45878. https://dl.acm.org/doi/10.5555/3737916.3739374
  • Wang, P., Zou, H., Yan, Z., Guo, F., Sun, T., Xiao, Z., & Zhang, B. (2024). Not yet: Large language models cannot replace human respondents for psychometric research (No. rwy9b_v1). OSF Preprints. https://doi.org/10.31219/osf.io/rwy9b
  • Cummins, J. (2025). The threat of analytic flexibility in using large language models to simulate human data: A call to attention. arXiv preprint arXiv: https://doi.org/10.48550/arXiv.2509.13397.

Week 5: Validation I

This week we turn our attention to the methods that authors propose to use to check how well a language model simulates human behavior and draws inferences about the world, or to get valid estimates of their predictive accuracy.

  • Argyle, L. P., Busby, E. C., Fulda, N., Gubler, J. R., Rytting, C., & Wingate, D. (2023). Out of one, many: Using language models to simulate human samples. Political Analysis, 31(3), 337-351. https://doi.org/10.1017/pan.2023.2.
  • Manning, B. S., & Horton, J. J. (2025). General social agents (No. arXiv:2508.17407). arXiv. https://doi.org/10.48550/arXiv.2508.17407
  • Vafa, K., Chang, P. G., Rambachan, A., & Mullainathan, S. (2025). What has a foundation model found? Using inductive bias to probe for world models. Proceedings of the Forty-Second International Conference on Machine Learning (ICML 2025), PMLR 267. https://openreview.net/pdf?id=i9npQatSev.

Optional: 

  • Neumann, T., De-Arteaga, M., & Fazelpour, S. (2025). Should you use LLMs to simulate opinions? Quality checks for early-stage deliberation (No. arXiv:2504.08954). arXiv. https://doi.org/10.48550/arXiv.2504.08954.
  • Larooij, M., & Törnberg, P. (2025). Do large language models solve the problems of agent-based modeling? A critical review of generative social simulations (No. arXiv:2504.03274). arXiv. https://doi.org/10.48550/arXiv.2504.03274
  • Aher, G. V., Arriaga, R. I., & Kalai, A. T. (2023). Using large language models to simulate multiple humans and replicate human subject studies. Proceedings of the 40th International Conference on Machine Learning (ICML 2023), PMLR 202, 337–371. https://proceedings.mlr.press/v202/aher23a.html

Week 6: Validation II

In contrast to heuristic approaches to validation that aim to show that LLM outputs are “close enough” to human ones, statistical approaches use some human observations to learn how to correct estimates drawn from LLM observations. These readings formally motivate why heuristic validation is not enough, introduce calibration frameworks, and present empirical results on how these methods compare to other repair strategies like fine-tuning.

  • Ludwig, J., Mullainathan, S., & Rambachan, A. (2025). Large language models: An applied econometric framework (Working Paper No. 33344). National Bureau of Economic Research. https://doi.org/10.3386/w33344
  • Broska, D., Howes, M., & Loon, A. van. (2025). The mixed subjects design: Treating large language models as potentially informative observations. Sociological Methods & Research, 54(1), 1074–1109. https://doi.org/10.1177/00491241251326865
  • Hullman, J., Broska, D., Sun, H., & Shaw, A. (2025). This human study did not involve human subjects: Validating LLMs as behavioral evidence. Preprint. PDF.  
  • Krsteski, S., Russo, G., Chang, S., West, R., & Gligorić, K. (2025). Valid survey simulations with limited human data: The roles of prompting, fine-tuning, and rectification. arXiv preprint arXiv:2510.11408. https://doi.org/10.48550/arXiv.2510.11408.

Optional:

Week 7: AI as social scientist

So far we’ve mostly talked about LLMs being used as plug-in simulations for human data In surveys and experiments. This week we broaden to consider use of AI in other parts of the research process, like identifying what to research or what to manipulate in an experiment. 

  • Manning, B. S., Zhu, K., & Horton, J. J. (2024). Automated social science: Language models as scientist and subjects (No. w32381). National Bureau of Economic Research. https://doi.org/10.3386/w32381.
  • Almaatouq, A., Griffiths, T. L., Suchow, J. W., Whiting, M. E., Evans, J., & Watts, D. J. (2024). Beyond playing 20 questions with nature: Integrative experiment design in the social and behavioral sciences. Behavioral and Brain Sciences, 47, e33. https://doi.org/10.1017/S0140525X22002874 (See also commentaries on this article).
  • Si, C., Yang, D., & Hashimoto, T. (2024). Can llms generate novel research ideas? A large-scale human study with 100+ nlp researchers. arXiv preprint arXiv:2409.04109.

Optional: 

  • Musslick, S., Bartlett, L. K., Chandramouli, S. H., Dubova, M., Gobet, F., Griffiths, T. L., … & Holmes, W. R. (2025). Automating the practice of science: Opportunities, challenges, and implications. Proceedings of the National Academy of Sciences, 122(5), e2401238121.
  • Tong, S., Mao, K., Huang, Z., Zhao, Y., & Peng, K. (2024). Automating psychological hypothesis generation with AI: When large language models meet causal graph. Humanities and Social Sciences Communications, 11(1), 896. https://doi.org/10.1057/s41599-024-03407-5

Week 8: Causal discovery & explanation

Continuing with the theme of using AI to design experiments or support theory, this week we look at using models or interpretability methods to learn representations of stimuli or outputs to support causal inference, discover outcomes in text, and theorize about human behavior.  

  • Imai, K., & Nakamura, K. (2025). Causal Representation Learning with Generative Artificial Intelligence: Application to Texts as Treatments. arXiv preprint arXiv:2410.00903
  • Modarressi, I., Spiess, J., & Venugopal, A. (2025). Causal inference on outcomes learned from text. arXiv preprint arXiv:2503.00725.
  • Zhu, J. Q., Xie, H., Arumugam, D., Wilson, R. C., & Griffiths, T. L. (2025). Using Reinforcement Learning to Train Large Language Models to Explain Human Decisions. arXiv preprint arXiv:2505.11614. https://doi.org/10.48550/arXiv.2505.11614.

Optional:

  • Tak, A. N., Banayeeanzade, A., Bolourani, A., Kian, M., Jia, R., & Gratch, J. (2025). Mechanistic interpretability of emotion inference in large language models. Findings of the Association for Computational Linguistics: ACL 2025 (pp. 13090–13120). Association for Computational Linguistics. https://doi.org/10.18653/v1/2025.findings-acl.679.
  • Movva, R., Peng, K., Garg, N., Kleinberg, J., & Pierson, E. (2025). Sparse Autoencoders for Hypothesis Generation. Proceedings of the 42nd International Conference on Machine Learning, PMLR 267:44997-45023. https://proceedings.mlr.press/v267/movva25a.html.
  • Zhu, J. Q., Peterson, J. C., Enke, B., & Griffiths, T. L. (2025). Capturing the complexity of human strategic decision-making with machine learning. Nature Human Behaviour, 1-7. https://doi.org/10.1038/s41562-025-02230-5.
  • Kim, J., Evans, J., & Schein, A. (2025). Linear representations of political perspective emerge in large language models. arXiv preprint arXiv:2503.02080. https://doi.org/10.48550/arXiv.2503.02080

Week 9: Belief-like representations and Bayesian inference

Behavioral scientists often take for granted that people have beliefs, attitudes, desires, and other mental states. This week we look at proposals for how to look for similar representations in language models. We also consider a Bayesian formulation of the prompting process that describes how the researcher’s expectations of reasonable data influence what they generate with language models.

  • Herrmann, D.A., Levinstein, B.A. Standards for Belief Representations in LLMs. Minds & Machines 35, 5 (2025). https://doi.org/10.1007/s11023-024-09709-6. 
  • Yamin, Khurram, Jingjing Tang, Santiago Cortes-Gomez, Amit Sharma, Eric Horvitz, Bryan Wilder.  (2026). Do LLMs Act Like Rational Agents? Measuring Belief Coherence in Probabilistic Decision Making. https://arxiv.org/abs/2602.06286.
  • Misra, S. (2025). Foundation Priors. arXiv preprint arXiv:2512.01107.

Optional:

Herrenvolk democracy and objections to ethnic political representation

I go onto Twitter and Bluesky every morning to post the link to the new day’s blog post. When I go on Bluesky, I know what to expect: it shows me a list of my recent posts. Twitter does something different: it gives me some general-interest feed, some mix of home improvement videos, celebrities, politics, and whatever has recently liked by Elon Musk. The above post came up this morning.

Usually I find such posts annoying, but this one was convenient because it overlaps with some of what we’re covering next week in our course, Rationalizing the World: The Hopes and Disappointments of American Social Science, 1900 to the Present:

Week 6: Democracy and totalitarianism

The new challenge of the 1940s was the cold war: fascism was defeated, but communism remained and was stronger than ever. The ideological struggles of the twentieth century led scholars to study different forms of modern government and how they have developed in the United States and elsewhere. We consider the connections between various forms of democratic and authoritarian government and their connections to domestic politics and colonialism.

In particular, we have several readings related to “herrenvolk democracy,” which is the term used for countries such as apartheid South Africa and the U.S. south that had democratic governance but with the vote restricted to members of the ruling ethnic group. We compare this practice to universal democracies, completely non-democratic systems, and colonial systems such as the former French Algeria, the territories controlled by Israel, American Indians in U.S. territory, and various past restrictions on suffrage based on property ownership and sex.

I can’t be sure, but I think that in the above post, Musk is expressing support for a sort of politics of ethnic separation, where Pakistan is populated by ethnically Pakistani people with Pakistani accents and wearing Pakistani clothing and Scotland is populated by ethnically Scottish people with Scottish accents and wearing Scottish clothing.

It’s easy to poke holes in this sort of thing–for one thing, “Pakistani” is itself a relatively new nationality; for another, there are ethnic divisions even among national groups; for another, Musk himself lives in the U.S. but he’s from South Africa–I guess this is OK by him because he now dresses like an American, and his South African accent is not too thick, but then of course it raises the question of how his nationality principle would work in a multiethnic country such as the United States or South Africa which have many languages, accents, and clothing styes. At this point perhaps his reply would be that the U.S. and South Africa would be better off if they were not multiethnic, but it’s not clear what could be done about that. It’s not like you could split the countries into separate, homogenous bits: all sorts of people live in all these places. Beyond all this is the history of colonization, in particular including Musk’s example of Pakistan and Scotland: as the saying goes, “We are here because you were there.”

OK, fine. A political slogan doesn’t have to be logically coherent: it just needs an emotional appeal coupled with some connection to a current political dispute–in this case, Musk wants people to vote for anti-immigrant parties in the U.S. and the U.K. I think he’s holding Pakistan as a sort of ideal, in the sense there are not a lot of people of European descent living there, so they don’t currently have to worry about ethnic outsiders holding political office.

But let’s step back and think about this in terms of political theory. Herrenvolk democracy isn’t on the table in the U.S. or even in South Africa. So what would Musk’s ideal be here, beyond his goal of not letting more people enter the country who he would consider suitable in their politics, ethnicity, language, and clothing? Maybe some system of separate ethnic voting, where different groups vote for their own political leaders, and then these leaders of the different group negotiate in some sort of cabinet? I think they had this system in Lebanon for many years, also Belgium is divided up in this way.

The point here is that we can think of herrenvolk democracy not just as a historical throwback (or, in the case of Israel, as a sort of living fossil) but rather as a response to political conditions, an available solution to a problem perceived by some powerful people.

In this course, I’m trying to help students see social and political events, and social science theories, in their historical contexts, and this is a good example. To someone in Musk’s position, straight-up democracy is unacceptable, but he recognizes that any system needs some form of legitimacy, and that’s leading him in this direction, of centering legitimacy in ethnicity. His South African background is part of the story, but given how many countries have herrenvolk traditions, you could just as well say the same thing if his background were English, or French, or American, or all sort of other nationalities.

Again, I’m not saying that Musk is wrong, or that he’s right, to be upset that Scotland has enough ethnic diversity to support the election of politicians who don’t dress the way he likes. People are free to be upset about whatever they want. It’s more that this is an example of the sort of elite panic that can motivate social science theory as well as policy.

My online talk Tues 24 Feb, 9am NY time at the Behind-the-Scenes seminar series: Russian Roulette and stochastic potential outcomes

I’m speaking at this online seminar Tues 24 Feb, 9am NY time:

The Behind-the-Scenes Seminar Series is designed to learn about the production process of research papers, offering an opportunity for students and researchers in all fields and at all career stages to engage with the challenges encountered during project development and how they were overcome.

Unlike most research seminars that focus on the research findings, this series will be dedicated to discussing the research process. Not only this, the seminars will also feature a live survey to gauge the audience’s expectations regarding the journey of the paper and compare them with the speaker’s actual experience.

What happened is that a few months ago the seminar organizers (three economists: Vatsal Khandelwal, Séverine Toussaert, and Jasmin Baier) wrote to me:

Speakers not only present their findings but also share the story behind their research, from the initial idea and design choices to data or modelling challenges and unexpected results.

Our aim is to foster openness, reflection, and engagement in the research community by highlighting the often-invisible processes that shape scientific work.

Would you be willing to suggest a paper you could cover? Ideally, it would be something that has already been accepted for publication, so that we can discuss the full journey, including the submission and review process.

I replied:

Here’s a list of our published research from last year.

If you go to that link and scroll down to “The stories behind the papers,” you’ll see where each paper came from.

So, if you want, you can pick one or more papers from that list that have good origin stories.

They responded that, as economists, they were most interested in the Russian roulette project.

It should be fun, to speak not just on the research itself but on where it came from and how it came to be published. It’s a joint paper with Jonas Mikhaeil, and we came up with the idea after hearing from Amanda Kowalski about her recent paper with Neil Christy, which got us thinking about what you can get from stochastic models for potential outcomes.

Here’s our published paper, “Russian roulette: The need for stochastic potential outcomes when utilities depend on counterfactuals,” and here’s the abstract:

It has been proposed in medical decision analysis to express the “first do no harm” principle as an asymmetric utility function in which the loss from killing a patient would count more than the gain from saving a life. Such a utility depends on unrealized potential outcomes, and we show how this yields a paradoxical decision recommendation in a simple hypothetical example involving games of Russian roulette. The problem is resolved if we abandon the stable unit treatment value assumption and allow the potential outcomes to be random variables. This leads us to conclude that, if you are interested in this sort of asymmetric utility function, you need to move to the stochastic potential outcome framework. We discuss the implications of the choice of parameterization in this setting.

We learned a lot from writing this paper and we’re continuing to think about the topic.

So, if you want to hear more, you can go to the Behind the Scenes website and sign up to get the zoom link. And here’s our blog discussion of the paper from last year.

The stupidity, the criminal vandalism, the wanton destruction of information involved in dichotomisation

This is Erik. Stephen Senn, Frank Harrell and I wrote a paper about the malpractice of dichotomizing numerical outcomes in clinical trials.  The paper is pretty short, but there’s an even shorter summary (with many interesting comments) on Frank’s Datamethods Discussion Forum. We write in the abstract:

We have studied 21 435 unique randomized controlled trials (RCTs) from the Cochrane Database of Systematic Reviews (CDSR). Of these trials, 7224 (34%) have a continuous (numerical) outcome and 14 211 (66%) have a binary outcome. We find that trials with a binary outcome have larger sample sizes on average, but also larger standard errors and fewer statistically significant results. We conclude that researchers tend to increase the sample size to compensate for the low information content of binary outcomes, but not sufficiently.

We continue:

In many cases, the binary outcome is the result of dichotomization of a continuous outcome, which is sometimes referred to as “responder analysis”. In those cases, the loss of information is avoidable. Burdening more participants than necessary is wasteful, costly, and unethical.

Stephen wrote a short post on Linkedin where he doesn’t mince words:

Year in, year out, for a length of time which is only awarded to statistical survivors (no, this is not about immortal time bias), I have been banging on about the stupidity, the criminal vandalism, the wanton destruction of information involved in dichotomisation. It not only inflates standard errors and increases necessary sample sizes, thereby blurring inferences, while bloating budgets, delaying development, and obliterating other opportunities but it also rots brains, causing causal confusion via the number needed to trick.

In the paper, we use a simple method to get an approximate sense of the loss of information across the clinical trials in the Cochrane Database of Systematic Reviews (CDSR). We also made a shiny app which does two things. First, it calculates the loss of information after a “responder analysis” has been perpetrated. Second, the app can take a sample size calculation for a two-group parallel comparison of proportions and (assuming the proportions result from dichotomizing a continuous outcome) calculate the required sample size if one would not dichotomize. We hope that this will discourage would-be dichotomizers.

What to do in 2026: Your statistics diary

I posted this eleven years ago and it’s still relevant:

For the last two weeks of our class on statistical communication, I gave my students the following assignment:

Every day, you will write an entry in your statistics diary. Just set up a text or Word file and add to it each day. The diary entries can be anything. They can be short slice-of-life observations (“Today Jakey asked me what he would be the best at in ten years: piano, soccer, judo, chess, or fencing. This made me wonder: how predictable are such things? How would we gather data to measure this?”), quick research notes (“Someone emailed me a graph of birthday data from Brazil! I sent it to Aki along with a link, maybe he or a student can fit our model. Apparently Brazil has different holidays than we do in the U.S.”), or things you’re working on, difficult statistics problems that you might be stuck on, or have an insight about. You can write as little or as much as you want each day. The only requirement is that you write something new in it, every day. You’re not allowed to go back a week later and fill in 7 entries at once. That would be cheating. One entry each day. Just type it in to the file.

Here are some of their diaries, which I’m posting here for three reasons: First, I had a lot of fun reading these, and I think you will too; second, for you teachers out there, maybe you’ll now be inspired to try this “statistics diary” thing out in your own classes; third, I’m teaching statistical communication this spring, and now that I’ve posted this, I can point students to this link so they can get a sense of what their diaries can look like.

I was thinking of posting just my favorite entries, but I decided it would be best to present each students’ diary entire, in order to give a clearer sense of what they were doing.
Continue reading →

“Statistics is widely understood to provide a body of techniques for ‘modeling data.'”

John “Bayesian Data Analysis” Carlin writes

Recent developments in the methodology of epidemiological research have emphasized the importance of achieving clarity of purpose by classifying research questions into one of three types: descriptive, predictive, and causal. . . .

I [Carlin] do not believe that studies aiming to “identify” independent predictors or “prognostic factors” are addressing well-defined research questions. Indeed, beyond the issues already raised, there is a broader question of the extent to which it is ever sensible to frame a research question as if it could be answered dichotomously, as in “is this an (independent) prognostic factor?” Prediction questions, which include prognosis, are those that involve the development of a model or algorithm to provide predictions of outcomes using available variables that are potential predictors.

This all makes sense. I kinda think that descriptive, predictive, and causal are all the same thing–or, more precisely, that “descriptive” and “causal” are special cases of “predictive,” under different conditions. But if you want to divide them into three tasks, sure, go for it. Personally, I’d rather divide statistics into the goals of exploration, estimation, and discrimination, but I think that’s because I’m thinking in a more general “data science” perspective, whereas John is focusing more on the more traditional problem of inference.

But, yes, I agree with him 100% on avoiding dichotomization, a topic that Sander Greenland, I, and others have been screaming about for a long time–indeed, John and I contributed to the anti-dichotomization theme in our book Bayesian Data Analysis, in that we focused on model building and inference within a model, rather than on the then-fashionable problem of choosing among or comparing models using Bayes factors. So, yes on that.

John continues:

Some variables may have greater predictive value than others, but this should be assessed by comparing the predictive value of the model or algorithm with and without the use of that variable, not by examining its “independent effect” in a multivariable regression model.

I’m confused on this point. I mean, sure, I agree that you shouldn’t label a regression coefficient as an “independent effect”; indeed, I always use the terms “predictors” and “outcome” rather than “independent and dependent variables.” Beyond this, I’m not quite sure what John is suggesting. Suppose you have a predictor of interest, x3, and you’ve fit the model y ~ x1 + x2 + x3 (for convenience using standard R notation). I guess John is saying, don’t just look at the coefficient for x3 in that model; also compare it to the model y ~ x1 + x2. Maybe this is a good idea–it’s not something I’ve thought about for a while. Is this the same as what used to be called “partial regression coefficients”? I remember from the statistical literature in the 1960s and 1970s that there was a lot of work on methods for understanding what happens in linear regression when you add one variable at a time. Perhaps it would be good to revisit some of those ideas, and maybe it’s a mistake that we don’t cover them in Regression and Other Stories.

I also want to plug my paper with Guido Imbens (also included as Section 21.5 in Regression and Other Stories), Why ask why? Forward causal inference and reverse causal questions. Our point there is that it can be a good idea to search for prognostic factors in observational data, not with the idea this will identify causal effects but rather as a way of understanding what’s missing from our existing models.

Finally, John writes:

More broadly, debates on whether to “adjust” or not for certain variables in a regression model can only be answered by situating the analysis within a sharply defined research question and a sharply defined rationale for specifying a regression model in the first place.

I don’t get this at all. First I don’t get why “adjust” is in scare quotes; second, ummm, yeah, it’s always good to have a sharply defined research question, but in the meantime people are always making comparisons, and so let’s do what adjusting as we can. For example, in an epidemiology study it should pretty much always be a good idea to adjust for age and smoking history. Or maybe John would say that the rationale for adjusting for age and smoking history is sharply defined, in which case maybe we’re in agreement.

To put it another way, it’s often a good idea to have a sharply defined research question–but that applies in general, not just for statistical adjustments. I think it’s also true that it’s better to have a sharply defined research question when performing a randomized clinical trial. A randomized clinical trial gives identification for the sample average treatment effect in any case–but without a sharply defined research question, it’s not clear what can be done with such an estimate.

So I’m wary of John singling out adjustment in his criticisms, as I fear his article will be taken as implying that, if you don’t try to adjust, that everything will be ok.

I sent the above comments to John, and he replied:

– I [John] don’t think it helps to say everything is actually prediction — it kinda goes against the idea of sharp specification of purpose! I’m not sure if my interest is “the traditional problem of inference” (not sure what you mean by that). I see it being about drawing conclusions that will be relevant to policies, decisions and practices in medicine and health. In this area, the question is usually causal (people want to say something about the effect of an intervention or exposure) but could be descriptive (“burden of disease” etc) or prediction (we want an algorithm for advising patients etc). The desired answer to the question (if causal or descriptive), and therefore the embodiment of the “sharp” question, should be a well-defined population parameter — as Don Rubin used to say, what would the number be if you had the whole population of interest (and could measure potential outcomes under both conditions for a causal question)…

– You write: “Suppose you have a predictor of interest, x3, and you’ve fit the model y ~ x1 + x2 + x3…” I can’t make sense of this unless you tell me why you’ve specified this model and what you hope to learn (re question of interest) from it. See all the stuff about “true model myth” in our papers.

– Re “it should pretty much always be a good idea to adjust for age and smoking history”, no!!! This is the whole point of a lot of discussion in modern epidemiology/ causal inference, that you should consider very carefully what you “adjust for” and why. The “scare” quotes are actually real quotes, reflecting that people use this terminology (of adjustment) with a whole range of ill-defined intentions, so the term “adjust for” is not well defined. There are some brief examples in the short paper that you’re commenting on that try to highlight why “adjusting” is often poorly understood and not serving a well-defined purpose. There’s a lot of writing in the epi causal inference literature about the dangers of over- or under-adjusting, and methods (usually using DAGs and always requiring substantive non-statistical assumptions) to figure out what should be adjusted for (in causal questions).

In response to John’s response, let me just say:

– The problems that he refers to, of causal inference, decision making, and description, can all be characterized as predictions conditional on some inputs. I agree 100% with John that it’s important to consider your applied goals. My statement, “‘descriptive’ and ‘causal’ are special cases of ‘predictive,’ under different conditions,” is not at all meant to deny the relevance of applied goals. The key question is what to predict, and “prediction” does not just mean prediction for new data that look just like your observed data, or for some specified test set, or whatever.

– I can change my example with x1, x2, and x3 to a real-world example from political science, for example a model of elections of legislative elections from our 1990 paper where y = Republican share of the two party vote in a district, x1 = Republican vote share in the previous election, x2 = incumbency status in the current election, x3 = incumbent party indicator. I don’t actually think that linear regression is the best model here (see our update from 2008). Anyway, in this model our goal was to estimate the incumbency advantage, defined as the expected difference in vote share for a party if an incumbent was running, compared to if it were an open seat. Our reason for including multiple predictors in our regression is not because we think any of our models are approximating a true data generating process or because we think that adjustment is sufficient to control for all confounding bias. We’re just doing the best we can here, keeping our applied goals in mind.

– Regarding age and smoking history: Sure, it depends on the goals. I was imagining a study of some medical intervention with treatment and control groups, where the patients have a mix of ages, and the outcome of interest is survival. For that sort of problem you’ll want to adjust for age and pre-treatment smoking history: even in a randomized trial there will typically be some imbalance on these important predictors, and in an observational study the imbalance can be large. And, relevant to John’s point, how you do this adjustment can be important. For example, simply including age as a linear predictor or an indicator for age > 65 might not do a good job. It also can be important for the model to the treatment effect to vary by age and smoking history, and I wouldn’t want to imply that any particular adjustment will solve all problems here. What is a reasonable adjustment procedure will depend on context, and problem-specific knowledge will help.

John also reminded me that a couple years ago we posted on John and Margarita Moreno-Betancur’s preprint, “On the Uses and Abuses of Regression Models: A Call for Reform of Statistical Practice and Teaching.” In the discussion thread, John wrote:

The idea that the method or technique is central is the fundamental problem that we identify, and we propose that this can only be addressed by turning the initial focus of teaching to the purpose or research question. This needs to be done very seriously, i.e. there should be no “general theory” of regression models, or of how to fit them “well” . . .

There has been a longstanding tendency to identify the role of the biostatistician with models and estimation techniques, undervaluing the essential role of statistical thinking in framing well-specified research questions. In contrast, our key assertion is that the three types of question need to be taken seriously, at the beginning of every analytic investigation. Identifying the type of question requires considerable reflection and discussion between statistician and collaborator. Once identified though, very briefly, if you have a prediction question, you might then think about tools A and B for developing prediction algorithms (multivariable regression being a great one if done well)
 If you have a descriptive question, the first thoughts for analysis might be simple descriptive statistics, but there might be complicating issues to attend to (re sampling bias, perhaps, for which some regression technology might help). If you have a causal question, then you need to get serious about defining the question precisely, in terms of a target parameter or estimand, before thinking about the potential role for models to assist in estimating that quantity. Rather rarely, we suggest, will this target parameter be naturally defined by a coefficient in a regression model, although under carefully considered assumptions a regression coefficient might be relevant.

I think I agree with everything John is saying here–as long as you’ll accept my interpretation! When John writes, “there should be no ‘general theory’ of regression models, or of how to fit them ‘well'” . . . ummmm, my colleagues and I wrote this book, Regression and Other Stories, so obviously we do think there’s general advice we can give for regression models, and of course there’s mathematical theory (least squares, etc.). Is there a “general theory”? I guess it depends what is meant by that. In our book we recommend starting simple and then building up from there as needed based on the applied goals. This is some sort of principle, but it’s not a “general theory,” if by that John means a particular algorithm such as stepwise regression or lasso or horseshoe or whatever.

Then again, for regression there can never be a general theory, in that the most important part of a regression is typically the choice of what predictors to include. Indeed, I’ve been loudly (and, I think, correctly) critical of regression discontinuity analyses that don’t include enough predictors to account for pre-treatment differences between treatment and control. (An extreme example of this was a regression predicting remaining years of life which did not include current age as a predictor.)

The year after that discussion, John and Margarita’s paper was published;
here’s the final version. The journal also published some discussions and a rejoinder.

I read these two articles in full, and I pretty much agree with everything that John and Margarita are saying. I agree, for example, with their statement that “it is not logically possible for a single multivariable regression model,” and I think the points they make in their article are consistent with the approaches recommended in our books, Bayesian Data Analysis, Data Analysis Using Regression and Multilevel/Hierarchical Models, Regression and Other Stories, and the forthcoming Bayesian Workflow. Indeed, their recommendations also jibe with the statistical analyses performed in our book, Red State, Blue State, Rich State, Poor State.

Given all this, perhaps the question is, what is the role of default statistical procedures and generic statistical advice? We wrote Regression and Other Stories based on the knowledge that researchers will be making comparisons with various predictive and conditionally predictive goals, including causal inference, and they will be applying linear and logistic regressions to this task. With that in mind, I think it’s valuable to teach people how to understand the meaning of the expression, y = a + bx + error, along with more complicated expressions, how to interpret standard errors, how to graph data and fitted regression lines, how to avoid common pitfalls in understanding, and so forth.

It’s kinda like . . . math is used for all sorts of purposes. You can’t “do calculus” in an applied sense without having some sense of your real-world goals. Even so, general-purpose math textbooks can be useful. There are general techniques for differentiation and integration, general ways of understanding concepts such as the slope of a line and the area under a curve, etc.

To get back to statistics and regression modeling, here’s the beginning of Section 1.1 of Regression and Other Stories:

I guess we take it as a given that the only reason people are doing this is that they have some applied goals. We continue right away in that chapter with several examples.

That said, I get it when John and Margarita lament that “statistics is widely understood to provide a body of techniques for ‘modeling data.'” This is a concern. In our books we always try to start with the applied question before getting to the data, but sometimes we take the application for granted and don’t spell out the goals. Also, just as mathematical methods exist in an abstract sense without any application (2*2=4, hey!), various statistical methods and principles exist independently of examples, and indeed these are the kind of things that are worth teaching in a statistics course. So it’s complicated. I don’t think there are any easy answers. Maybe there should be a short new book explaining the ideas in John and Margarita’s article, but I don’t think this would take the place of books like Regression and Other Stories and Bayesian Workflow, which are focused on techniques for building models, fitting them, and understanding them once they’ve been fit, nor will it take the place of more mathematical books that derive the methods that we use.

1 quick tip to improving student participation in your class (motivated by a principle in poker)

There’s a principle in poker that success is determined not so much by successful bluffs or close calls, but (a) the ability to fold a losing hand before it’s too late, and (b) the ability to get the most out of your best opportunities. The most important thing is not just to win with your good hands, but, when you win, to win big. To put it another way, success requires not being satisfied with small victories. The real pressure comes not when you have a mediocre hand and you’re agonizing over whether to stay in, but when you have the nuts and you’re trying to maximize your gain.

I was thinking about this the other day after having a conversation with a small group of students about how I could get more participation in class. As with many teachers, I often have difficulty getting students to speak up in the classroom. My main trick is to have students work in pairs, and there are a few other things I do—-for more on this, see chapter 1 of Active Statistics—-and it kinda works in that students do stay busy and focused in class, but we still don’t get the sort of lively discussions I’d like to see.

But this latest conversation in my office gave me an idea. In this mini-brainstorming session, different students in the group had suggestions, and I responded to each. And then I suddenly realized a pattern: after every student spoke, I responded. That’s natural: they’re talking to me, also they’re talking on a topic I’ve thought a lot about before, so when they say something, it’s natural that I’ll have immediate followup thoughts. Indeed, new ideas will typically come to me even before the other person has stopped talking. Also, that’s how conversation usually goes: someone will speak, I’ll reply, they’ll respond, etc.

But in roomful of students, if I do what seems natural and follow up each student’s question with my response, this takes away much of the life of the discussion. What I need to do, when student A speaks, is to just say nothing, or maybe make a brief nod of acknowledgment, to give the opportunity for students B, C, and D to join in. As it is, I’ve implicitly trained them to wait for my response, and that’s not good.

OK, this won’t always work, especially not at first. I’m waiting for class participation and, if I’m lucky, one student will speak up and say something, and that’s it. At that point it can help for me to keep the conversation going. But when students show some interest, when multiple students are leaning forward, ready to jump in, that’s the time for me to be careful and keep the student involvement going. In poker terms, this is the chance for a big win, and it’s important to do things right.

To put it another way, rather than getting frustrated at the times that I feel students should be participating but they’re not, I should just be willing to “fold” in such settings. My extra effort should be going into facilitating active participation in those settings where I’m holding some good cards, as it were, and students are ready to join in.

I’ll try this in future classes. I doubt it will work all at once–sometimes you just have to wait until you get a good hand–but I’ll try to remain aware of the possibility and take advantage when it happens.

When in doubt (in teaching and in research) do a simulation on the computer.

The other day I taught my class and it didn’t go so well. Some students had a question about the central limit theorem–the point is that a sum of many small independent terms will be approximately normally distributed, but that won’t be the case if some of the terms have very long tails or if they have strong dependence or if there is one very large contributor to the sum. I gave as an example the distribution of heights: the distribution of heights of adult women or adult men is approximately normally distributed, but the distribution of heights of all adults is not. This is shown in the above figure from page 41 of Regression and Other Stories.

But this wasn’t so clear to the students. Or, to put it another way: Some students in the class already understood the central limit theorem, and my talking through it in this way didn’t add anything to their understanding; other students in the class had only a vague conception of central limit theorem, and my explanation didn’t help.

This is a not unfamiliar experience for a teacher: you feel like you are talking into a void but it’s not clear what to do next. Keep talking, or just give up.

OK, let me not overstate the problem. The class was not a disaster! This whole episode took only a few minutes, and we moved on. Still, I hate to waste the student’s time, and also I really don’t like to get into this mindless-lecturing vibe. I was just parroting the explanation of the central limit theorem that was already in print, and it would’ve been better for me to have just pointed the students to the relevant page in the book and then move on.

But there’s another way–as I remembered on the walk back to my office after the class was over.

It’s always an option to do a simulation on the computer. It’s win-win: you’re teaching programming as well as statistics, and also the code you write provides an opening for students to explore further on their own.

Here’s an example. First I set things up to perform a simulation and display multiple graphs:

par(mfrow=c(2,2), mar=c(3,3,1,1), mgp=c(1.5,.5,0))
set.seed(123)

Then I simulate a million instances of a random variable formed by adding 10 little pieces:

N <- 1e6
K <- 10
y_individual <- array(NA, c(N,K))
for (k in 1:K){
  y_individual[,k] <- runif(N, 0, 1)
}
y_sum <- rowSums(y_individual)

This should look a lot like a normal distribution:

hist(y_sum)

I then add a big fat new term so it won't look normal anymore:

y_sum_2 <- y_sum + 10*rbinom(N, 1, 0.5)
hist(y_sum_2)

These are almost too separated to be convincing so I try a smaller separation:

y_sum_2 <- y_sum + 3*rbinom(N, 1, 0.5)
hist(y_sum_2)

To get something more interesting I can move them together and give the two modes unequal weight:

y_sum_2 <- y_sum + 2*rbinom(N, 1, 0.4)
hist(y_sum_2)

Lots more could be done. The point is that I could do the above in a few minutes and it provides the basis for student input. For example, I could ask students to work in pairs and try to come up with other ways to defeat the central limit theorem. This will be much clear with runnable code than with me scrawling math on the blackboard.

I've already said that how much I like simulated-data experimentation when doing applied or methodological research . . . ummm, here are some old posts on the topic:

- Fake-data simulation as posterior predictive checking: A formalization of the folk theorem of statistical computing!

- Why I like hypothesis testing (it’s another way to say “fake-data simulation”):

- (What’s So Funny ‘Bout) Fake Data Simulation

- Simulated-data experimentation: Why does it work so well?

- Yes, I really really really like fake-data simulation, and I can’t stop talking about it.

And that last post has a bunch more old links at the end.

A funny mismatch between the level of the course and what the instructor is doing on the blackboard

I was doing some web searching and came across this article from 1994 by Mahmoud Sayrafiezadeh, which begins:

The birthday problem asks for the probability that at least two people in a group of k people will have the same birthday. . . . The present work was motivated by the need to provide an approximation formula for the solution of the birthday problem in a liberal arts course on the Nature of Mathematics. The main result enables students who have not yet studied calculus to approximate solutions to birthday-type problems.

So far, so good. But here’s the funny part. The article continues with some formulas:

OK so far, maybe. I suspect that this level of technical detail will already confuse the liberal arts students who have not yet studied calculus, but, who knows, maybe this person was able to teach it in the classroom.

But now things start to get really hairy:

At this point, I can’t believe that those liberal arts students who have not yet studied calculus are following. I don’t mean this as an insult to the students! Mathematics is a foreign language to most people, and it’s not a disparagement to say that non-math-speakers will be challenged by the above expressions, any more than it’s disparaging me to say that if you talk to me fast in Spanish, I’ll quickly get lost.

The article continues:

And a bit later it really gets going:

If this is the elementary version for the non-calculus-based liberal-arts course, I hate to think what this teacher did for the advanced classes. Maybe they’d prove the Riemann hypothesis as a homework problem?

Again, I assume there’s nothing wrong with the content of the paper; it’s just funny to think of someone teaching math to liberal-arts students and not being able to resist all this technical stuff. I guess most of us are like this when we teach!

P.S. I showed the above to someone who was a teaching assistant for math classes, and he said it reminded him of the famous xkcd quartz cartoon.

Everything I need to know I learned in Little League

This post is by Bob

“Little League” is what we call baseball for kids in the United States. I often tell people that I learned a ton about how to behave and how to approach problems, teamwork, and life in little league. Turns out I’ve been saying that for a while. My sister just sent me this little poster I made for my dad at some point.

Dad repeated this advice regularly, even decades after my baseball-playing days. I still believe it’s good advice, so I’m sharing.

I put the most important advice first—keep your eye on the ball. That’s really key to just about anything.

I have found that hustle is also really critical in life. Dad and I loved hustling baseball players like Pete Rose. Dad used to drive me from Detroit to Cincinnatti in the early 70s to see the Big Red Machine in person, then drive back for work the next day. I find it demoralizing today how players just watch their hits rather than hustling as soon as there’s contact. I really miss “little ball”, which is why Cleveland’s my favorite team (that and it’s Mitzi’s home town).

The staying loose part is also really important and really hard. No editor, so I included keeping your eye on the ball twice. Without the duplication, I could have saved enough space to not cramp the bottom—otherwise, my graphical layout’s pretty good.

For me, sportsmanship is really critical. I also makes me sad that players only shake hands with their own team after the end of the game. We always had to go and shake every other player’s hand and tell them “good game” (even if it wasn’t). And the pros did the same.

I can’t emphasize the teamwork advice enough for the real world—part of that should have said “there’s enough credit to go around.” I should have put that higher up. Listening to how star players respond to interviews is key—it’s usually along the lines of, “I’m just trying to play my role and help the other 8 guys out on the field.”

Getting in front of the ball is also super important not only literally in baseball, but also metaphorically in life. You can do so much by just getting in front of the ball. It might hurt a bit when it hits you if you can’t catch it cleanly, but at least it didn’t get by you! I might rephrase “throw overhand” as “take the straight ahead approach” rather than “trying to get fancy.”

As a bonus, my sister also sent along this photo of our Little League days in Detroit.

That’s dad in the back and me on the far left of the back row. This is 1972 or 1973, so I was 8 or 9 years old (top row, far left) and dad was only 29 or 30. At the time this was taken, he was paying his way through law school photographing sports teams and accident scenes (I tagged along to both and “helped” in the darkroom). I love the attention to detail in the arrangement of gloves on the first row and the classically crossed bats—I also learned photography and design from dad, not to mention printing. Also notice how poor the neighborhood was. One of my teammates, Adam (can’t recall his last name), is wearing dress shoes; you can’t see Tibor’s shoes in the back, but they were mostly duct tape. We couldn’t even afford new baseballs, so I’m not sure how dad managed the spiffy uniforms—probably shilling a pizza joint or auto body repair on the back.

 
 

EVERYTHING I NEED TO KNOW I LEARNED IN LITTLE LEAGUE*

DAD ON THE GAME
keep your eye on the ball

DAD ON HUSTLE
run, don’t walk

DAD ON BATTING
stay loose, keep your shoulder down & keep your eye on the ball

DAD ON SPORTSMANSHIP
don’t be a bad loser & don’t be a bad winner; shake hands

DAD ON TEAMWORK
there are 8 other players to help you

DAD ON FIELDING
get in front of the ball & keep your eye on it

DAD ON THROWING
overhand, it goes straight

* FROM MY DAD [Mack L. Carpenter]

StanCon 2026 registration and abstract submission are now open

Registration for StanCon 2026, 17-21 August, in Uppsala, Sweden, is now open! You can already register and submit abstracts for contributions. Our first keynote speaker will be announced soon.

New this StanCon: In addition to tutorials, we are introducing workshops. These are structured similarly to workshops at other conferences. We will provide three-hour rooms on the Friday of StanCon 2026 for contributor-led mini-conferences to empower the community to shape the meeting by diving deep into emerging areas and shared interests.

Submit your abstract at https://www.stancon2026.org/abstracts/

Register for StanCon 2026 at Registration – Stan Conference 2026

Deadlines

  • 28 January: Workshop and tutorial proposal deadlines; early poster acceptance deadline (for participants needing early confirmation)
  • 25 February: Oral presentation abstracts deadline
  • 27 May: Final poster submission deadline
  • 10 June: Early-bird registration deadline

Please share this announcement with anyone who might be interested!

— The Local Organising Committee
MÄns Magnusson, Sara Hamis, Aki Vehtari