Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Stata Estimates to LaTeX Tables

From   Roger Newson <>
Subject   Re: st: Stata Estimates to LaTeX Tables
Date   Tue, 11 May 2004 12:46:42 +0100

At 17:23 10/05/04 -0700, Fredrik Wallenberg wrote:
There are a number of solutions available to get a stata regression output into LaTeX. If you only want one single regression, outtex provides a nicely formatted, if somewhat old, LaTeX code with sufficient features for most users. However, I almost exclusively report multiple versions/models which means I want to report them in multiple columns, one model per column. There are, to the best of my knowledge, two ways to do that. For the direct stata to LaTeX route there is the est2vec+est2tex package. The other option is to use outreg to get the output into Excel (actually it is only a tab separated text file) and then use the Excel2TeX macro to output into LaTeX.

I too nearly always need to produce tables with results from multiple regression models. However, I usually use a third way, namely what Nick Cox calls the "resultsset approach", with the -parmest-, -dsconcat- and -listtex- packages, all downloadable from SSC. To find out more about these, type in Stata

findit enduser

and Stata will take you to my website, where you can download a pre-publication draft of Newson (2003).

The resultsset approach also allows tables of percentages and summary statistics using -xcontract- and -xcollapse- (also on SSC). Also, -listtex- allows the user to produce Plain TeX, HTML and even Microsoft Word tables, as well as LaTeX tables.

I hope this helps.



Newson R. 2003. Confidence intervals and p-values for delivery to the end user. The Stata Journal 3(3): 245-269.

Roger Newson
Lecturer in Medical Statistics
Department of Public Health Sciences
King's College London
5th Floor, Capital House
42 Weston Street
London SE1 3QD
United Kingdom

Tel: 020 7848 6648 International +44 20 7848 6648
Fax: 020 7848 6620 International +44 20 7848 6620
or 020 7848 6605 International +44 20 7848 6605

Opinions expressed are those of the author, not the institution.

* For searches and help try:

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