# Errata

#### Second Edition

Location Issue
page 25 printed: tally(death ~ victim, data = DeathPenalty)
correct: tally(death ~ defendant, data = DeathPenalty)
Exercise 1.20 geyser is in the MASS package (see page 14).
Use MASS::geyser to access this data set.
p. 373 printed: $$W = -2 \log\left(\frac{L(\theta_0)}{L(\hat\theta)} \right) = 2 \left(\log(\hat \theta) - \log(\theta_0)\right) \approx I(\hat \theta) (\theta_0 - \hat\theta)^2$$
correct: $$W = -2 \log\left( \frac{L(\theta_0)}{L(\hat\theta)} \right) = 2 \left(l(\hat \theta) - l(\theta_0)\right) \approx I(\hat \theta) (\theta_0 - \hat\theta)^2$$
p. 380, lines 6, 11, 13 printed: pnorm(), pchisq(), pchisq()
correct: qnorm(), qchisq(), qchisq().
p. 388 printed: The assymptotic distribution of $$\Lambda$$
correct: The assymptotic distribution of $$W = -2 \log(\Lambda)$$
p. 389 printed: makLik
correct: maxLik
Exercise 5.18, p. 446 printed: log of the odds ratio
correct: log of the odds
page 447, line 1 printed: poison
correct: Poisson
page 498, line 5 printed: internally studentized residuls
correct: internally studentized residuals