avehtari / ROS-Examples

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

Slope values for example regression line 0.27 or 0.28 #105

Closed hachiko1024 closed 2 years ago

hachiko1024 commented 2 years ago

On pages 82-83 The slope is on the one hand (labeled on graph) 0.27 and also 0.28 (In the table) - maybe confusion about rounding

avehtari commented 2 years ago

Not a rounding issue, but variability of the computation. Based on MAD_SD of 0.02 shown in p. 82, values of 0.26, 0.29, 0.30 are likely outputs when the computation is repeated. It would have been useful to include in the book explicit discussion of how small variation is natural. But as we didn't emphasise that the values can vary, I have changed the plot to show the same value as in p. 82.