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

Speaking Stata: Fun and fluency with functions

Author

Listed:
  • Nicholas J. Cox

    (Durham University, UK)

Abstract

Functions are the unsung heroes of Stata. This column is a tour of functions that might easily be missed or underestimated, with a potpourri of tips, tricks, and examples for a wide range of basic problems.

Suggested Citation

  • Nicholas J. Cox, 2011. "Speaking Stata: Fun and fluency with functions," Stata Journal, StataCorp LP, vol. 11(3), pages 460-471, September.
  • Handle: RePEc:tsj:stataj:v:11:y:2011:i:3:p:460-471
    Note: to access software from within Stata, net describe http://www.stata-journal.com/software/sj11-3/dm0058/
    as

    Download full text from publisher

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

    References listed on IDEAS

    as
    1. William Gould, 2006. "Mata Matters: Precision," Stata Journal, StataCorp LP, vol. 6(4), pages 550-560, December.
    2. Bill Rising, 2010. "Stata tip 86: The missing() function," Stata Journal, StataCorp LP, vol. 10(2), pages 303-304, June.
    3. Nicholas J. Cox, 2002. "Speaking Stata: On getting functions to do the work," Stata Journal, StataCorp LP, vol. 2(4), pages 411-427, November.
    4. David Kantor & Nicholas J. Cox, 2005. "Depending on conditions: a tutorial on the cond() function," Stata Journal, StataCorp LP, vol. 5(3), pages 413-420, September.
    Full references (including those not matched with items on IDEAS)

    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. Nicholas J. Cox, 2007. "Speaking Stata: Counting groups, especially panels," Stata Journal, StataCorp LP, vol. 7(4), pages 571-581, December.
    2. Alejandro Arenas Alzate, 2021. "Mejores colegios en Colombia: efecto de las condiciones socioeconómicas sobre el desempeno escolar," Documentos de Trabajo CIEF 19829, Universidad EAFIT.
    3. Nicolas Van de Sijpe, 2013. "Is Foreign Aid Fungible? Evidence from the Education and Health Sectors," The World Bank Economic Review, World Bank, vol. 27(2), pages 320-356.
    4. Nicholas J. Cox, 2006. "Speaking Stata: Graphs for all seasons," Stata Journal, StataCorp LP, vol. 6(3), pages 397-419, September.
    5. Nicholas J. Cox, 2011. "Stata tip 96: Cube roots," Stata Journal, StataCorp LP, vol. 11(1), pages 149-154, March.
    6. Nicholas J. Cox, 2009. "Speaking Stata: Creating and varying box plots," Stata Journal, StataCorp LP, vol. 9(3), pages 478-496, September.
    7. Nicholas J. Cox, 2007. "Speaking Stata: Identifying spells," Stata Journal, StataCorp LP, vol. 7(2), pages 249-265, June.
    8. Nicholas J. Cox, 2007. "Stata tip 43: Remainders, selections, sequences, extractions: Uses of the modulus," Stata Journal, StataCorp LP, vol. 7(1), pages 143-145, February.
    9. Nicholas J. Cox, 2008. "Stata tip 71: The problem of split identity, or how to group dyads," Stata Journal, StataCorp LP, vol. 8(4), pages 588-591, December.
    10. Maarten L. Buis, 2007. "Stata tip 48: Discrete uses for uniform()," Stata Journal, StataCorp LP, vol. 7(3), pages 434-435, September.
    11. Nicholas J. Cox, 2010. "Speaking Stata: Finding variables," Stata Journal, StataCorp LP, vol. 10(2), pages 281-296, June.
    12. Jean Marie Linhart, 2008. "Mata Matters: Overflow, underflow and the IEEE floating-point format," Stata Journal, StataCorp LP, vol. 8(2), pages 255-268, June.
    13. Nicholas J. Cox, 2007. "Speaking Stata: Turning over a new leaf," Stata Journal, StataCorp LP, vol. 7(3), pages 413-433, September.
    14. Nicholas J. Cox, 2011. "Speaking Stata: Compared with..," Stata Journal, StataCorp LP, vol. 11(2), pages 305-314, June.
    15. Nicholas J. Cox, 2009. "Speaking Stata: Rowwise," Stata Journal, StataCorp LP, vol. 9(1), pages 137-157, March.
    16. Nicolas Van de Sijpe, 2013. "Is Foreign Aid Fungible? Evidence from the Education and Health Sectors," World Bank Economic Review, World Bank Group, vol. 27(2), pages 320-356.

    More about this item

    Keywords

    functions; numeric; string;
    All these keywords.

    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:tsj:stataj:v:11:y:2011:i:3:p:460-471. 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.