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]

st: RE: Estout Error With Factor Variables


From   Nick Cox <[email protected]>
To   "'[email protected]'" <[email protected]>
Subject   st: RE: Estout Error With Factor Variables
Date   Fri, 8 Jul 2011 10:19:54 +0100

-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/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index