I have a dataset with different purchases for two different items from the same users. So the users purchased the two items at different points in time. I also have 3 different variables: High
, Mid
, and Low
twice (Low, Mid,High for each product) within this dataset. So the product are broken up into these categories. For example, suppose I bought item X and its classified as a High price item. I then want to see if the same user bought an item Y at the same classification level (High). My end goal is to see if there is an association of a customer buying items at the same classification level across different items.
My first thought was to use a Chi square test but I am not sure this is the best way to do it. I am doing this in R. All of the data are binary variables. Here is an example of what the dataset looks like.
User Type High Mid Low
1 Product 1 0 1 0
1 Product 2 1 0 0
2 Product 1 0 1 0
2 Product 2 0 1 0
3 Product 1 0 0 1
3 Product 2 0 1 0
High/Mid/Low
by two raters for whom you're interested in quantifying agreement? $\endgroup$ – Nick Stauner Feb 27 '14 at 19:24User
1's purchases ofProduct
s 1 and 2 more similar than the purchases of aUser
who selects oneProduct
from theHigh
price category and one from theLow
category? BTW, if so, and if you have actual prices for theProduct
s, it would be wise to use those instead of trichotomizing the price data. If you prefer not to considerProduct
s ofHigh
price more similar toMid
thanLow
, you'd want to treat your price data as nominal, not ordinal. Your choice will greatly affect what results you'll get $\endgroup$ – Nick Stauner Mar 2 '14 at 17:01