This is the example 8 from the help file of -outreg2- from ssc.
Anything in groupvar( ) that is not found in the regression will be
treated as a new row by that name and it will be empty.
* groupvar( ) will create super-rows
sysuse auto, clear
reg mpg rep78 head trunk weight
outreg2 using myfile, replace
reg mpg rep78 head weight turn disp gear
outreg2 using myfile, groupvar(Group1 trunk turn head weight Group2) see
Roy
> The refcat option is supposed to introduce one row for the omitted
> reference category in the output table. I don't know if anything
> similar exists when using outreg...
*
* 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/