Visualize the data using the itemFrequencyPlot in the “arules” package.

statistics

Description

  1. Consider the Boston Housing Data. This data can be accessed in the MASS package (available through CRAN).
    > library(MASS)
    > data(Boston)

    1. a)  Visualize the data using histograms of the different variables in the data set. Transform the data into a binary incidence matrix, and justify the choices you make in grouping categories.

    2. b)  Visualize the data using the itemFrequencyPlot in the “arules” package. Apply the apriori algorithm (Do not forget to specify parameters in your write up).

    3. c)  A student is interested is a low crime area, but wants to be as close to the city as possible (as measured by “dis”). What can you advise on this matter through the mining of association rules?

    4. d)  A family is moving to the area, and has made schooling a priority. They want schools with low pupil-teacher ratios. What can you advise on this matter through the mining of association rules?

    5. e)  Use a regression model to solve part d. Are you results comparable? Which provides an easier interpretation? When would regression be preferred, and when would association models be preferred? 


Related Questions in statistics category