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


From   Nick Cox <[email protected]>
To   "[email protected]" <[email protected]>
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 
[email protected] 

Pavlos C. Symeou [mailto:[email protected]] 

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
> [email protected]
>
> 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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index