This preview shows page 1. Sign up to view the full content.
Unformatted text preview: attach(galton) cor(child, parent) cor(child, parent, method="s") # 3.16 attach(fat) plot(body.fat, BMI) cor(body.fat, BMI) # 3.18 x77 <- data.frame(state.x77) attach(x77) plot(Population, Frost) # doens't appear linear. plot(Population, Murder) # doesn't appear linear. i would have expected this to be more closer to a positive linear association. plot(Population, Area) # really doesn't appear linear. plot(Income, HS.Grad) # ah, fairly linear. # 3.19 # my guess: -0.24 cor(age, time) #  0.1898672 # whoa, way off!...
View Full Document
- Spring '09