Cox Process and brms

hello,
i was trying to implement the following code

https://elizavetasemenova.github.io/blog/2016/12/04/cox-point-process

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
saptarshi

  • 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