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 on April 23, and its replacement, statalist.org is already up and running.


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

Re: st: -estout- question: Putting model numbers below mlabels


From   Max.Livingston@ny.frb.org
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: -estout- question: Putting model numbers below mlabels
Date   Thu, 7 Mar 2013 08:58:55 -0500

Hi Ryan,

Thanks for the advice. However, I'm already using mgroups; I have six 
columns, 3 in each group, and I want them to be numbered 1-6. So, since 
I'm already using it to group the models, I don't think I can use it again 
to do what you're suggesting (although correct me if I'm wrong). I'll give 
an example of what I'm trying to achieve:



I'm not sure if that will show up on statalist, but essentially there are 
3 rows: the group header, the model titles, and then the column numbers. 
Estout does this perfectly fine, except that it puts the numbers above the 
model titles, and I need it to be below. I know this is a very particular 
and persnickety request, but I just feel like it has to be possible.

Thanks,
Max



Max Livingston
Sr. Research Analyst
Microeconomic Studies
Research and Statistics Group
Federal Reserve Bank of New York
(212) 720-7894



From:   Ryan Kessler <ryan.kessler.stata@gmail.com>
To:     statalist@hsphsun2.harvard.edu, 
Date:   03/06/2013 09:29 PM
Subject:        Re: st: -estout- question: Putting model numbers below 
mlabels
Sent by:        owner-statalist@hsphsun2.harvard.edu



Hi Max,

I believe -mgroups()- will do the trick:

sysuse auto
eststo clear
eststo: reg mpg price
eststo: reg mpg price weight
eststo: reg mpg price weight turn
esttab, mgroups("A" "B" "C", pattern(1 1 1)) mlabels(none)

Ben Jann provides a better example here -->
http://repec.org/bocode/e/estout/advanced.html.

Best,

Ryan Kessler

On Wed, Mar 6, 2013 at 3:06 PM,  <Max.Livingston@ny.frb.org> wrote:
> Hello,
>
> I am using the -estout-/-esttab- package by Ben Jann. I can't seem to
> figure out how to get the model numbers (e.g., (1) (2) (3)...) below the
> model labels (specified using mlabels("a" "b" "c"). Anyone have any
> suggestions?
>
> Thanks,
> Max
>
>
> Max Livingston
> Sr. Research Analyst
> Microeconomic Studies
> Research and Statistics Group
> Federal Reserve Bank of New York
> (212) 720-7894
>
>
>
>
> This e-mail message, including attachments, is for the sole use of the 
intended recipient(s) and may contain confidential or proprietary 
information.  If you are not the intended recipient, immediately contact 
the sender by reply e-mail and destroy all copies of the original message.
> *
> *   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/






This e-mail message, including attachments, is for the sole use of the intended recipient(s) and may contain confidential or proprietary information.  If you are not the intended recipient, immediately contact the sender by reply e-mail and destroy all copies of the original message.
*
*   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