Hi, im working with brms using categorical covariates, binary response and both slopes and intercept random.
But i don’t know how to switch from contrast treatment to contrast sum.
here my model type:
fit_TrVSAn13<-brm(y~treatment * condition + (1|sample:treatment:condition)+ (treatment|sample) + (condition|treatment), data=df, iter=4000, family = bernoulli())
- Operating System: Ubuntu 21.04
- brms Version: 2.16.3