Statalist


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

st: RE: Trouble outputting t-statistics with outreg2


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: Trouble outputting t-statistics with outreg2
Date   Wed, 18 Nov 2009 22:59:32 -0000

-outreg2- is a user-written program, and although it is a very famous one, it still falls under the heading. Thus you are asked to explain where user-written programs you refer to come from. 

It is unlikely that your computer as such is to blame. The first step is to compare whether you and your colleague are using exactly the same version of -outreg2-. 

. which outreg2 

will tell you. 

Nick 
n.j.cox@durham.ac.uk 

Benjamin Reddy

I'm having trouble getting the t-statistics to write to file using
'outreg2'.  The problem seems to be specific to my computer because
when the do-rile containing the command is run on my colleague's
computer, everything works fine.  Has anyone has problems with this?

For example, I run something like the following:

reg price qty M2-M6 if RT==1, cluster(day)
outreg2 using "price_reg.xls", ctitle("Full model") stats(coef tstat)
replace excel label 2aster

The output file shows the coeffecients (with asterisks), but no
t-stats.  There is a note on the bottom that says, "Robust
t-statistics in parentheses".  As I said above, there is no problem
running this on my colleague's computer.

Am I missing something obvious?

*
*   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/



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