I am currently trying to do a Bayesian analysis using brms in R. I am trying to run the command below (fit1); however, it keeps giving me the error message “at least 2 response categories required” and I am not sure what that means or entails. I will include
the dataset I am using so you can take a look at it.
fit1 <- brm(GestureType | trials(1) ~ Distance + (1 | Participant.ID), data=my_data, family=multinomial, prior = prior(student_t(5, 0, 2.5), class = b), save_all_pars = TRUE)
my_data <- gesture.csv (10.7 KB)
I am new to both R and Discourse, so let me know if you need anything else to help answer my question! Thanks for your help and time!
OS: macOS Catalina Version 10.15.5
brms Version: 2.13.0