Use the crime data from the previous exercise to perform association rule analysis. Make sure to read

Question:

Use the crime data from the previous exercise to perform association rule analysis. Make sure to read the data file using the readtransactions function first. 

a. Explore the data using an item frequency plot and a frequency table. What type of crime occurred most frequently? What location is associated with crimes most frequently? 

b. Generate association rules with a minimum support of 0.02 and minimum confidence of 0.30. How many rules are generated? 

c. Based on the rules, which type of crime is most likely to be committed in a department store? Which type of crime is most likely to be committed on the sidewalk? Which type of crime is most likely to be committed in apartments?


Data from Exercises 58

 Assistant police chief Todd Beck wants to analyze the city’s historic crime data in order to better allocate police resources in the future. He collects data over the past two years. Each record in the data shows the type of crime reported and the location of the crime. Todd is interested in answering the following question: Which types of crimes are often associated with which locations? 

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

Business Analytics Communicating With Numbers

ISBN: 9781260785005

1st Edition

Authors: Sanjiv Jaggia, Alison Kelly, Kevin Lertwachara, Leida Chen

Question Posted: