avehtari / ROS-Examples

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

Typo on page 231. #77

Closed danieltimar closed 3 years ago

danieltimar commented 3 years ago

Bottom of the page 231:

Just using the fact that 59.5% of survey respondents supported Clinton and 40.5% supported Bush, we can assign 40.5% to Pr(yi = 1) for each respondent, which improves the log score to 477 log(0.405) + 702 log(−.595) = −796.

I presume it's log(0.595).

avehtari commented 3 years ago

Thanks! Fixed and added to the errata.