Statalist


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

Re: st: Factor variables and outreg/outreg2


From   Roy Wada <[email protected]>
To   [email protected]
Subject   Re: st: Factor variables and outreg/outreg2
Date   Thu, 28 Jan 2010 11:27:58 -0800

It's the factor variables in the varlist that was causing the problem.
I sent a fix to Josh.

Roy


On Thu, Jan 28, 2010 at 10:51 AM, Joshua Gottlieb
<[email protected]> wrote:
> Sorry; I was unclear about my goal.  I only want to output some of the
> variables, since I have a large number of other covariates that I
> don't want to report.  For example, consider this modification of
> Maarten's example, where I want to prevent outreg2 from exporting
> coefficients on all of the rep78 fixed effects:
>
> *-------------- begin example ---------------------
> sysuse auto, clear
> tempname myfile
> regress mpg i.foreign##c.weight i.rep78 headroom
> outreg2 i.foreign##c.weight headroom using `myfile', see
> *---------------- end example ---------------------
>
> The -outreg2- command here will generate an error, whereas the
> following command will work fine:
> outreg2 headroom using `myfile', see
>
> Thank you very much.
>
> Josh
>
>
>
> On Wed, Jan 27, 2010 at 12:46 PM, Roy Wada <[email protected]> wrote:
>>> 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?
>>
>> It's not clear what you typed into Stata. If you can replicate the
>> error using -sysuse auto- and send us what you typed, then that would
>> be helpful.
>>
>> Roy
>>
>> *
>> *   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/
>

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