4.4.3 R4. Regression Trees- Video 2 The Data
Before we jump into R, let's understand the data. Each entry of this data set corresponds to a census tract, a statistical division of the area that is used by researchers to break down towns and cities. As a result, there will usually be multiple census tracts per town. LON and LAT are the longitude and latitude of the center of the census tract. MEDV is the median value of owner-occupied homes, measured in thousands of dollars. CRIM is the per capita crime rate. ZN is related to how much of the land is zoned for large residential properties. INDUS is the proportion of the area used for industry. CHAS is 1 if a census tract is next to the Charles River, which I drew before. NOX is the concentration of nitrous oxides in the air, a measure of air pollution. RM is the average number of rooms per dwelling. AGE is the proportion of owner-occupied units built before 1940. DIS is a measure of how far the tract is from centers of employment in Boston. RAD is a measure of clo...