Speaking Stata: MMXI and all that: Handling Roman numerals within Stata
The problem of handling Roman numerals in Stata is used to illustrate issues arising in the handling of classification codes in character string form and their numeric equivalents. The solutions include Stata programs and Mata func- tions for conversion from numeric to string and from string to numeric. Defining acceptable input and trapping and flagging incorrect or unmanageable inputs are key concerns in good practice. Regular expressions are especially valuable for this problem.
Volume (Year): 11 (2011)
Issue (Month): 1 (March)
|Note:||to access software from within Stata, net describe http://www.stata-journal.com/software/sj11-1/dm0054/|
|Contact details of provider:|| Web page: http://www.stata-journal.com/|
|Order Information:||Web: http://www.stata-journal.com/subscription.html|
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.:
- Nicholas J. Cox, 2002. "Speaking Stata: On numbers and strings," Stata Journal, StataCorp LP, vol. 2(3), pages 314-329, August.
When requesting a correction, please mention this item's handle: RePEc:tsj:stataj:v:11:y:2011:i:1:p:126-142. 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 references are entirely missing, you can add them using this form.