Professional Documents
Culture Documents
R TOOL
Gaurav Mittal
DOMS-NITT
What is Market Basket Analysis?
Understanding behavior of shoppers
What items are bought together
What’s in each shopping cart/basket?
Basket data consist of collection of transaction date and
items bought in a transaction
Itemset
Retail organizations interested in generating qualified
decisions and strategy based on analysis of transaction
data
what to put on sale, how to place merchandise on shelves for
maximizing profit, customer segmentation based on buying
pattern
Market Basket Analysis
MBA uses this information to:
Identify who customers are (not by name)
Understand why they make certain purchases
Gain insight about its merchandise (products):
Fast and slow movers
Products which are purchased together
Products which might benefit from promotion
Take action:
Store layouts
Which products to put on specials, promote, coupons…
Combining all of this with a customer loyalty card it
becomes even more valuable
Examples
Rule form: LHS RHS
IF a customer buys diapers, THEN they also buy beer
diapers beer
“Transactions that purchase bread and butter also purchase
milk”
bread butter milk
Customers who purchase maintenance agreements are very
likely to purchase large appliances
When a new hardware store opens, one of the most
commonly sold items is toilet bowl cleaners
Def: Market Basket Analysis (Association
Analysis) is a mathematical modeling
technique based upon the theory that if
you buy a certain group of items, you are
likely to buy another group of items.
Results:
"income=small" &
+ lift > 1.2)
> rules_hamburger <- subset(rules, subset = rhs %in%
"income=large" &
+ lift > 1.2)
The recommendations
Whopper can be bundled with coke, minute
maid orange juice, French toast stick.
Cheeseburger can be bundled with the
French fries, onion rings.
French fries with HERSHEY®'S Fat Free Milk.
Dutch Apple Pie with Bacon, Egg & Cheese
Biscuit Sandwich.
Challenges…!!!
Cannot load data more than 799 rows.
R software is usable only for learning
purpose but difficult for industrial purpose
where large amount of data to be analyzed.
Limited knowledge available for guiding
analysis development in R.
New codes has to be developed for
extending the database.
Thank You