Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
-xml_tab- is a user-written program from SJ and SSC. Please remember to specify where user-written programs you specify come from. This request has long been prominent in the FAQ. -estout-: similar comments. In this case, although I have not used -xml_tab- or looked carefully inside it, I note that -xml_tab- was written for Stata 8 and was last updated 24 June 2008. It doesn't surprise me that it fails to recognise features, specifically factor variables, introduced in Stata 11. It might therefore be surprising that -estout- does what you want here. The difference is that -estout- has been updated to support factor variables, as is documented at http://repec.org/bocode/e/estout/history.html Nick n.j.cox@durham.ac.uk * * 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/