Typos in Chapter 8

January 16, 2010
By

(This article was first published on Xi'an's Og » R, and kindly contributed to R-bloggers)

Phew!, we are now done with the solution manual in the sense that we have compiled solutions for all odd-numberedd exercises (but one!) and solved a fair number of even-numbered exercises. As it stands, the manual is 120 pages long and I am exhausted by the run to produce it over the past week. I hope this will be helpful for readers of “Introducing Monte Carlo Methods with R”, but, if nothing else, looking at the book from a student’s perspective has helped in uncovering typos. Here is the last batch:

– In Exercise 8.1, we need a bit more stability in the Markov chain to ensure that it has a finite variance. The assumption that both first moments are finite is not enough. Thomas Clerc from Fribourg also pointed out to me that the lazy programming  (I stole from my R course students!) of the form beta=c(beta,betaprop) should not be encouraged!

– in Example 8.9, Y_ksimmathcal{N}(theta_i,sigma^2) should be Y_isimmathcal{N}(theta_i,sigma^2) and the theta_i’s are normal, not the mu_i’s…

– in Exercise 8.7, it is the distribution on alpha that is closed-form, not the one on mu.

– in Exercise 3.17, George Casella found another typo, namely that in question b it should be X|Ysimmathcal{G}a(1,y), not X|Ysimmathcal{G}a(1,y).


Posted in Books, R, Statistics Tagged: Introducing Monte Carlo Methods with R, MCMC, Monte Carlo methods, simulation, typos

To leave a comment for the author, please follow the link and comment on his blog: Xi'an's Og » R.

R-bloggers.com offers daily e-mail updates about R news and tutorials on topics such as: visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL, Eclipse, git, hadoop, Web Scraping) statistics (regression, PCA, time series, trading) and more...



If you got this far, why not subscribe for updates from the site? Choose your flavor: e-mail, twitter, RSS, or facebook...

Tags: , , , , , , ,

Comments are closed.