Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | "Ben Hoen" <bhoen@lbl.gov> |
To | <statalist@hsphsun2.harvard.edu> |
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 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 bhoen@lbl.gov * * 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/