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.
References
1.
Cox
N. J.
2002 . Speaking Stata: On getting functions to do the work . Stata Journal 2 : 411 –427 .
2.
Cox
N. J.
2003 . Stata tip 2: Building with floors and ceilings . Stata Journal 3 : 446 –447 .
3.
Cox
N. J.
2004 a. Stata tip 15: Function graphs on the fly . Stata Journal 4 : 488 –489 .
4.
Cox
N. J.
2004 b. Stata tip 6: Inserting awkward characters in the plot . Stata Journal 4 : 95 –96 .
5.
Cox
N. J.
2006 a. Stata tip 33: Sweet sixteen: Hexadecimal formats and precision problems . Stata Journal 6 : 282 –283 .
6.
Cox
N. J.
2006 b. Stata tip 39: In a list or out? In a range or out? Stata Journal 6 : 593 –595 .
7.
Cox
N. J.
2007 a. Stata tip 43: Remainders, selections, sequences, extractions: Uses of the modulus . Stata Journal 7 : 143 –145 .
8.
Cox
N. J.
2007 b. Stata tip 50: Efficient use of summarize . Stata Journal 7 : 438 –439 .
9.
Cox
N. J.
2009 . Speaking Stata: Rowwise . Stata Journal 9 : 137 –157 .
10.
Cox
N. J.
2011 . Stata tip 98: Counting substrings within strings . Stata Journal 11 : 318 –320 .
11.
Gould
W.
2006 . Mata Matters: Precision . Stata Journal 6 : 550 –560 .
12.
Gould
W.
2011 a. How to read the %21x format. The Stata Blog: Not Elsewhere Classified. http://blog.stata.com/2011/02/02/how-to-read-the-percent-21x-format/.
13.
Gould
W.
2011 b. How to read the %21x format, part 2. The Stata Blog: Not Elsewhere Classified. http://blog.stata.com/2011/02/10/how-to-read-the-percent-21x-format-part-2/.
14.
Gould
W.
2011 c. Precision (yet again), Part I. The Stata Blog: Not Elsewhere Classified. http://blog.stata.com/2011/06/17/precision-yet-again-part-i/.
15.
Gould
W.
2011 d. Precision (yet again), Part II. The Stata Blog: Not Elsewhere Classified. http://blog.stata.com/2011/06/23/precision-yet-again-part-ii/.
16.
Kantor
D.
, and
Cox
N. J.
2005 . Depending on conditions: A tutorial on the cond() function . Stata Journal 5 : 413 –420 .
17.
Lachenbruch
P. A.
1992 . ip2: A keyboard shortcut . Stata Technical Bulletin 9 : 9 . Reprinted in Stata Technical Bulletin Reprints , vol. 2, p. 46. College Station, TX: Stata Press.
18.
Linhart
J. M.
2008 . Mata Matters: Overflow, underflow and the IEEE floating-point format . Stata Journal 8 : 255 –268 .
19.
Rising
B.
2010 . Stata tip 86: The missing() function . Stata Journal 10 : 303 –304 .
