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

st: Using xml_tab

From   Alan Neustadtl <>
To   Statalist <>
Subject   st: Using xml_tab
Date   Mon, 2 Mar 2009 14:58:50 -0500

I am using version 3.50 (24Jun2008) of xml_tab from SSC and am looking
fo rhelp from more experienced users.

Is there a way to 1) only output the coefficients (and drop the std.
errors, t-statistics, and/or pvalues), 2) rename the variable names
(e.g.  "Mileage (mpg)" becomes "MPG"), and 3) add line underneath the
table title (not the first row of coefficients).

Here is a simple example where I changed "_cons" to "Constant".  While
I have played around with the lines options I have not figured out how
to do the rest.

***** START OF CODE *****
sysuse auto, clear
quietly regress mpg weight
estimates store m1
quietly regress mpg weight foreign displacement
estimates store m2

#delimit ;
xml_tab m1 m2, replace
   format((S3120) (N2304))
#delimit cr
estimates clear
*****  END OF CODE ****

*   For searches and help try:

© Copyright 1996–2021 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index