avehtari / ROS-Examples

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

r quantile syntax in 5.3, page 73 #56

Closed reppertj closed 4 years ago

reppertj commented 4 years ago

The uncertainty intervals should be (something like)

quantile(z, c(0.25, 0.755))
quantile(z, c(0.025, 0.975))

instead of

quantile(z, 0.25, 0.75)
quantile(z, 0.025, 0.975)

Again, really enjoying the book!

avehtari commented 4 years ago

Thanks! Fixed for the future printings and added to the errata.