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: Merging tables in outreg?


From   Nick Cox <[email protected]>
To   "[email protected]" <[email protected]>
Subject   Re: st: Merging tables in outreg?
Date   Tue, 28 May 2013 12:43:26 +0100

There is an over-arching point here. Many key programs have been
published through the Stata Journal but are also maintained elsewhere,
notably SSC.

In particular, several leading programmers such as John Gallup make
frequent fixes and small improvements to their programs.

For them, the lead time of the SJ (once every 3 months) is too long
and SSC or personal website becomes the website of choice as Kit Baum
generally puts stuff up very quickly (and he advertises when that is
going to be unlikely).
Nick
[email protected]


On 28 May 2013 10:30, Sean Muller <[email protected]> wrote:
> Thanks Kit. You are right, my outreg package was out of date (I thought sg97_4 was the recent release but that is actually sg97_5). Having run the update I now get a *different* error earlier in the process.. (This also means that I don't know if the original error would recur because I don't get that far). The basic command sequence is:
>
> xi: reg y f(X1 X2)
> margins, dydx(X1 X2) at(X1=(1 2 3))
> outreg, stats(b_dfdx se_dfdx)
>
> I now get this error after the final command:
>
> marginal estimates not found; see -help margins-
> r(301);
>
> I did a search through the archive and found a thread on the same issue ("Re: st: Outreg margins error", 5 Sep 2012), which indicated that the problem should be resolved by either a new outreg update or by adding 'post' to the margins command:
>
> margins, dydx(X1 X2) at(X1=(1 2 3)) post
>
> But adding 'post' makes no difference in my case and my outreg package is now up to date.
>
> One odd thing is that I ran the same code on a computer with Stata12 yesterday and it worked fine, both for compiling the tables and for merging them (the problem I had previously). The problem is that I most regularly have access to Stata11 so it would still be useful to figure-out what the problem is. My Stata 11 ado, executable and utilities are all up-to-date.
>
> Anyone have any idea why this would work in Stata12 and not Stata11?
>
> Thanks,
>
> Sean
>
>
> Sean M. Muller
> School of Economics
> University of Cape Town
>
> ________________________________________
> From: [email protected] [[email protected]] on behalf of Christopher Baum [[email protected]]
> Sent: 27 May 2013 09:46 AM
> To: <[email protected]>
> Subject: Re: st: Merging tables in outreg?
>
> On May 27, 2013, at 8:33 AM, Sean
>  wrote:
>
>> Any advice/assistance would be appreciated. (I'm using Stata11 by the way, in case this is relevant, and outreg package sg97_4).
>
> Your mention of sg97_4 suggests you are using the SJ version of -outreg-, which is very old indeed. Any messages you may have read likely relate to a more recent version of John Luke Gallup's -outreg-, which is always on SSC. You should do
>
> ssc install outreg, replace
>
> to bring your -outreg- up to date, and then see whether that solves the problem.
>
> Best wishes
> Kit Baum
>
>
> Kit Baum   |   Boston College Economics & DIW Berlin   |   http://ideas.repec.org/e/pba1.html
>                              An Introduction to Stata Programming  |   http://www.stata-press.com/books/isp.html
>   An Introduction to Modern Econometrics Using Stata  |   http://www.stata-press.com/books/imeus.html
>                                                                                                       http://www.crup.com.cn/Item/111779.aspx
>
>
> *
> *   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/
>
> ________________________________
>  UNIVERSITY OF CAPE TOWN
>
> This e-mail is subject to the UCT ICT policies and e-mail disclaimer published on our website at http://www.uct.ac.za/about/policies/emaildisclaimer/ or obtainable from +27 21 650 9111. This e-mail is intended only for the person(s) to whom it is addressed. If the e-mail has reached you in error, please notify the author. If you are not the intended recipient of the e-mail you may not use, disclose, copy, redirect or print the content. If this e-mail is not related to the business of UCT it is sent by the sender in the sender's individual capacity.
>
>
> *
> *   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index