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 at the end of May, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: Estout Error With Factor Variables


From   "Pavlos C. Symeou" <p.symeou@gmail.com>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   st: Estout Error With Factor Variables
Date   Fri, 08 Jul 2011 12:10:13 +0300

Dear Statalisters,

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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index