Computing optimal sampling designs for two-stage studies



10


Stata Technical Bulletin


STB-58


Syntax

outreg Varrlitt using filename [, nolabel title (textlist) ctitle (textlist) nonotes addnote Ctextiist )

bdecnumlilisf) bfmt (textlist) coefastr {se pvalueʃ ci tdec(#) noparen bracket

Jnoaster 3aster IOpctJ sigsymb( textlist) nocons nonobs noni nor2 adjr2 rdec(#)
addstat (text. # [, text, #, ... ]) adec(#) eform marginal pnecol xstats
comma append replace ]

outreg is available after any estimation command. A textlist is a list of text separated by commas. It is similar to a numlist or
a
varlist, but commas are required. Each text element in the list does not need to be enclosed in quotation marks unless
the text contains commas or parentheses.

Description

outreg formats regression output as it is presented in most documents: t statistics or standard errors in parentheses under
each coefficient, asterisks indicating coefficients statistically different from zero, and summary statistics like ^-squared at the
bottom. The formatted output is written to a tab- or comma-separated ASCII file, which can then be loaded into word processing
or spreadsheet programs to be converted directly to a table. For example, the output file can be opened in Microsoft Word, the
text selected, and then converted to a table by choosing “Table”, then “Convert Text to Table”. Note that when loading the
output into a spreadsheet, the parentheses around the
t statistics may convert to negative numbers.

outreg should work after any Stata estimation command. Like predict, outreg makes use of internally saved estimation
results, so it should be invoked immediately after the estimation. In addition to coefficient estimates, by default outreg will
report
t statistics with asterisks for standard significance levels (1% and 5%), numbers of observations, true Æsquareds (no
pseudo -R-squareds), and the number of groups in panel estimation. The user can add their own chosen titles (
title and ctitle),
statistics (addstat), and notes (addnote) to the table, and change many other aspects of the output.

outreg rewards the use of variable labels (and value labels for mlogit, svymlog, and dlogit2). The variable labels
are used in the output table (unless nolabel is chosen), providing more intelligible variable descriptions than 8-letter names.
If different variables are assigned the same variable label (not usually done intentionally), and more than one regression is
appended together, the coefficients and
t statistics will not be properly ordered. The solution is to use distinct variable labels or
the nolabel option.

If filename is specified without an extension, . out is assumed.

Several regressions with differing variables can be combined into a single table with the append option.

If a varlist is specified, only the regression coefficients corresponding to the variables in varlist will be included in the table.
The intercept coefficient is included as well unless the nocons option is chosen. This is probably most useful for excluding
numerous dummy variable coefficients. Time series prefixes are not allowed when using an explicit
varlist.

Text-related options

nolabel specifies that variable names rather than variable labels be used to identify coefficients. It also suppresses the value
labels of the dependent variable in mlogit and svymlog.

title (textlist) specifies a title or titles at the top of the regression table. The maximum title length is 80 characters. Additional
characters will be cut off. Longer titles can be put in two or more title lines. When regression results are appended together,
the table title(s) must be specified in the first outreg call; titles specified in subsequent outreg calls using the append
option will be ignored. Note that when converting the outreg text output to a table in a word processor or a spreadsheet,
it is easier to leave the title row out of the text selected for conversion.

ctitle(textlist) specifies the regression title above the coefficient column. By default if no column title is specified, the label
or name of the dependent variable is displayed. Multiple column titles are only appropriate for multi-equation regressions,
using one title per equation, and then only if not onecol.

nonotes specifies that notes explaining the t statistics (or standard errors) and asterisks not be included.

addnote (textlist) specifies user-added notes to be displayed in new lines at the bottom of the outreg table. When regression
results are appended together, addnote must be specified in the first outreg call; addnotes specified in subsequent outreg
calls using the append option will be ignored. addnote is consistent with nonotes. A blank line can be inserted by
including a blank within quotes as a note.



More intriguing information

1. DISCUSSION: ASSESSING STRUCTURAL CHANGE IN THE DEMAND FOR FOOD COMMODITIES
2. The name is absent
3. The name is absent
4. Brauchen wir ein Konjunkturprogramm?: Kommentar
5. O funcionalismo de Sellars: uma pesquisa histδrica
6. Economic Evaluation of Positron Emission Tomography (PET) in Non Small Cell Lung Cancer (NSCLC), CHERE Working Paper 2007/6
7. The name is absent
8. Evolution of cognitive function via redeployment of brain areas
9. The name is absent
10. Les freins culturels à l'adoption des IFRS en Europe : une analyse du cas français
11. The effect of classroom diversity on tolerance and participation in England, Sweden and Germany
12. THE CHANGING STRUCTURE OF AGRICULTURE
13. Segmentación en la era de la globalización: ¿Cómo encontrar un segmento nuevo de mercado?
14. SOCIOECONOMIC TRENDS CHANGING RURAL AMERICA
15. Estimation of marginal abatement costs for undesirable outputs in India's power generation sector: An output distance function approach.
16. Migration and Technological Change in Rural Households: Complements or Substitutes?
17. Towards Teaching a Robot to Count Objects
18. The purpose of this paper is to report on the 2008 inaugural Equal Opportunities Conference held at the University of East Anglia, Norwich
19. Revisiting The Bell Curve Debate Regarding the Effects of Cognitive Ability on Wages
20. Placentophagia in Nonpregnant Nulliparous Mice: A Genetic Investigation1