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: RE: Estout Error With Factor Variables


From   Nick Cox <n.j.cox@durham.ac.uk>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   RE: st: RE: Estout Error With Factor Variables
Date   Fri, 8 Jul 2011 10:41:13 +0100

Not so. The version you have from SJ 7(1) was published in 2007. You need to re-install -estout- from SSC, which is a later version. 

Nick 
n.j.cox@durham.ac.uk 

Pavlos C. Symeou [mailto:p.symeou@gmail.com] 

Thank you for the suggestion. I already checked that and I have the 
latest version. That is: package st0085_1 from 
http://www.stata-journal.com/software/sj7-2


On 8/7/2011 12:19 μμ, Nick Cox wrote:
> -estout- is a user-written command. Please remember to explain where you got user-written commands that you refer to. My guess is that you may need to update your -estout-. You need a version that understands factor variable notation.
>
> Nick
> n.j.cox@durham.ac.uk
>
> Pavlos C. Symeou
>
> I am running the following model where I use Factor variables to
> represent the interaction of all my continues variables
> (discretion, l.press, l.performance) with the continuous variable
> apple.
>
> The model is estimated without any problems, but when I use the -
> estout - command to export the output to the text file it gives me
> the following error:
>
> discretion#c:  operator invalid
> r(198);
>
> I don't understand what the problem might be. I appreciate any
> thoughts.
>
> Best,
>
> Pavlos
>
> xtlogit str discretion l.press l.performance apple
> c.discretion#c.apple l.c.press#c.apple l.c.performance#c.apple, re
> nolog
>
> estimates store model
>
> estout model using "C:\model.txt", replace ///
>       cells(b(star fmt(%9.3f) label(Coef.))se(par fmt(%9.2f)
> label(SE)))   ///
>       legend varlabels(_cons constant)             ///
>          stats(N N_g chi2 ll, fmt(%9.2f)) delimiter(_tab)
>
>
> *
> *   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