Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Xml_tab does not show t-stat in the newest version of STATA 18?

    Hi, I switched to STATA18 but got an issue of using xml_tab. I want to export coefficients and t-statistics. But the XML file exported only regression coefficients and standard deviation (see the attached picture), even if I have specified "tstat below" in code. The following is the sample code. Does anyone know whether this is an issue of new version of STATA or my code? Thanks so much! Jeff

    sysuse auto
    regress price rep78 length mpg
    estimates store reg1
    regress price rep78 length mpg turn if foreign==1
    estimates store reg2
    xml_tab reg1 reg2, tstat below sheet("Table 2") stats(N r2_a) save(B:\Temp\StataTable\reg_test.xml) replace

    Attached Files
Working...
X