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

Speaking Stata: On getting functions to do the work

Author

Listed:
  • Nicholas J. Cox

    (University of Durham, UK)

Abstract

Functions in Stata take two main forms, built-in functions that are part of the executable and egen functions written in Stata's own language. These are surveyed, giving a variety of tips and tricks, and noting the large number of user-written egen functions available for download from the Internet. Two substantial examples, the calculation of percentile ranks and plotting positions, and the calculation of measures summarizing properties of the other members of a group,provide detailed illustrations of egen in action. Copyright 2002 by Stata Corporation.

Suggested Citation

  • Nicholas J. Cox, 2002. "Speaking Stata: On getting functions to do the work," Stata Journal, StataCorp LP, vol. 2(4), pages 411-427, November.
  • Handle: RePEc:tsj:stataj:v:2:y:2002:i:4:p:411-427
    as

    Download full text from publisher

    File URL: http://www.stata-journal.com/sjpdf.html?articlenum=pr0007
    Download Restriction: no
    ---><---

    Citations

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


    Cited by:

    1. Stephen McDonald & Colin Wren, 2018. "Multibrand pricing as a strategy for consumer search obfuscation in online markets," Journal of Economics & Management Strategy, Wiley Blackwell, vol. 27(2), pages 171-187, June.
    2. Alejandro Arenas Alzate, 2021. "Mejores colegios en Colombia: efecto de las condiciones socioeconómicas sobre el desempeno escolar," Documentos de Trabajo de Valor Público 19829, Universidad EAFIT.
    3. Nicholas J. Cox, 2009. "Speaking Stata: Creating and varying box plots," Stata Journal, StataCorp LP, vol. 9(3), pages 478-496, September.
    4. Nicholas J. Cox, 2011. "Speaking Stata: Fun and fluency with functions," Stata Journal, StataCorp LP, vol. 11(3), pages 460-471, September.

    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:2:y:2002:i:4:p:411-427. 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 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.