Analysis of clinical trials


I wanted to implement the model described in “Bayesian random effects meta-analysis of trials with binary outcomes: methods for the absolute risk difference and relative risk scales” but rstan gives plenty of divergencies. Any suggestion how to improve the model? In my case I have three treatment arms (A,B,C) and one control (D). The trial is multi-center.

Thank you
sbinomial.stan (1.5 KB)