Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: Factor variables and outreg/outreg2


From   "Schmidt, William" <[email protected]>
To   "[email protected]" <[email protected]>
Subject   Re: st: Factor variables and outreg/outreg2
Date   Fri, 2 Mar 2012 15:49:01 -0500

I am attempting to use outreg2 but I would like to report a limited set of covariates. I have factor variables in my regression, and they seem to be ignored by the options in outreg. In the example below, for instance,  i.foreign##c.weight is not reported.

sysuse auto, clear
regress mpg i.foreign##c.weight i.rep78 headroom
outreg2 using myfile, keep(i.foreign##c.weight headroom) sortvar(headroom i.foreign##c.weight)


Thanks!


Bill

*
*   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/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index