Errata

See also the page of updates ot Apophenia that may affect readers of the book.

p 190, just over line (B): "a function pointer that takes in a double and returns a pointer to int." Should read: "a function pointer that takes in a double and returns an int." That is, line (B) returns a plain int, not a pointer to int. [1]

p 223, MSE calculation, third line: the middle term of the second line shows the negation of the bias, so the middle term of the third line should be negative, instead of positive as shown. Fortunately, this cross-term evaluates to zero, and disappears by the next line. [2]

p 224, Equation 7.1.3: An expansion of (x+y)2 takes the form x2 + y2 + 2xy; similarly, the final term of the main sum should be two times the expression listed. Again, this cross-term evaluates to zero, and thus does not appear in Equation 7.1.4. [2]

p 233, gsl_vector_sort should be gsl_sort_vector. [3]

p 240, variance of the multinomial distribution: the element in the first column, kth row, is listed as -pkp2, but it should of course be -pkp1. [2]

p 276, first line in the first math display: X'β should be Xβ. [2]

p 358: The Beta distribution has variance less than 1/12 for unimodal distributions, and greater than 1/12 for bimodal, as per the two examples.

 

 

 

[1] Thanks to Tyler Smith of McGill University, Canada
[2] Thanks to Damion Milne of the Institute for Cancer Research and Treatment, Italy
[3] Thanks to George Delic of HiPERiSM Consulting, LLC