IDEAS home Printed from https://ideas.repec.org/p/boc/spai23/06.html
   My bibliography  Save this paper

Make it easy with valuable commands in Stata: dtable and collect

Author

Listed:
  • Laura del Campo

    (Hospital Universitario Ramón y Cajal)

  • Borja M. Fernández-Félix

    (Hospital Universitario Ramón y Cajal)

Abstract

Preparing publication-ready tables of results has been a constant workload for Stata users. Designing tables in a standardized format for reports or slides is time-consuming. The new version of Stata 18 includes a couple of commands long awaited by the scientific community: collect and dtable. The dtable command creates tables of descriptive statistics, commonly known as a “Table 1”. Up to today, to build a Table 1, researchers had to combine several Stata commands or use a community- contributed command such as baselinetable or table1. Although these commands are useful, they do not have all the capabilities of the new Stata command. The collect command set creates custom tables, allowing researchers to design their own presentation styles. During this presentation, we will demonstrate how we have improved our lives with the dtable and collect commands in a heavily work-loaded Biostatistics Unit. We will present a Stata ado-program that allows the creation of Table 1 of a research study in an automated fashion.

Suggested Citation

  • Laura del Campo & Borja M. Fernández-Félix, "undated". "Make it easy with valuable commands in Stata: dtable and collect," Spanish Stata Conference 2023 06, Stata Users Group.
  • Handle: RePEc:boc:spai23:06
    as

    Download full text from publisher

    File URL: http://repec.org/spain2023/Spain23_Fernandez-Felix.pdf
    File Function: presentation materials
    Download Restriction: no
    ---><---

    More about this item

    Statistics

    Access and download statistics

    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:boc:spai23:06. 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.

    We have no bibliographic references for this item. You can help adding them by using 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 (email available below). General contact details of provider: https://edirc.repec.org/data/stataea.html .

    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.