Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


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

Re: st: Rusty on outreg ... Automatic column numbers?


From   Jorge Eduardo Pérez Pérez <perez.jorge@ur.edu.co>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   Re: st: Rusty on outreg ... Automatic column numbers?
Date   Thu, 7 Feb 2013 19:46:36 -0500

Dear Mr. Gallup.

Thank you for your help!  After reading the helpfile more carefully I
suspected I had to add the numbers manually, but I had to be sure.

The flexibility of -ctitle- is definitely an advantage over the
previous version, and after using the new version I feel it helped me
design exactly the table I wanted. However, being a LaTex user, I am
used to the computer handling numbering of tables, sections, etc for
me. If there is a wishlist for an -outreg- update, I am voting on
having an automatic numbering option back. Maybe I am just lazy.

Regards,

Jorge Pérez.

_______________________
Jorge Eduardo Pérez Pérez


On Thu, Feb 7, 2013 at 5:59 PM, John Luke Gallup <jlgallup@pdx.edu> wrote:
> Jorge,
>
> Removing automatic column numbers was one of the changes I made in the new version of -outreg- that I released a couple of years ago.  That was because it is usually necessary to assign a column name for merged columns anyway, and it is easy to add a column number at the same time.  I felt that the old version of -outreg- had too many obscure options which could be done almost as easily with a smaller number of general options.
>
> To add column numbers, include them in the -ctitle- option:
>
> sysuse auto, clear
> regress mpg weight
> outreg, ctitle("","(1)"\"","Base") varlabels
> regress mpg weight length
> outreg, merge ctitle("","(2)"\"","With length") varlabels
>
> The table looks like this:
>
>                    -----------------------------------------
>                                        (1)         (2)
>                                       Base     With length
>                    -----------------------------------------
>                     Weight (lbs.)    -0.006      -0.004
>                                     (11.60)**    (2.43)*
>                     Length (in.)                 -0.080
>                                                  (1.44)
>                     Constant         39.440      47.885
>                                     (24.44)**   (7.87)**
>                     R2                0.65        0.66
>                     N                  74          74
>                    -----------------------------------------
>                               * p<0.05; ** p<0.01
>
>
> John
>
> On Feb 7, 2013, at 1:30 PM, Jorge Eduardo Pérez Pérez <perez.jorge@ur.edu.co> wrote:
>
>> Dear Statalist.
>>
>> I am a little rusty in how outreg works, I am still trying to
>> internalize the syntax of the new version. How do I add automatic
>> column numbers when merging multiple regressions?
>>
>> Thanks!
>>
>> _______________________
>> Jorge Eduardo Pérez Pérez
>>
>>
>> *
>> *   For searches and help try:
>> *   http://www.stata.com/help.cgi?search
>> *   http://www.stata.com/support/faqs/resources/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/faqs/resources/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/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index