Corrections to BCWR, 2nd edition November 19, 2009 1. Page 72, R code at the bottom. It should read > prior=rbind(c(-0.7, 4.68, 1.12), + c(0.6, 2.84, 2.10)) > data.new=rbind(data, prior) Since data.new was defined incorrectly, the output on pages 73-75 will be incorrect. 2. Page 94, line 18. The expression for the prior predictive density should have |-h'(theta hat)|^(-1/2). The power should be -1/2, not 1/2. 3. Page 101. In the displayed equation, the vertical line (|) between f(y|theta) and dtheta should be deleted. 4. Page 113. Exercise 5. It should be (a), (b), and (c) instead of the bulleted marks. In part (a), should read "Write an R function to compute the logarithm of the posterior density of the transformed parameter theta = log lambda." 5. Page 149. Exercise 6, part (b). rwmetrop should be indepmetrop. 6. Page 247. Second paragraph in the middle of the page. ... we wish to compare the "Age, Gender" model with the "Only Gender" model In Table 10.1, the "Only Age" and "Only Gender" labels should be interchanged for both the rows and the columns. Last line in the paragraph should read ... "From the table, it is clear that Age is a more important variable than Gender in explaining the variation in the Survival variable."