Huib Meulenbelt writes: Assume we have the following hierarchical Bradley-Terry model: data { int<lower=0> K; // players int<lower=0> N; // number of rallies int<lower=1, upper=K> player_a; // player a int<lower=1, upper=K> player_b; // player b int<lower=0> y; // number of … Continue reading …