This exercise involves the Boston housing data set. To begin, load in the Boston data set. The Boston data set is part of the MASS library in R.

library(MASS)
data(Boston)

Now the data set is contained in the object Boston.

Boston

Read about the data set:

?Boston

Questions

Some of the exercises are not tested by Dodona (for example the plots), but it is still useful to try them.

An example of how this could look like:

plot


Assume that: