R Markdown

  1. Page 370, just before Section 17.3.2. Please replace the sentence containing displayed equation by: It is easy to prove (left as exercise): \[ \sum_{i=1}^n w_{1i} = 0, \ \ \sum_{i=1}^n w_{0i} = 1, \ \sum_{i=1}^{n}w_{1i} x_i = 1, \ \ \sum_{i=1}^{n}w_{0i} x_i = 0. \]

  2. Page 386. First line in Section 17.11. Please correct: Suppose that Assuming that there are two vectors'' toAssuming that there are two vectors’’.

  3. Page 390. The three lines displayed equation should be corrected to: \[\begin{eqnarray*} E\left[ (\hat{Y}_{0} - Y_{0})^{2} \right] &= & E\left[ (\hat{\beta}_{0}+\hat{\beta}_{1}x_0 - \beta_{0} - \beta_{1}x_0 - \epsilon_0)^{2} \right] \cr &= & E\left[ (\hat{\beta}_{0}+\hat{\beta}_{1}x_0 - \beta_{0} - \beta_{1}x_0)^{2}\right] + E\left[ (\epsilon_0)^{2} \right] \cr &= & \sigma^{2}(1+ h_{00}) \end{eqnarray*}\]

  4. Page 400. Please replace the incorrect \(\sum_{i=1}^n (y_i - \bar{y}^{2})\) by \(\sum_{i=1}^n (y_i - \bar{y})^{2}\) in three places:

    (1). in the displayed equation after item number 4,

    (2). in the displayed equation in item number 9.

    (3). in the table in item number 16.

  5. Page 404. In Exercise 4, please remove the sentence: The data are also provided in the file beanie.txt.

  6. Page 443. Please correct the code line: varwts <- tapply(possum$Body_Weight, possum$region, FUN=var)

  7. Page 449. Inside the lines 4 and 6 of the displayed equations, please insert 2 twice so that we have: \[\begin{eqnarray*} + 2 \sum_{i=1}^g \sum_{j=1}^{n_i}(Y_{ij}-\bar{Y}_i) (\bar{Y}_i-\bar{Y})\end{eqnarray*}\] and \[\begin{eqnarray*} +2 \sum_{i=1}^g (\bar{Y}_i-\bar{Y}) \sum_{j=1}^{n_i}(Y_{ij}-\bar{Y}_i) \end{eqnarray*}\]

  8. Pages 459 and 460. Typos in code should be corrected. Please replace {{$ and ${{ by a single $ symbol only. Total \(4 +4=8\) times over the two pages.

  9. Page 537. Last line before the last displayed equation: Please change: To test \(H_0: a=0\) we use the \(t\)-statistic (see Section 18.6.4):