Varying Slope Model Warning

I’m using brms to fit an aggregated binomial varying intercept/slope model and every time I add in the varying slope I get thrown this warning :

/var/folders/df/myk2gcks4p51hchfxctnjkqc0000gn/T//RtmpgG5R7Q/file2ab7acc0bb4.stan:138:45: warning: missing terminating ’ character [-Winvalid-pp-token]
r_1 = (diag_pre_multiply(sd_1, L_1) * z_1)’;
1 warning generated.

As far as I can tell the model runs (albeit very slowly) but I’m not sure it would be immediately clear to me if something had gone wrong and this was signaling that to me. I’ve tried different sets of data (I doctored up the epilepsy dataset just to make it fit the aggregated binomial framework) and I still get the same warning.

  • Operating System: Mac OS Catalina 10.15.3
  • brms Version: 2.13.3

Any ideas? Or can I safely ignore this? Let me know if there’s more info I should have added! I’m v new to this so I apologize if I’ve left off any important information.


Welcome to the community!

I’m not 100% sure (@bgoodri might know better of course) but I believe this is something that popped up in one of the rstan releases and that it can be safely ignored.

Ah great - thank you for helping alleviate some of that concern!