IDEAS home Printed from https://ideas.repec.org/a/tsj/stataj/v12y2012i4p655-673.html
   My bibliography  Save this article

A programmer's command to build formatted statistical tables

Author

Listed:
  • John Luke Gallup

    (Portland State University)

Abstract

The frmttable command is a tool for experienced users and program- mers to create formatted tables from statistics and write them to Word or LATEX files. My objective is to provide as much control over the layout and formatting of the statistical tables as possible in both file formats while keeping the syntax simple. Users can create rectangular tables with any configuration of data and text; specify numeric formats, font sizes, and font types at the table cell level; specify row spacing; and place lines in or around the table. A complex table can be built by merging or appending new statistics to an existing table, and multi- ple tables can be included in the same document, making it possible to create a fully formatted statistical appendix from a single do-file. In this article, I provide examples of the ways in which programmers call frmttable to create formatted tables of statistics. Copyright 2012 by StataCorp LP.

Suggested Citation

  • John Luke Gallup, 2012. "A programmer's command to build formatted statistical tables," Stata Journal, StataCorp LP, vol. 12(4), pages 655-673, December.
  • Handle: RePEc:tsj:stataj:v:12:y:2012:i:4:p:655-673
    Note: to access software from within Stata, net describe http://www.stata-journal.com/software/sj12-4/sg97_5/
    as

    Download full text from publisher

    File URL: http://www.stata-journal.com/article.html?article=sg97_5
    File Function: link to article download
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Michael Lokshin & Zurab Sajaia, 2008. "Creating print-ready tables in Stata," Stata Journal, StataCorp LP, vol. 8(3), pages 374-389, September.
    2. Ben Jann, 2005. "Making regression tables from stored estimates," Stata Journal, StataCorp LP, vol. 5(3), pages 288-308, September.
    3. John Luke Gallup, 2012. "A new system for formatting estimation tables," Stata Journal, StataCorp LP, vol. 12(1), pages 3-28, March.
    4. Roy Wada, 2005. "OUTREG2: Stata module to arrange regression outputs into an illustrative table," Statistical Software Components S456416, Boston College Department of Economics, revised 17 Aug 2014.
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Giovanni L. Lo Magno, 2013. "Sar: Automatic generation of statistical reports using Stata and Microsoft Word for Windows," Stata Journal, StataCorp LP, vol. 13(1), pages 39-64, March.

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Jacques Muthusi & Samuel Mwalili & Peter Young, 2019. "%svy_logistic_regression: A generic SAS macro for simple and multiple logistic regression and creating quality publication-ready tables using survey or non-survey data," PLOS ONE, Public Library of Science, vol. 14(9), pages 1-14, September.
    2. Michael Lokshin & Zurab Sajaia, 2008. "Creating print-ready tables in Stata," Stata Journal, StataCorp LP, vol. 8(3), pages 374-389, September.
    3. Attila Varga & Dimitrios Pontikakis & Joaquín M. Azagra-Caro, 2010. "Absorptive capacity and the delocalisation of university-industry interaction Evidence from participations in the EU's Sixth Framework Programme for Research," Working Papers 2010R01, Orkestra - Basque Institute of Competitiveness.
    4. Ben Jann, 2007. "Making regression tables simplified," Stata Journal, StataCorp LP, vol. 7(2), pages 227-244, June.
    5. Atella, Vincenzo & Belotti, Federico & Depalo, Domenico & Piano Mortari, Andrea, 2014. "Measuring spatial effects in the presence of institutional constraints: The case of Italian Local Health Authority expenditure," Regional Science and Urban Economics, Elsevier, vol. 49(C), pages 232-241.
    6. Ben Jann, 2013. "Plotting regression coefficients and other estimates in Stata," University of Bern Social Sciences Working Papers 1, University of Bern, Department of Social Sciences, revised 18 Sep 2017.
    7. Antoni, Manfred & Heineck, Guido, 2012. "Do literacy and numeracy pay off? : on the relationship between basic skills and earnings," IAB-Discussion Paper 201221, Institut für Arbeitsmarkt- und Berufsforschung (IAB), Nürnberg [Institute for Employment Research, Nuremberg, Germany].
    8. Carsten Sauer & Peter Valet & Stefan Liebig, 2013. "The Impact of within and between Occupational Inequalities on People's Justice Perceptions towards Their Own Earnings," SOEPpapers on Multidisciplinary Panel Data Research 567, DIW Berlin, The German Socio-Economic Panel (SOEP).
    9. Hlavac, Marek, 2016. "TableMaker: An Excel Macro for Publication-Quality Tables," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 70(c03).
    10. Zhao, Yuejun, 2023. "Job displacement and the mental health of households: Burden sharing counteracts spillover," Labour Economics, Elsevier, vol. 81(C).
    11. Richard Williams, 2010. "Fitting heterogeneous choice models with oglm," Stata Journal, StataCorp LP, vol. 10(4), pages 540-567, December.
    12. Daniel Homocianu, 2023. "Exploring the Predictors of Co-Nationals’ Preference over Immigrants in Accessing Jobs—Evidence from World Values Survey," Mathematics, MDPI, vol. 11(3), pages 1-29, February.
    13. Maria Paola Caria & Rino Bellocco & Maria Rosaria Galanti & Nicholas J. Horton, 2011. "The impact of different sources of body mass index assessment on smoking onset: An application of multiple-source information models," Stata Journal, StataCorp LP, vol. 11(3), pages 386-402, September.
    14. Ostrihoň, Filip, 2022. "Exploring macroeconomic imbalances through EU Alert Mechanism Reports," European Journal of Political Economy, Elsevier, vol. 75(C).
    15. Giovanni L. Lo Magno, 2013. "Sar: Automatic generation of statistical reports using Stata and Microsoft Word for Windows," Stata Journal, StataCorp LP, vol. 13(1), pages 39-64, March.
    16. Francisco Fernández López, 2017. "Impacto de la informalidad laboral sobre el acceso a crédito formal," Coyuntura Económica, Fedesarrollo, vol. 47(1 y 2), pages 169-204, December.
    17. Ben Jann & J. Scott Long, 2010. "Tabulating SPost results using estout and esttab," Stata Journal, StataCorp LP, vol. 10(1), pages 46-60, March.
    18. Maarten L. Buis, 2007. "Stata tip 53: Where did my p-values go?," Stata Journal, StataCorp LP, vol. 7(4), pages 584-586, December.

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:tsj:stataj:v:12:y:2012:i:4:p:655-673. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Christopher F. Baum or Lisa Gilmore (email available below). General contact details of provider: http://www.stata-journal.com/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.