Question: This exercise involves the Boston data set. (a) To begin, load in the Boston data set. The Boston data set is part of the M

This exercise involves the Boston data set. (a) To begin, load in the Boston data set. The Boston data set is part of the M ASS library in R. > library(MASS) Now the data set is contained in the object Boston . > Boston Read about the data set: > ?Boston How many rows are in this data set? How many columns? What do "lstat", "ptratio","chas", and "medv" represent? (b) Of what type are most of the predictors - quantitative or qualitative? 3 (c) What is the range of each predictor? You can answer this either by applying the range() function to each predictor, or by using summary() function on the whole data set and extracting the range from there. Please provide a table with ranges for all predictors: Predictor Min Max crim ... ... zn ... ... ... ... ... (d) What is the mean and standard deviation of each quantitative predictor? Provide the answer in the form of a table: Predictor Mean St. Dev. crim ... ... zn ... ... ... ... ... (e) Now remove the 50th through 100th observations. What is the range, mean, and standard deviation of each predictor in the subset of the data

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mathematics Questions!