Hi folks,
I’m modeling data from two tasks, call them A and B, and they’re both influenced by the same underlying trait. I have data from 30 subjects doing both tasks, and I’ve fit a multivariate model of the form below.
bf_a <- (DV_A ~ (1|a|Subject)+(1|AItem))+bernoulli()
bf_b <- (DV_B ~ TaskSpecificFixedEffects + (1|a|Subject)+(1|BItem))+bernoulli()
The output of the model contains a group-level correlation between the intercepts for DV_A and DV_B, but I can’t seem to find a subject-level correlation parameter.
I see a bunch of parameters like “r_Subject_DV_A[XYZ, Intercept]” and “r_Subject_DV_B[XYZ, Intercept]”, where XYZ is the individual subject’s unique identifier. Would it obtain the same information to just extract estimates for the DV_A and DV_B r_ parameters for each individual subject and then correlate them within draw?
Thanks very much,
Canaan
- Operating System: Windows 10
- brms Version: 2.14.4