The data are the same as in the preceding exercise. Read the data file into R using
Question:
The data are the same as in the preceding exercise. Read the data file into R using the readtransactions function and perform the following tasks.
a. Produce an item frequency plot and a frequency table. Which item is the most frequent item?
b. Generate association rules with a minimum support of 0.25 and minimum confidence of 0.75. Sort the rules by lift ratio. What is the lift ratio for the top rule?
c. Interpret the support proportion of the rule with the largest lift ratio in part b.
d. Generate association rules with a minimum support of 0.15 and minimum confidence of 0.60. Sort the rules by lift ratio. What is the lift ratio for the top rule?
e. Interpret the confidence of the rule with the largest lift ratio in part d.
f. Generate and interpret the scatterplot for the rules generated in part d.
Data from Exercises 44
Consider the following portion of data consisting of 25 transactions
Step by Step Answer:
Business Analytics Communicating With Numbers
ISBN: 9781260785005
1st Edition
Authors: Sanjiv Jaggia, Alison Kelly, Kevin Lertwachara, Leida Chen