Hello,
Is there a way to compute summary statistics (mean) of many possibly overlapping subgroups in one command ? I could do this with the table, c() if the groups were not overlapping. The idea is to have something like (mean var1 if condition1) (mean var2 if condition2) (mean var3 if condition3) ... where an observation can validate many conditions i, j, k. Of course, it possible to do it separately with sum var if condition for each variable. But the number of variable is high (more than 100). Any help ? Thank you.