Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: Why is stata ignoring my ctitle command in outreg?
From
Natalie Trapp <[email protected]>
To
statalist <[email protected]>
Subject
st: Why is stata ignoring my ctitle command in outreg?
Date
Wed, 05 May 2010 10:48:32 +0200
Hi,
I would like to export my regression results for several regressions
with the "outreg" command. The problem is that stata ignores my ctitle
command for the second and third regression results. So in my textfile
only the first column is labeled with "fertilisers", the second and
third columns are without labels. I don't understand why.
Stata Commands:
.reg fertilisers x1 x2
.outreg using "stata_regressionresults_nolog.txt", se bracket nolabel
title (Table1: Regression Results) ctitle(fertilisers) replace
.reg energy x1 x2
.outreg using "stata_regressionresults_nolog.txt", se bracket nolabel
ctitle(energy) append
reg electricity x1 x2
.outreg using "stata_regressionresults_nolog.txt", se bracket nolabel
ctitle(electricity) append
Textfile Results:
Table1: Regression Results
(1) (2) (3)
fertilisers
x1 -156.419 -17.878 36.106
[7.909]** [16.596] [5.617]**
x2 10.373 30.433 10.341
[2.244]** [4.710]** [1.594]**
I would be very grateful for any help,
Natalie.
_________________________________
Departments of Geosciences and Economics
Klimacampus @ Hamburg University, Germany
*
* 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/