Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

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

st: xml_tab with interactions

From   "Ben Hoen" <[email protected]>
To   <[email protected]>
Subject   st: xml_tab with interactions
Date   Fri, 21 Jan 2011 07:37:46 -0500

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

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

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

Any suggestions?  


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

*   For searches and help try:

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