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: encountering problem with esttab while attempting to get summary statistics into latex


From   Ridhima Gupta <g.ridhima@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: encountering problem with esttab while attempting to get summary statistics into latex
Date   Tue, 21 Jun 2011 15:36:35 +0100

Marteen something strange is happening. I tried to unistall estout
using the command

ado uninstall estout, from ("/users/ridhima/Library/Application
Support/Stata/ado/stbplus")

Stata then showed that:

package estout from http://fmwww.bc.edu/repec/bocode/e
      'ESTOUT': module to make regression tables

(package uninstalled)


Now I tried to install it again using

ssc install estout

Now I get a message saying:

the following files already exist and are different:
    /users/ridhima/Library/Application Support/Stata/ado/stbplus/_/_eststo.ado
    /users/ridhima/Library/Application Support/Stata/ado/stbplus/e/estadd.ado
    /users/ridhima/Library/Application Support/Stata/ado/stbplus/e/estadd.hlp
    /users/ridhima/Library/Application Support/Stata/ado/stbplus/e/estout.ado
    /users/ridhima/Library/Application Support/Stata/ado/stbplus/e/estout.hlp
    /users/ridhima/Library/Application Support/Stata/ado/stbplus/e/eststo.ado
    /users/ridhima/Library/Application Support/Stata/ado/stbplus/e/eststo.hlp
    /users/ridhima/Library/Application Support/Stata/ado/stbplus/e/esttab.ado
    /users/ridhima/Library/Application Support/Stata/ado/stbplus/e/esttab.hlp

no files installed or copied
(no action taken)
r(602);


When I try to unistall it again using the same command as above, it read

ado uninstall estout, from ("/users/ridhima/Library/Application
Support/Stata/ado/stbplus")

package not found
r(111);


What am I doing wrong here?



On Tue, Jun 21, 2011 at 1:03 PM, Maarten Buis <maartenlbuis@gmail.com> wrote:
> On Tue, Jun 21, 2011 at 12:36 PM, Ridhima Gupta wrote:
>> Maarten I followed this example as it was more pertinent. See the
>> second example.
>
> The following adaptation of that example runs without problem in my
> version of Stata.
>
> *---------------------------- begin example --------------------------
> cd c:/temp
> sysuse auto, clear
> eststo clear
> bysort foreign: gen total = _N
> label var total "Observations"
>
> estpost tabstat price gear_ratio total, by(foreign) ///
>        listwise s(mean sd) columns(statistics)
> esttab using foo.tex, ///
>       main(mean) aux(sd) ///
>       nostar nodepvar unstack nomtitle nonumber noobs label ///
>       addnotes("Note: Mean with standard deviation in parentheses.") ///
>       title("Summary \label{tab:sum}") ///
>       replace nonotes
> *------------------------------- end example ------------------------------
> (For more on examples I sent to the Statalist see:
> http://www.maartenbuis.nl/example_faq )
>
> Which version of -estout- are you running? A common problem occurs
> when people install the version of some user written command from the
> Stata Journal when there is a newer version available from SSC. The
> main strength of the Stata Journal archive is that it makes the
> results of articles in the Stata Journal reproducible, but it is
> relatively slow as it is linked to the appearance schedule of the
> journal. SSC is much quicker, but/because it is not linked to the
> Stata Journal. This leads to different versions being available on the
> Stata Journal archive and the SSC. It is up to you to choose the
> latest one which is typically but not always the one on SSC. This is
> why the Statalist FAQ askes you to specify where you got your user
> written commands from. If we are talking about different versions,
> than it is unlikely that we can solve your problem.
>
> Hope this helps,
> Maarten
>
> --------------------------
> Maarten L. Buis
> Institut fuer Soziologie
> Universitaet Tuebingen
> Wilhelmstrasse 36
> 72074 Tuebingen
> Germany
>
>
> http://www.maartenbuis.nl
> --------------------------
> *
> *   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index