Statalist


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

AW: st: Factor variables and outreg/outreg2


From   "Martin Weiss" <[email protected]>
To   <[email protected]>
Subject   AW: st: Factor variables and outreg/outreg2
Date   Wed, 27 Jan 2010 17:58:26 +0100

<> 

" I can't reproduce that error"



Joshua may want to issue -which outreg2- in the command line and compare the result with -ssc d outreg2- to see whether his version is the latest one.



HTH
Martin


-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:[email protected]] Im Auftrag von Maarten buis
Gesendet: Mittwoch, 27. Januar 2010 17:55
An: [email protected]
Betreff: Re: st: Factor variables and outreg/outreg2

--- On Wed, 27/1/10, Joshua Gottlieb wrote:
> Both -outreg- and -outreg2- return error 101 when I specify
> a varlist that includes factor variables or factor
> interactions.  (Obviously this is in Stata 11.)  Do you know
> if there's any workaround so that I can choose specific
> factor variables and interactions to include in my
> outreg2 output?

I can't reproduce that error message (see the example below).
You can always try -estout- (type in Stata -ssc install estout-,
and see: <http://repec.org/bocode/e/estout/>). In the example
below, both work with factor variables and interactions.

*-------------- begin example ---------------------
sysuse auto, clear
tempname myfile
regress mpg i.foreign##c.weight headroom
outreg2 using `myfile', see
eststo : regress mpg i.foreign##c.weight headroom
esttab
*---------------- end example ---------------------
( For more on how to use examples I sent to statalist see:
 http://www.maartenbuis.nl/stata/exampleFAQ.html )

Hope this helps,
Maarten

--------------------------
Maarten L. Buis
Institut fuer Soziologie
Universitaet Tuebingen
Wilhelmstrasse 36
72074 Tuebingen
Germany

http://www.maartenbuis.nl
--------------------------


      

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


*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index