Forgive me if I've posted this in the wrong forum and please suggest a more appropriate site as needed.
I have some customer sales data. I'll keep it simple, two variables: CUSTOMER and ITEM. ITEM is a code specifying what the CUSTOMER purchased during their visit. Each CUSTOMER will have at least one ITEM. ITEM is unique within each CUSTOMER.
What I'd like to know is for each ITEM, how often do each of the other ITEMs get purchased by the same CUSTOMER, expressed in terms of a count or percent.
Is there a way to do this for the entire dataset in one shot using a PROC or do I have to do it one ITEM at a time?
My product set is BASE SAS only, so I hope this doesn't tie my hands too much.
Thanks for any assistance.