Allen Chu is a firstyear medical student. He is interested in finding out which symptoms of medical
Question:
Allen Chu is a firstyear medical student. He is interested in finding out which symptoms of medical conditions tend to appear together in his research. He compiles a data set for 36 patients where the first entry lists the medical condition and the remaining entries are common symptoms associated with the medical condition. A portion of the data is shown in the accompanying table.
Make sure to read the data file into R using the readtransactions function first.
a. Generate association rules with a minimum support of 0.1 and minimum confidence of 0.5. Sort the rules by lift ratio. Report and interpret the lift ratio of the top three association rules.
b. Display a scatterplot comparing the rules obtained in part a. How many rules have at least 0.75 confidence, 0.15 support, and 1.2 lift ratio?
Step by Step Answer:
Business Analytics Communicating With Numbers
ISBN: 9781260785005
1st Edition
Authors: Sanjiv Jaggia, Alison Kelly, Kevin Lertwachara, Leida Chen