Skip to content

Commit

Permalink
updated errata
Browse files Browse the repository at this point in the history
  • Loading branch information
avehtari committed Sep 6, 2020
1 parent 7604638 commit 3dd2982
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
7 changes: 5 additions & 2 deletions errata.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,12 @@ If you notice an error that is not mentioned in the errata below, submit an issu
- p. 42, the last line, in "Linear transformations" section "Exercise 3.5" should be "Exercise 3.6". (thanks Ed Berry)
- p. 54, in "Comparisons, visual and numerical" subsection, "Figure 4.2" in the first sentence should be "Figure 4.3." (thanks Ravi Shroff)
- p. 55 `se_weighted_avg <- sqrt(sum(W*se)^2)` should be `se_weighted_avg <- sqrt(sum((W*se)^2))` (thanks to Desislava Petkova)
- p. 143 the correct values for mean and sd in the last column of Figure 10.7 are 260.1 and 2.5 (thanks to Eam O'Brien)
- p. 143 3rd line from bottom the correct values for mean and sd mentioned in the text are 260.1 and 2.5 (thanks to Eam O'Brien)
- p. 159 "as in Figure 11.2" -> "as in Figure 11.3" (thanks to Eam O'Brien)
- p. 174 "and so the log score is $-\frac{1}{2}\log\sigma$" should be "and so the log score is $-\log\sigma$" (thanks to Matěj Grabovsky)
- p. 288, Chapter 15 Bibliographic note is missing the reference to the RiskyBehavior data: "The HIV risk data (RiskyBehavior) used in exercises comes fromcomes from El-Bassel et al (2003)." Full reference: El-Bassel, N., Witte, S. S., Gilbert, L., Wu, E., Chang, M., Hill, J., and Steinglass, P. (2003). The efficacy of a relationship-based HIV/STD prevention program for heterosexual couples. *American Journal of Public Health*, **93**, 963–969.
- p. 316, Figure 17.2 the values in the column $N_j/N$ should be $0.16, 0.17, 0.19, 0.17, 0.16, 0.15$ as in the code on the same page. (thanks to Noah Silbert=
- p. 288, Chapter 15 Bibliographic note is missing the reference to the RiskyBehavior data: "The HIV risk data (RiskyBehavior) used in exercises comes fromcomes from El-Bassel et al (2003)." Full reference: El-Bassel, N., Witte, S. S., Gilbert, L., Wu, E., Chang, M., Hill, J., and Steinglass, P. (2003). The efficacy of a relationship-based HIV/STD prevention program for heterosexual couples. *American Journal of Public Health*, **93**, 963–969.
- p. 314 Following Equation (17.1) "... did not include enough Republicans." -> "... included too many Democrats." (thanks to misterblister)
- p. 316, Figure 17.2 the values in the column $N_j/N$ should be $0.16, 0.17, 0.19, 0.17, 0.16, 0.15$ as in the code on the same page. (thanks to Noah Silbert)

-------------
5 changes: 4 additions & 1 deletion errata.html
Original file line number Diff line number Diff line change
Expand Up @@ -387,10 +387,13 @@ <h2>1st (2020) printing</h2>
<li>p. 42, the last line, in &quot;Linear transformations&quot; section &quot;Exercise 3.5&quot; should be &quot;Exercise 3.6&quot;. (thanks Ed Berry)</li>
<li>p. 54, in &quot;Comparisons, visual and numerical&quot; subsection, &quot;Figure 4.2&quot; in the first sentence should be &quot;Figure 4.3.&quot; (thanks Ravi Shroff)</li>
<li>p. 55 <code>se_weighted_avg &lt;- sqrt(sum(W*se)^2)</code> should be <code>se_weighted_avg &lt;- sqrt(sum((W*se)^2))</code> (thanks to Desislava Petkova)</li>
<li>p. 143 the correct values for mean and sd in the last column of Figure 10.7 are 260.1 and 2.5 (thanks to Eam O'Brien)</li>
<li>p. 143 3rd line from bottom the correct values for mean and sd mentioned in the text are 260.1 and 2.5 (thanks to Eam O'Brien)</li>
<li>p. 159 &quot;as in Figure 11.2&quot; -&gt; &quot;as in Figure 11.3&quot; (thanks to Eam O'Brien)</li>
<li>p. 174 &quot;and so the log score is <span class="math inline">\(-\frac{1}{2}\log\sigma\)</span>&quot; should be &quot;and so the log score is <span class="math inline">\(-\log\sigma\)</span>&quot; (thanks to Matěj Grabovsky)</li>
<li>p. 288, Chapter 15 Bibliographic note is missing the reference to the RiskyBehavior data: &quot;The HIV risk data (RiskyBehavior) used in exercises comes fromcomes from El-Bassel et al (2003).&quot; Full reference: El-Bassel, N., Witte, S. S., Gilbert, L., Wu, E., Chang, M., Hill, J., and Steinglass, P. (2003). The efficacy of a relationship-based HIV/STD prevention program for heterosexual couples. <em>American Journal of Public Health</em>, <strong>93</strong>, 963–969.</li>
<li>p. 316, Figure 17.2 the values in the column <span class="math inline">\(N_j/N\)</span> should be <span class="math inline">\(0.16, 0.17, 0.19, 0.17, 0.16, 0.15\)</span> as in the code on the same page. (thanks to Noah Silbert=</li>
<li>p. 314 Following Equation (17.1) &quot;... did not include enough Republicans.&quot; -&gt; &quot;... included too many Democrats.&quot; (thanks to misterblister)</li>
<li>p. 316, Figure 17.2 the values in the column <span class="math inline">\(N_j/N\)</span> should be <span class="math inline">\(0.16, 0.17, 0.19, 0.17, 0.16, 0.15\)</span> as in the code on the same page. (thanks to Noah Silbert)</li>
</ul>
<hr />
</div>
Expand Down

0 comments on commit 3dd2982

Please sign in to comment.