avehtari / ROS-Examples

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

Correction on p.187 #98

Closed rs4606 closed 3 years ago

rs4606 commented 3 years ago

Hi there,

I think the first sentence of the 'Multiplying each regression coefficient by 2 standard deviations of its predictor' subsection of Ch. 12 on p. 187 is incorrect, or perhaps unclear enough that it should be modified.

The sentence reads "For models with no interactions, a procedure that is equivalent to centering and rescaling is to leave the regression predictors as is, and then create rescaled regression coefficients by multiplying each \beta by two times the standard deviation of its corresponding x." However, if the predictors don't each have mean 0, the intercept will change if one centers the predictors.

Thanks,

Ravi

andrewgelman commented 3 years ago

Good point; we will fix.

avehtari commented 3 years ago

Thanks! Fixed and added to the errata