EconPapers    
Economics at your fingertips  
 

A little bit of Stata programming goes a long way

Christopher Baum

United Kingdom Stata Users' Group Meetings 2005 from Stata Users Group

Abstract: This tutorial will discuss a number of elementary Stata programming constructs and discuss how they may be used to automate and robustify common data manipulation, estimation and graphics tasks. Those used to the syntax of other statistical packages or programming languages must adopt a different mindset when working with Stata to take full advantage of its capabilities. Some of Stata's most useful commands for handling repetitive tasks: -forvalues-, -foreach-, -egen-, -local- and -matrix- are commonly underutilized by users unacquainted with their power and ease of use. While relatively few users may develop ado-files for circulation to the user community, nearly all will benefit from learning the rudiments of use of the -program-, -syntax- and -return- statements when they are faced with the need to perform repetitive analyses. Worked examples making use of these commands will be presented and discussed in the tutorial.

Date: 2005-03-03, Revised 2005-06-08
References: View references in EconPapers View complete reference list from CitEc
Citations:

Downloads: (external link)
http://fmwww.bc.edu/EC-P/WP612.pdf main text (application/pdf)
Our link check indicates that this URL is bad, the error code is: 404 Not Found
http://repec.org/usug2005/baum_SUGUK05_handout.pdf presentation slides (application/pdf)

Related works:
Working Paper: A little bit of Stata programming goes a long way (2005) Downloads
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:boc:usug05:16

Access Statistics for this paper

More papers in United Kingdom Stata Users' Group Meetings 2005 from Stata Users Group Contact information at EDIRC.
Bibliographic data for series maintained by Christopher F Baum ().

 
Page updated 2025-03-22
Handle: RePEc:boc:usug05:16