I was wondering if associations rules can include the absence of an item, for example, in this simplified set of transactions:
milk, butter
milk, eggs
beer, eggs
beer, chips
I would be interested in rules stating:
if milk -> no chips
if beer -> no butter
If this is statistically plausible, can it be implemented in r
, for example in arules
?
Maybe I just need to select those rules that have a lift inferior to 1?