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

st: Re: stata created tables in latex slides


From   Roger Newson <[email protected]>
To   [email protected]
Subject   st: Re: stata created tables in latex slides
Date   Sun, 07 Sep 2003 18:51:07 +0100

At 12:22 07/09/03 -0500, Richard Boylan wrote:
I generated the tables in the paper for a latex document using est2tex & sutex.
I am trying to use the same commands to generate latex slides for the same paper
and ran into a variety of problems (e.g., how to split the tables across two slides, how to
shrink the font size of both the coefficients and the t-statistics).

Has anyone tries to do this and come up with any tricks?
A possible solution is to use -listtex-, which creates TeX or LaTeX tables with 1 row per observation of a Stata data set, instead of 1 row per row of a Stata matrix. -listtex- is downloadable from SSC, and can be used with an -if- qualifier to output subsets.

To create data sets ready to be output using -listtex-, you can use the -parmest- package in the case of parameter estimates, the -xcollapse- package in the case of general summary statistics, and the -xcontract- package in the case of frequencies and percentages. All these packages are downloadable from SSC.

To find out more about the use of -listtex- together with other packages to create publication-ready output, see Newson (2003)in the latest Stata Journal. A pre-publication draft of this article can be downloaded from my website at
http://phs.kcl.ac.uk/rogernewson/
either using a browser or using the -net- command in Stata.

I hope this helps.

Roger

References

Newson R. Confidence intervals and p-values for delivery to the end user. Ths Stata Journal 2003; 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: [email protected]
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/




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