avehtari / ROS-Examples

Regression and other stories R examples
https://avehtari.github.io/ROS-Examples/
325 stars 256 forks source link

p.345 control/treatment group are switched #73

Closed rs4606 closed 3 years ago

rs4606 commented 3 years ago

Hi there,

At the very bottom of p.345, it says "More to the point, the y_i^{0}'s are 140, 140, 150, and 170 in the control group and 150, 160, 160, and 170 in the treatment group."

However, looking at Figure 18.4, it appears as though the words "control" and "treatment" should be switched in the previous sentence. That is, the y_i^{0}'s for those with z_i = 0 (control group) are 150, 160, 160, 170, and the y_i^{0}'s for those with z_i = 1 (treatment group) are 140, 140, 150, and 170.

Thanks,

Ravi

avehtari commented 3 years ago

Thanks! Fixed for future printings and will appear in errata.