As per Affinity analysis (Basket analysis) we get the correlation between the product 'a' and product 'b' by transaction data.
Like you're browsing books on amazon and you scroll down to see non familer phrase : "Customer who bought this item is also bought..."
Please see the pic for formula to get correlation.
Thank you.
Association rules in general show correlations among product items, e.g. the likelihood to buy battery and...