Closed DarciKovacs closed 2 years ago
Thanks!
The error on p. 268 had already been mentioned in errata https://avehtari.github.io/ROS-Examples/errata.html
I fixed the error on p. 269, and I'll update the errata and pdf soon
Both were correct in the accompanied online code https://avehtari.github.io/ROS-Examples/Roaches/roaches.html
Pg. 268
On pg. 268, there is this code, but the exposure variable in the Roaches data is called
exposure2
notexposure
Pg. 269
On page 269, there is code to run this:
y_rep_1 <- posterior_predict(fit_1)
The next section contains this code, and leaves the underscore out of
y_rep_1