1. Given that 172 of 649 transactions included {bread, peanut butter, jelly}, what is the support of IF {bread, peanut butter} THEN {jelly}? Please round your answer to 2 decimal places.
2. Given that 116 of 1500 transactions included {bread, peanut butter, jelly} and 724 included {bread, peanut butter}, what is the confidence of IF {bread, peanut butter} THEN {jelly}? Please round your answer to 2 decimal places.
3. Out of 511 transactions, 177 included {bread, peanut butter, jelly}, 418 included {bread, peanut butter}, and 163 included {jelly}, what is the lift of IF {bread, peanut butter} THEN {jelly}? Please round your answer to 2 decimal places.
1.
Support =
Transactions of {bread, peanutbutter, Jelly}/Total transactions
= 172/649
= 0.26
2.
Confidence =
Transactions of {bread, peanutbutter, jelly}/ Transaction of {bread, peanutbutter}
=116/724
= 0.16
3.
Let Total transaction be T
Let transaction of {bread, peanut butter, jelly} = A + B
Transaction of {bread, peanut butter} = A
Transaction of {jelly} = B
So, the lift is given by
[(A + B)/A]/[B/T]
Substituting the values we get
[177/418]/[163/511]
= 1.33
Hope this helps. Do hit the thumbs up. Cheers!
Get Answers For Free
Most questions answered within 1 hours.