My is a series of individuals have attempted a test. They can fail this test for multiple reasons. Furthermore, on an test, a fail can be awarded multiple times for one reason, i.e.:
Steve: 1,0,2,1 Jane: 2,0,0,1 are both valid entries for a test with four reasons.
Having said that, many of the reasons are effectively a boolean, i.e., the column can hold either a 1 or a 0 only.
I'm interested in a subset of the rows of this table, e.g., Steve and his family. Specifically, I want to know if the distribution of the mean of each column (reason) within the subset differs significantly from the equivalent distribution for the whole population.
Is a $\chi^2$ test with the null hypothesis that the subset distribution matches the whole population distribution appropriate here?