The data are the same as in the previous exercise. Read the data file using the readtransactions
Question:
The data are the same as in the previous exercise. Read the data file using the readtransactions function and perform the following tasks.
a. Produce an item frequency plot and frequency table. Which item is the most frequent item?
b. Generate association rules with a minimum support of 0.1 and minimum confidence of 0.75. Sort the rules by the lift ratio. Report and interpret the lift ratio for the top rule.
c. Generate association rules with a minimum support of 0.25 and minimum confidence of 0.75. Sort the rules by the lift ratio. Report and interpret the lift ratio for the top rule.
d. Generate a scatterplot to display the rules obtained in part c.
Data from Exercises 48
Consider the following portion of data consisting of 100 transactions.
Step by Step Answer:
Business Analytics Communicating With Numbers
ISBN: 9781260785005
1st Edition
Authors: Sanjiv Jaggia, Alison Kelly, Kevin Lertwachara, Leida Chen