The Data:
I have the results of an experiment where participants were given 30 stimuli and asked to sort them into two groups. The participants were asked to sort them into the two groups without any information about what the groups should be or how they should be sorted.
There is data (see 1) from 93 participants. Each column represents one stimulus {S1, S2,...} and the cells hold a binary value {1, 2} that represents the group it has been put into.
So for example: Participant 1 put {S1, S2, S3, S4, S5} into group 1, whereas participant 2 put {S1, S2, S5} into group 2 and {S3, S4} into group 1.
The Goal:
I want to find out whether some stimuli were grouped together more often than others, i.e. whether participants found similar groups.
The Problem:
The groups {1, 2} are interchangeable.
So, for example, participant A put S1, S2 and S3 into group 1, while participant B put these three into group 2. They both would have grouped the stimuli together and I would want to see that these stimuli have been grouped together more often, even though into different groups.
It does not matter whether they were assigned group 1 or group 2. It is ony important which stimuli are in the same group.
How could I get these relations out of my data?
Similar Problem:
The problem mentioned here is very similar to this one. However, the group labels don't change between participants (i.e. 1 is always "disease present" and 0 is always "disease not present"). Something like the suggested hierarchical clustering looks very promising, but I am not sure how I could make it account for the changing group labels.