Brms predictions: pointers on which source to read?

#1

Hello,
I have a model similar to ``` bf( y ~ s(x), cor = ar(1)) ``. When i run the predict function for new values of x, i would like to see how exactly brms produces the draws. Would you be able to point me to the relevant functions/sources i could read?
Thanks much

  • Operating System:Linux
  • brms Version: latest on github
0 Likes

#2

The actual predictions happens in functon .predictor_arma, which can be found in https://github.com/paul-buerkner/brms/blob/master/R/predictor.R

0 Likes