Dear Jingyi,
I had to think a while about whether this is possible. Indeed in the solution that I've mentioned before, this differentiation is not achieved. For example, if the new hyperedge has three nodes, two from Cat1, one from Cat2, and the two from Cat1 had co-participated in a prior event. Then subset repetition would tell you that two out of three dyads had a prior event and the node stat statistic would tell you that two out of three nodes are in Cat1. But you would get the same values in both statistics if the prior event involved one node from Cat1 (but not the other) and one from Cat2. So it does not make the distinction you indicated.
I think that this can (almost - see below) be achieved by coding the events as directed hyperedges, where the Cat1 nodes are considered as sources and the Cat2 nodes as targets. (It assumes that nodes keep their category membership forever.) Then the three versions of subset repetition would be achieved by three specifications of DHE_SUB_REPETITION_STAT, where once you have source size = 2 and target size = 0, once the sizes are (0,2) and in the third variant it is (1,1). See:
https://github.com/juergenlerner/eventnet/wiki/RHEM-effects-(reference-guide)#directed-subset-repetition-and-subset-reciprocationYou have to set up the entire configuration, also the observations, and also the input data, for directed hyperedges.
The problem (the "almost") is that these "directed hyperevents" need at least one source and at least one target. (It's simply due to each row in the input data must include one source node and one target node.) This translates to each event must have at least one node from each category - which I think might not always be the case in the data (perhaps we are lucky and it is the case).
I'm currently working on a new version of eventnet supporting "generalized hyperevents" that can have not only sources and targets (as directed hyperevents) but they can decompose in any number of subsets (or categories) and - important for your case - these subsets can also be empty in some events. A pre-release version might be released soon (some weeks).
Hope it helps.
Juergen