IDEAS home Printed from
MyIDEAS: Log in (now much improved!) to save this article

Speaking Stata: Fun and fluency with functions

  • Nicholas J. Cox


    (Durham University, UK)

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.

If you experience problems downloading a file, check if you have the proper application to view it first. In case of further problems read the IDEAS help page. Note that these files are not on the IDEAS site. Please be patient as the files may be large.

File URL:
File Function: link to article purchase
Download Restriction: no

Article provided by StataCorp LP in its journal Stata Journal.

Volume (Year): 11 (2011)
Issue (Month): 3 (September)
Pages: 460-471

in new window

Handle: RePEc:tsj:stataj:v:11:y:2011:i:3:p:460-471
Note: to access software from within Stata, net describe
Contact details of provider: Web page:

Order Information: Web:

References listed on IDEAS
Please report citation or reference errors to , or , if you are the registered author of the cited work, log in to your RePEc Author Service profile, click on "citations" and make appropriate adjustments.:

as in new window
  1. 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.
  2. Nicholas J. Cox, 2002. "Speaking Stata: On getting functions to do the work," Stata Journal, StataCorp LP, vol. 2(4), pages 411-427, November.
  3. Bill Rising, 2010. "Stata tip 86: The missing() function," Stata Journal, StataCorp LP, vol. 10(2), pages 303-304, June.
  4. William Gould, 2006. "Mata Matters: Precision," Stata Journal, StataCorp LP, vol. 6(4), pages 550-560, December.
Full references (including those not matched with items on IDEAS)

This item is not listed on Wikipedia, on a reading list or among the top items on IDEAS.

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.

For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: (Christopher F. Baum)

or (Lisa Gilmore)

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 references are entirely missing, you can add them using this form.

If the full references list an item that is present in RePEc, but the system did not link 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 profile, as there may be some citations waiting for confirmation.

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

This information is provided to you by IDEAS at the Research Division of the Federal Reserve Bank of St. Louis using RePEc data.