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.
Related Posts with Statistics on different subgroups
Questions about Data SettingDear Statalist, I am now setting the data to write the DID. However, there is a problem with the ar…
Twoway line by countyHi everyone, For my Panel Data descriptive Analysis I am trying to graph the development of Chargin…
Merging 3 data setsGood evening all. I am looking for some help merging 3 data sets. All 3 data sets are sorted by pati…
Marginsplot, addplot - adjustmentHello, using the command: - marginsplot, addplot(hist...)-, I got this graph: Array I would like to…
Different resutls between xtreg and xtivreg2 I recently ran into an issue with xtivreg2. I find that the coefficient estimates are so much diffe…
Subscribe to:
Post Comments (Atom)
0 Response to Statistics on different subgroups
Post a Comment