Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

Q6: The following contingency table summarizes supermarket transaction data, where

hotdogs refers to the transactions containing hot dogs, hot dogs refers to the
transactions that do not contain hot dogs, hamburgers refers to the transactions
containing hamburgers,and hamburgers refers to the transactions that do not contain
hamburgers.hot dogs hot dogs Srowhamburgers 2,000 500 2,500hamburgers 1,000
1,500 2,500Scol 3,000 2,000 5,000
a. Suppose that the association rule hot dogs) hamburgers is mined. Given a
minimum support threshold of 25% and a minimum confidence threshold of
50%, is this association rule strong?
Answer:- Based on the scenario, the association rule is mined for hotdogs and
hamburgers, so in this case it will discover the relation between variables, as it is a
large database. Here threshold is 25% and a minimum confidence threshold 0f 50%,
then this association rule will be strong for the current scenario, because it will set and
identify the relations between variables and here variables is the number of items
ordered per transaction.
(b) Based on the given data, is the purchase of hot dogs independent of the purchase
of hamburgers? If not, what kind of correlation relationship exists between the two?
Answer:Based on the given data the purchase of hot dogs is not independent of the purchase of
hamburgers, they will be correlated to each other. If a transaction is made on hotdogs,
it can contain hamburgers in the list too, and if a customer is ordering hamburgers
there may be hot dogs in the list, and in the final billing , it will contain both in the list
so, that it a customer is buying only hotdogs, the hamburgers will be

You might also like