Brain weight versus body weight of 28 animals
Data for Exercises 2.15, 2.44, 2.58 and Examples 2.3 and 2.20
Brain
A data frame/tibble with 28 observations on three variables
a factor with levels African
elephant, Asian Elephant, Brachiosaurus, Cat,
Chimpanzee, Cow, Diplodocus, Donkey, Giraffe,
Goat, Gorilla, Gray wolf, Guinea Pig, Hamster,
Horse, Human, Jaguar, Kangaroo, Mole,
Mouse, Mt Beaver, Pig, Potar monkey, Rabbit,
Rat, Rhesus monkey, Sheep, and Triceratops
body weight (in kg)
brain weight (in g)
P. Rousseeuw and A. Leroy, Robust Regression and Outlier Detection (New York: Wiley, 1987).
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.
plot(log(brainweight) ~ log(bodyweight), data = Brain,
pch = 19, col = "blue", main = "Example 2.3")
mod <- lm(log(brainweight) ~ log(bodyweight), data = Brain)
abline(mod, lty = "dashed", col = "blue")Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.