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
"command tsset is unrecognized" Error 199Hi, since this is my first post/question I would like to apologize in advance if this is the wrong f…
Manipulating panel data based on previous time valuesHi, I am working with a district-year panel data set in which there are 10 years. I am interested i…
plotting interaction for xtpoissonHi Statalist fellow, I have run an analysis but I don't trust my result. I would be extremely apprec…
sex of the first born childhi stata user , I'm having trouble in generating sex of the first born child. can anyone help me ? …
Extract Std.Err. and 95% Conf. Interval after regressionHi Statalist After running a regression, I understand we can extract the estimated coefficients in …
Subscribe to:
Post Comments (Atom)
0 Response to Statistics on different subgroups
Post a Comment