Archive for R 2.11.1

Typo in Chapter 5

Posted in Books, R, Statistics with tags , , , , , , on September 9, 2010 by xi'an

Gilles Guillot from Technical University of Denmark taught a course based on our R book and he pointed out to me several typos in Chapter 5 of “Introducing Monte Carlo Methods with R”:

  • p.137 second equation from bottom

    h(\theta+\beta \zeta) - h(\theta+\beta \zeta)

    should be

    h(\theta+\beta \zeta) - h(\theta-\beta \zeta)

    [right, another victim of cut-and-paste]

  • p. 138  Example 5.7 denominator in the gradient should be 2*beta [yes, the error actually occurs twice. And once again in the R code]
  • p. 138 : First paragraph Not a typo but a lack of details: are the conditions on \alpha and \beta necessary and sufficient? [indeed, they are sufficient]
  • demo(Chapter.5) triggers an error message [true, the shortcut max=TRUE instead of maximise=TRUE in optimise does not work with R version 2.11.1]

Continue reading

%d bloggers like this: