Skip to content

Statistical Rethinking 2026: Lecture A08

Solutions to the homework assignment.

Level Beginner
Tags Causal inferenceMCMCItem response theory
Links Stan R Python Julia

In this eighth exercise from the beginner section, we’re using ulam and MCMC diagnostics for the first time. We modify the item response model from the lecture to find out wether French and American judges differ in how they rate wine by estimating (total) causal contrast.

Even if you’ve never heard of item response models before, this shouldn’t be especially difficult, because we really just modify what McElreath showed in his lecture.