Closed ASKurz closed 3 years ago
On page 268, the code for the first roaches model is:
fit_1 <- stan_glm(y ~ roach100 + treatment + senior, family=neg_binomial_2, offset=log(exposure), data=roaches)
However, the exposure variable in the roaches.csv file is called exposure2.
roaches.csv
exposure2
Thanks! Fixed and added to the errata.
On page 268, the code for the first roaches model is:
However, the exposure variable in the
roaches.csv
file is calledexposure2
.