meanSEC <- mean(SDS4$times)
meanMIN <- mean(SDS4$times/60)
c(meanSEC, meanMIN)
[1] 7.80 0.13
sdSEC <- sd(SDS4$times)
sdMIN <- sd(SDS4$times/60)
c(sdSEC, sdMIN)
[1] 7.871402 0.131190
CVsec <- meanSEC/sdSEC
CVmin <- meanMIN/sdMIN
c(CVsec, CVmin)
[1] 0.9909289 0.9909289
The code defining the CV has \(\bar{X}/S\) instead of \(S/\bar{X}\). The code should be changed as shown below.
meanSEC <- mean(SDS4$times)
meanMIN <- mean(SDS4$times/60)
c(meanSEC, meanMIN)
[1] 7.80 0.13
sdSEC <- sd(SDS4$times)
sdMIN <- sd(SDS4$times/60)
c(sdSEC, sdMIN)
[1] 7.871402 0.131190
CVsec <- sdSEC/meanSEC
CVmin <- sdMIN/meanMIN
c(CVsec, CVmin)
[1] 1.009154 1.009154
Page 209: …conditioning event G, then enumerating… should read: conditioning event G, than enumerating
Page 244: Problem 54 - Given the following cumulative density function should read Given the following cumulative distribution function
Page 340: R Code 5.15 - facet_grid(. ~ r)
should
read facet_grid(. ~ r, labeller = label_parsed)
Page 381: The solution for Example 6.16 has \(P \dot\sim N\left(0.383, \sqrt{\tfrac{(0.383)(0.617)}{250}} = 0.0019 \right).\) The solution should read:
\[P \dot\sim N\left(0.383, \sqrt{\tfrac{(0.383)(0.617)}{250}} = 0.0307 \right)\]
Page 485: lep <- (15 - 1) + 5.2449/uchi
should be
lep <- (15 - 1) + 5.2429/uchi
, and
uep <- (15 - 1) + 5.2449/lchi
should be
uep <- (15 - 1) + 5.2429/lchi
Page 497 leads to the quadratic equation \(\left(z_{1-\alpha/2}^2 + n \right)p^2 -\left( 2n\hat{p} + z_{1-\alpha/2} \right)p + n\hat{p}^2\) should be \(\left(z_{1-\alpha/2}^2 + n \right)p^2 -\left( 2n\hat{p} + z_{1-\alpha/2}^2 \right)p + n\hat{p}^2\)
Page 545: Exampe 9.11 - STCHOOL
should be
STSCHOOL
Page 551: \(T=\frac{\bar{D}-\mu_{D}}{S_D/\sqrt{n_D}} \sim t_{n - 1}\) should be \(T=\frac{\bar{D}-\mu_{D}}{S_D/\sqrt{n_D}} \sim t_{n_D - 1}\)
With update in ggplot2
, everywhere
ggplot_hline(y = value)
appears now needs to be
ggplot_hline(yintercept = value)
Page 805 Table 12.3 \(\hat{\beta}\) in the SSR formulation is missing a transpose. Should be \(SSR = \hat{\beta}'\mathbf{X}'\mathbf{Y}- \frac{1}{n}\mathbf{Y}'\mathbf{J}\mathbf{Y}\)