EconPapers    
Economics at your fingertips  
 

Speaking Stata: On getting functions to do the work

Nicholas Cox

Stata Journal, 2002, vol. 2, issue 4, 411-427

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.

Keywords: functions; egen; strings; percentile ranks; plotting positions; family data (search for similar items in EconPapers)
Date: 2002
References: View complete reference list from CitEc
Citations: View citations in EconPapers (4)

Downloads: (external link)
http://www.stata-journal.com/sjpdf.html?articlenum=pr0007 (application/pdf)

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:tsj:stataj:v:2:y:2002:i:4:p:411-427

Ordering information: This journal article can be ordered from
http://www.stata-journal.com/subscription.html

Access Statistics for this article

Stata Journal is currently edited by Nicholas J. Cox and Stephen P. Jenkins

More articles in Stata Journal from StataCorp LLC
Bibliographic data for series maintained by Christopher F. Baum () and Lisa Gilmore ().

 
Page updated 2025-03-29
Handle: RePEc:tsj:stataj:v:2:y:2002:i:4:p:411-427