Statalist


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

st: outtable updated


From   Kit Baum <Baum@bc.edu>
To   statalist@hsphsun2.harvard.edu
Subject   st: outtable updated
Date   Sun, 20 Apr 2008 09:46:50 -0400

The -outtable- routijne of Baum and de Azevedo (Stata matrix -> LaTeX table) has been updated to support a format list. Now one can say something like

outtable using cars,mat(c) replace center f(%9.2f %9.3f %9.1f %9.2f)

and each column of the resulting LaTeX table will be formatted accordingly. This is particularly helpful if some of the columns contain integer values. The prior logic of specifying a single format value (or no format at all) also works.

We are grateful to Michael Blasnik and Ben Jann for providing this logic in their -mat2txt- routine.

The updated -outtable- routine can be downloaded from -ssc- or - adoupdate-, if previously installed.

Kit


Kit Baum, Boston College Economics and DIW Berlin
http://ideas.repec.org/e/pba1.html
An Introduction to Modern Econometrics Using Stata:
http://www.stata-press.com/books/imeus.html


*
* 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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index