inst/errata/errata.md

Errata for Using R for Introductory Statistics, second edition.

Chapter 3

This is roughly saying that the mean response in the brain is a multiple, ($e^2.15$), of the body weight raised to $0.752$ and the errors are multiplicative, not additive. (Thanks to Demetrios Papanastassiou.)

fm <- weight/2.2 ~ I( (height*2.54/100)^2 )

This will change the regression values to

Call:
lm(formula = fm, data = kid.weights, subset = idx)

Coefficients:
             (Intercept)  I((height * 2.54/100)^2)  
                  15.571                     4.239  

The slope of 4 is more reasonable. (Thanks to Demetrios Papanastassiou.)



jverzani/UsingR documentation built on Aug. 3, 2020, 11:57 a.m.