I am performing a market basket analysis of customers and the products they purchased. I did an a priori analysis on all of the transactions on the products they purchased to determine which items are likely bought together.
I have additional attributes (industry, geography, etc.) about the customers (B2B), and I would like to find purchasing trends. For instance, do customers in the financial services industry buy a group of products more frequently than customers in the retail industry (or all customers)?
I can think of three ways to do this, but I am not sure which one is correct:
- Add the attributes as an additional product in the transaction (so to speak), so the a priori algorithm itself will determine if there is a relationship between the industry product and the purchased products
- Run the a priori analysis on pre-filtered customer transactions based on an attribute (e.g., run it on only retail customer transactions)
- Run some other statistical analysis (chi-square?) to determine if a customer group differs