# st: outreg

 From "Li Chuntao" To Subject st: outreg Date Sat, 30 Jul 2005 11:12:00 +0800

```Dear Stata Users,

I meet a strange problem when using outreg

I estimate a number of regressions with the following sentences:

reg invest d_sales ld_sales cf log_nta year_2-year_7 ind2-ind23 if
m_st_ratio<.1, r
outreg d_sales ld_sales cf log_nta using d:\lingnan\table\table6.txt,
replace com  nonotes tdec(3) coe bdec(4) 3aster
reg invest d_sales ld_sales cf log_nta year_2-year_7 ind2-ind23 if
m_st_ratio>=.1 & m_st_ratio<.3, r
outreg d_sales ld_sales cf log_nta using d:\lingnan\table\table6.txt, append
com  nonotes tdec(3) coe bdec(4) 3aster
reg invest d_sales ld_sales cf log_nta year_2-year_7 ind2-ind23 if
m_st_ratio>=.3, r
outreg d_sales ld_sales cf log_nta using d:\lingnan\table\table6.txt, append
com  nonotes tdec(3) coe bdec(4) 3aster
reg invest d_sales ld_sales cf log_nta year_2-year_7 ind2-ind23, r
outreg d_sales ld_sales cf log_nta using d:\lingnan\table\table6.txt, append
com  nonotes tdec(3) coe bdec(4) 3aster
reg invest d_sales st_ds ld_sales st_lds cf st_cf log_nta year_2-year_7
ind2-ind23, r
outreg d_sales st_ds ld_sales st_lds cf st_cf log_nta using
d:\lingnan\table\table6.txt, append com  nonotes tdec(3) coe bdec(4) 3aster

the results is rather strange:

,,,,,,,,,(9)
,,,,,,,(7),,invest
,,,,,(5),,invest,,
,,,(3),,invest,,,,
,invest,,invest,,,,,,
d_sales,0.1110**,,-0.0053,,-0.0032,,-0.0067,,0.0660*
,(2.008),,(0.292),,(0.800),,(0.769),,(1.870)
ld_sales,524,296.7939**,532,306.8620***,-5,7.2095,-8,58.8964,187,783.5980**
,(2.476),,(5.769),,(1.469),,(1.236),,(2.400)
cf,0.0781,,0.0614,,0.0394**,,0.0728**,,0.1315**
,(1.074),,(1.288),,(2.533),,(2.273),,(2.083)
log_nta,-0.1510***,,-0.0119,,-0.0140,,-0.0695**,,-0.0692**
,(2.672),,(0.249),,(0.370),,(2.350),,(2.367)
st_ds,,,,,,,,,-0.1210**
,,,,,,,,,(2.033)
st_lds,,,,,,,,,-394259.0000**
,,,,,,,,,(2.454)
st_cf,,,,,,,,,-0.1122
,,,,,,,,,(1.201)
Constant,3.4795***,,0.7234,,0.7710,,1.9782***,,1.9045***
,(3.145),,(0.706),,(0.932),,(3.105),,(3.068)
Observations,1595,,1008,,2763,,5366,,5366
R-squared,0.201,,0.422,,0.049,,0.058,,0.151

there are two coms between each column, and the first line displays more
strange. It should be

,invest,invest,invest,invest,invest,invest,

what is the matter? do anyone of you met this kind of problems?

thanks

Li Chuntao

--------------------------------
Li Chuntao
School of Economics and Finance
The University of Hong Kong
Tel: (852) 2857 8637
Email:chtl@econ.hku.hk
--------------------------------

--------------------------------
Li Chuntao
School of Economics and Finance
The University of Hong Kong
Tel: (852) 2857 8637
Email:chtl@econ.hku.hk
--------------------------------

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/
```

• Follow-Ups:
• Re: st: outreg
• From: "Clive Nicholas" <Clive.Nicholas@newcastle.ac.uk>