Brms_multiple vs brm with multipe groups


#1

I have recently come across brm_multiple and was curious what the difference between brm_multiple vs simply adding more groups to brm.

For example I want to see how temperature impacts household energy consumption by time and month I would put:

brm(use ~ temp + (1 + temp | time) + (1 + temp | month), data = home1)

However, if I am only interested in times in the afternoon I would use brm_multiple and put:

brm_multiple(use ~ temp + (1 + temp | month), data = time.list)

with time.list being the list of databases with the specific times.

Is this an accurate understanding of brm_multiple vs brm with multiple groups?


#2

I use brm_multiple when I have missing values in my dataset (together with mice)

https://cran.r-project.org/web/packages/brms/vignettes/brms_missings.html

Richard