I reduced the scale of the normal prior to 1e-8 so that
the value of sigma is practically fixed. The error persists…
Now, I generated curves from the posterior sample of stan_glm,
as I do for stan. They are identical to the ones generated from
the stan posterior (orchid color).
The problem lies therefore in the posterior_predict() function,
or the way I interpret it…