EconPapers    
Economics at your fingertips  
 

OUTREG: Stata module to format regression output for published tables

John Luke Gallup ()

Statistical Software Components from Boston College Department of Economics

Abstract: This is a revision of outreg (as published in STB-46, updated in STB-49, STB-56, STB-58, STB-59) which supersedes the latest version available from the STB. The outreg ado file takes output from any estimation command in Stata, and formats it as in journal articles. One of the most useful features of outreg is that successive estimation results, possibly with different variables, can be appended with the variable coefficients lined up properly. Multivariate regression commands like sureg, mvreg, and reg3 are formatted equation by equation, and can be appended. There are plenty of options, such as a choice between t-statistics or standard errors, the number of decimals displayed for the coefficients, and the choice of excluding the number of observations or explanatory notes at the bottom of the table. By default, the output file uses the variable labels rather than the 8 character (or less) variable names, so the presentation tables are in intelligible English if appropriate variable labels have been assigned. outreg creates a text (ASCII) file with columns separated with tab characters. If you print out the text itself, it is not pretty, but this file format can be converted automatically to a table in wordprocessors and spreadsheets like Word and Excel. The sequence in Microsoft Word is simple: Open or Insert the file created by outreg. Select the estimation output text that is in columns (not the notes at the bottom of the table), and choose Table, Convert Text to Table. With some adjustment of the column widths, fonts, etc. the final table is ready. In Excel, one simply opens the file created by outreg and follows the default choices in the Text Import Wizard. Other software should be similar. See the outreg help file for detailed syntax and examples. outreg requires Stata version 6. This is version 3.1.8 of the software.

Language: Stata
Requires: Stata version 6.0
Keywords: output; formatting; estimation (search for similar items in EconPapers)
Date: Written
Note: This module may be installed from within Stata by typing "ssc install outreg". Windows users should not attempt to download these files with a web browser.

Downloads: (external link)
http://fmwww.bc.edu/repec/bocode/o/outreg.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/o/outreg.hlp help file (text/plain)

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: http://EconPapers.repec.org/RePEc:boc:bocode:s375201

Ordering information: This software item can be ordered from
http://repec.org/docs/ssc.php

Access Statistics for this software item

More software in Statistical Software Components from Boston College Department of Economics
Address: Boston College, 140 Commonwealth Avenue, Chestnut Hill MA 02467 USA
Contact information at EDIRC.
Series data maintained by Christopher F Baum ().

 
Page updated 2009-11-18
Handle: RePEc:boc:bocode:s375201