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: esttab question: how to drop certain stat. and a row?


From   Richard Herron <[email protected]>
To   [email protected]
Subject   Re: st: esttab question: how to drop certain stat. and a row?
Date   Mon, 31 Oct 2011 09:12:17 -0400

Use the -stats()- option in -esttab- to specify which stats you want
(-esttab- will drop all unlisted stats).

The -indicate()- option in -esttab- allows you to replace
dummies/interactions with a Yes/No row. Here is a link to the
explanation on the estout page.

http://repec.org/bocode/e/estout/advanced.html#advanced006

The estout package is available from ssc (i.e., -ssc install estout-).

On Mon, Oct 31, 2011 at 08:27, Heekyung "Hellen" Kim <[email protected]> wrote:
> Hi,
>
> How can I drop certain statistics (not coefficients)?
> Can I add a row like "Year Fixed Effect" in the first column; "Yes" in the
> second column?
>
> For example, I run a model:
> xtnbreg y x1 x2 i.group i.year
>
> I want to drop ln_r const & ln_s const in the table.
> I want to add two rows in two columns like "Year Fixed Effect Yes" "Group
> Fixed Effect" "Yes"
>
> Thanks!
>
>
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf Of Carsten Sauer
> Sent: Sunday, October 09, 2011 1:33 PM
> To: [email protected]
> Subject: Re: st: how to put both coefficient and exponentiated form in a
> table using estout or similar command
>
> Try the following example:
>
> sysuse auto
> nbreg rep78 price mpg
> estadd expb
> estout, cells(b(star fmt(2)) se(par fmt(2)) expb (par([ ])))
> drop(lnalpha:) stats(N ll chi2, fmt(%8.0f %8.2f))
>
>
>
> Am 09.10.2011 18:44, schrieb Heekyung "Hellen" Kim:
>> Thank you so much for the reply.
>>
>> I can see that I can make a table with two columns using -esttab with
>> eform(0 1).  Is there a way for me to put the expontionated form under the
>> raw coefficient in a bracket in the same column?
>>
>> -----Original Message-----
>> From: [email protected]
>> [mailto:[email protected]] On Behalf Of Richard Herron
>> Sent: Saturday, October 08, 2011 5:06 PM
>> To: [email protected]
>> Subject: Re: st: how to put both coefficient and exponentiated form in a
>> table using estout or similar command
>>
>> Have you tried storing the regression with -eststo- then using
>> -esttab- with the -, eform- option?
>>
>> Here's a like to an example on the -estout- package page:
>> http://repec.org/bocode/e/estout/advanced.html#advanced001
>>
>> (The -estout- package is available from SSC:
>> http://repec.org/bocode/e/estout/index.html)
>>
>> On Sat, Oct 8, 2011 at 16:39, Heekyung "Hellen" Kim<[email protected]>  wrote:
>>> Hi, I want to use -estout (or anything like that) to have a result table.
>>>
>>> I am using xtnbreg or nbreg.  I want to put both coefficient and
>>> exponentiated form in ONE table.
>>>
>>> I can do one of each using estout without eform for the first and estout
>>> with eform option for expoentiated form.
>>>
>>> Is there any way to show both in one table ?
>>>
>>> estout, cells(b(star fmt(2)) se(par fmt(2))) drop(_I* o._I*) stats(N ll
>>> chi2, fmt(%8.2f))
>>> estout, cells(b(star fmt(2)) se(par fmt(2))) drop(_I* o._I*) stats(N ll
>>> chi2, fmt(%8.2f)) eform
>>>
>>> I used the above two line to have SEPARATE tables.  I wish to have one
>> table
>>> containing both.
>>>
>>> -Helen
>>>
>>> *
>>> *   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/
>
> --
>
> Carsten Sauer
> Soziale Ungleichheit und Sozialstrukturanalyse
> Universität Bielefeld
> Fakultät für Soziologie
> Postfach 10 01 31
> 33501 Bielefeld
> Tel.: 0521 106-67291/-6948 (Sekr. Frau Fischer)
> Fax: 0521 106-6479
>
> *
> *   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index