We have data from two sort tasks where the same items (N=87) were assigned to different types of group ('g' & 'd'). We want to compare the overlap between the assignments to the 'g' groups (N=13) to those of the 'd' groups (N=16). To give you an idea of the data I have created a truncated frequency table (apologies for the table format - not sure how best to show it on here):
In this example 9 items placed into group 'g4' were also placed into 'd1'.
| g1 | g2 | g3 | g4 | g5 |
----------------------------
d1| 1 | 0 | 0 | 9 | 0 |
----------------------------
d2| 0 | 0 | 0 | 0 | 4 |
----------------------------
d3| 0 | 7 | 4 | 0 | 2 |
----------------------------
d4| 0 | 0 | 8 | 0 | 4 |
----------------------------
The size of the 'g' groups differ and so the potential number of matching items assigned to the 'd' groups depends on the size of the 'g' group. For instance, g4 actually has 18 items assigned to it but only 9 match with d1, g3 has 3 items assigned and none match d1. So the frequencies alone are not particularly representative.
We wanted to have 1) a measure of the overlap between all of the 'g' groups with all of the 'd' groups taking into account the possible overlap, and 2). a global measure of the association between 'g' groupings and 'd' groupings.
I am assuming (please correct me if I am wrong) we can't use Chi-Squared as most of the cells are less than 5 and we can't use Fisher's exact test as it isn't a 2x2 table.
My questions:
1) Are there any other test we can perform to quantify the relationships between these assignments?
2) When I was playing with the data and ran a chi-squared test in R it gave me Pearson's Residual values for each GxD combination - are these residual values OK to use independently of the Chi-Square test? --They seem to represent what we need for our first requirement, i.e. providing an index of the overlap between groups taking into account group size - but I don't want to use these incorrectly.
3). I saw the option of computing p-values by Monte Carlo Simulation in the chisq.test function in R. Could this simulation be used to overcome the problem of cells < 5 with the data?