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: [SPAM] st: xml_tab with interactions


From   "Dr. Bartus" <[email protected]>
To   [email protected]
Subject   Re: [SPAM] st: xml_tab with interactions
Date   Fri, 21 Jan 2011 13:52:27 +0100

Dear Ben,

I just installed xml_tab from the ssc archive, and it seems that it
was written in 2008 before Stata11 came out with support for factor variables.
Thus, xml_tab will not work with your regression involving factor variables

Tamas


On 11/01/21, Ben Hoen <[email protected]> wrote:
Hello Stata Listers,

I have a question about xml_tab.  I am having trouble getting it to export
interacted terms.  Does anyone have a solution or a workaround?

Here is some problematic example code:
sysuse auto, replace
reg price c.mpg#foreign weight
eststo model1
xml_tab model1

Which returns:
. xml_tab model1

foreign#c:  operator invalid
r(198);

yet when I use estout I get:
. estout model1, var(17)

------------------------------
                        Model1
                             b
------------------------------
0b.foreign#c.mpg     -87.42007
1.foreign#c.mpg       36.07147
weight                 2.70761
_cons                -1057.949
------------------------------

Any suggestions? 

Ben

Ben Hoen
Principal Research Associate
Lawrence Berkeley National Laboratory
Office: 845-758-1896
Cell: 718-812-7589
[email protected]


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

--
------------------------------------------------

Tamas Bartus, PhD
Associate Professor, Institute of Sociology and Social Policy
Corvinus University, Budapest
1093 Budapest, Közraktár utca 4-6.
Phone: +36-1-482-7301
Fax: +36-1-482-7348
Homepage: http://web.uni-corvinus.hu/bartus
* * 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