Hi STAN groups,
I would like to know whether binomial regression coupled with SAR random effects can be fitted using brms?
I try this using the following code, but it reports an error “Error: SAR terms are not implemented for this family.”
brm(Res| trials(Res_Sum) ~ X1 + X2 + X3 + X4 , autocor = cor_errorsar(W7II), data = Data6, family = binomial(), chains = 8, iter = 5000, warmup = 500, cores = 8, verbose=T)
Looking forward to hearing from you.
I use win 10 with R 4.0.5 and brms 2.15.9.