OUTREG: Stata module to format regression output for published tables
John Luke Gallup
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.
In order to set up a list of libraries that you have access to,
you must first login
or sign up.
Then set up a personal list of libraries from your profile page by
clicking on your user name at the top right of any screen.