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



Try the UsingR package in your browser

Any scripts or data that you put into this service are public.

UsingR documentation built on March 18, 2022, 7:32 p.m.