Brms_multiple vs brm with multipe groups

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?

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


1 Like