Question: With respect to the Boston housing data set, answer the following questions using R software. You must provide answer, R codes and the results of

With respect to the Boston housing data set, answer the following questions using R software. You must provide answer, R codes and the results of analysis in the solution document.
1. Apply str() and summary() commands and display the findings. What is the range of Tax and Age. (2 marks)1. CAT.MEDV is the median value of homes: 0= value < $30000; 1= value > $30000. Change this variable to a 2 level categorical (factor) variable and save in the dataset. Demonstrate R codes and their results (1 mark).
2.Generate a training with 400 rows and a test set with 106 rows from the given dataset (2 marks)

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 Programming Questions!