Cox Process and brms

i was trying to implement the following code

using brms. Key thing is that the inside the Data Generating Process (DGP), the poisson observations are drawn from a linear combination of covariates added with Normal(mu.r, sigma.r) noise.

Out of curiosity is this possible within the brms formula syntax?
Thanks in advance

  • Operating System: Linux
  • brms Version: brms 2.6.0

Solved! I added a group level effect (1|id) and id ran from 1 to number of observations

Thanks much