Using -collapse- is another (and easier) possibility.
Nick
[email protected]
Martin Weiss
cap ssc inst parmest
sysuse auto, clear
mean mpg, over(for rep, nolabel)
parmest, saving(myfile, replace)
u myfile, clear
drop eq t dof
l
Richard Palmer-Jones
I want to compuile the ereturned e(b) and e(v) results of a "mean
var1, over(var2 var3, nolabel)" into a usable form, such as rows in
new variables or a matrix, together with the relevatn values of var2 &
var3
I think this means making use of the values in e(over_labels), but how
to do so escapes me.
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/