Closed sjwild closed 3 years ago
Hey @sjwild, I won't have time to look at this, for a while. But thanks! This seems helpful.
Steve, your solution is excellent. My current implementation lives here.
Awesome. I am happy to help with the easy ones. I leave the hard ones to @mages!
The new section looks good. I'm always happy to help.
Steve
Howdy,
One area you asked for help with was for section 4.6, with splines. The code below should reproduce m4.7 using brms. It's not Tidyverse style, but it works.
The trick is to bind d2$doy and B, as each column of B is a predictor. You can see this in McElreath's code, as he uses B %*% w in quap.
Here's the code:
I hope that helps.
Steve