(based on exercise 10 on p. 56 of the book)

To begin, load in the `Boston`

data set. The `Boston`

data set is part of the `MASS`

library in R.

`library(MASS)`

Now the data set is contained in the object `Boston`

. Read about the data set.

`?Boston`

How many rows are in this data set? How many columns? What do the rows and columns represent?

Make some (2-3) pairwise scatterplots of the predictors (columns) in this data set. Describe your findings.

Are any of the predictors associated with per capita crime rate? If so, explain the relationship.

Are there any suburbs of Boston that appear to have particularly high crime rates? Tax rate? Pupil-teacher ratios? Comment on the range of each predictor.

How many of the suburbs in this data set bound the Charles river?

What is the median pupil-teacher ratio among the towns in this data set?

If you want to build a model to predict the average value of a home based on the other variables, what is your output/response? What is your input?