# Typos in Chapters 1, 4 & 8

February 10, 2010
By

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

Thomas Clerc from Fribourg pointed out an embarassing typo in Chapter 8 of “Introducing Monte Carlo Methods with R”, namely that I defined on page 247 the complex number $iota$ as the squared root of 1 and not of -1! Not that this impacts much on the remainder of the book but still an embarassment!!!

An inconsistent notation was uncovered by Bastien Boussau from Berkeley this time for the book The Bayesian Choice. In Example 1.1.3, on page 3, I consider an hypergeometric $mathcal{H}(30,N,20/N)$ distribution, while in Appendix A, I denote hypergeometric distributions as $mathcal{H}(N;n;p)$, inverting the role of the population size and of the sample size. Sorry about that, inconsistencies in notations are alas occuring in my books… In case I have not mentioned it so far, Example 4.3.3 further involves a typo (detected by Cristiano Passerini from Pontecchio Marconi) again with the hypergeometric distribution  $mathcal{H}(N;n;p)$! The ratio should be

$dfrac{{n_1choose n_{11}} {n-n_1choose n_2-n_{11}}big/ {nchoose n_2}pi(N=n)}{sum_{k=36}^{50} {n_1choose n_{11}} {k-n_1choose n_2-n_{11}}big/ {kchoose n_2}pi(N=k)}$

Filed under: Books, R, Statistics Tagged: complex numbers, hypergeometric distribution, Introducing Monte Carlo Methods with R, The Bayesian Choice, typos

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...