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
Market share of different firms in different regionsHI, I have a dataset of some firms which provide services to some clients in 10 different regions. H…
Dark Mode Stata 16 on macOSHi, I'm using Stata 16 on macOS Catalina and Dark Mode enabled in the macOS System Preferences. How…
Counting different variable associated with one variableI have a list of patients who have pulmonary nodule treatment with three different types of embolic …
GSEM and Survey Weights IssuesHello, Thanks for giving this a look. First, I am working with the ELS:2002 restricted, so it is a …
Means at a time intervalGood evening, I'm having a datset with age as the independent variable. Age is given as a point numb…
Subscribe to:
Post Comments (Atom)
0 Response to Statistics on different subgroups
Post a Comment