[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

From |
Fredrik Wallenberg <fredrik@sims.berkeley.edu> |

To |
statalist@hsphsun2.harvard.edu |

Subject |
Re: st: Stata Estimates to LaTeX Tables |

Date |
Tue, 11 May 2004 09:02:28 -0700 |

I went back and looked at your enduser document but must admit I don't see anything there that is useful to me. It doesn't look to me that I can use -listtex- to produce the tables I'm used to (basically the ones produced by outtex) where you get the significance mark next to the estimate and the standard errors in parenthesis below.

If I'm missing anything obvious, let me know.

Fredrik

On May 11, 2004, at 4:46, Roger Newson wrote:

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.

Roger

References

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

Email: roger.newson@kcl.ac.uk

Website: http://www.kcl-phs.org.uk/rogernewson

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

*

* For searches and help try:

* http://www.stata.com/support/faqs/res/findit.html

* http://www.stata.com/support/statalist/faq

* http://www.ats.ucla.edu/stat/stata/

* * For searches and help try: * http://www.stata.com/support/faqs/res/findit.html * http://www.stata.com/support/statalist/faq * http://www.ats.ucla.edu/stat/stata/

**Follow-Ups**:**Re: st: Stata Estimates to LaTeX Tables***From:*Roger Newson <roger.newson@kcl.ac.uk>

**References**:**Re: st: Stata Estimates to LaTeX Tables***From:*Roger Newson <roger.newson@kcl.ac.uk>

- Prev by Date:
**Re: st: RE: notes lost in append** - Next by Date:
**st: STATA reads numbers as strings** - Previous by thread:
**Re: st: Stata Estimates to LaTeX Tables** - Next by thread:
**Re: st: Stata Estimates to LaTeX Tables** - Index(es):

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