Economics at your fingertips  

Top 10 Stata "gotchas"

Jonathan Shaw

Stata Journal, 2015, vol. 15, issue 2, 501-511

Abstract: Stata is a powerful and user-friendly package for setting up data and performing statistical analysis. Nevertheless, some features often cause unexpected errors that users either fail to notice or spend hours trying to correct. In this article, I list my top 10 Stata "gotchas" and suggest ways to combat them. Awareness of these "gotchas" will hopefully help newer users--particularly those making their first forays into Stata programming--avoid the most common pitfalls. Copyright 2015 by StataCorp LP.

Keywords: gotcha; syntax; capture; merge; local; macro; missing; preserve (search for similar items in EconPapers)
Date: 2015
Note: to access software from within Stata, net describe
References: Add references at CitEc
Citations: Track citations by RSS feed

Downloads: (external link) link to article purchase

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:

Ordering information: This journal article can be ordered from

Access Statistics for this article

Stata Journal is currently edited by H. Joseph Newton and Nicholas J. Cox

More articles in Stata Journal from StataCorp LP
Bibliographic data for series maintained by Christopher F. Baum ().

Page updated 2019-09-09
Handle: RePEc:tsj:stataj:v:15:y:2015:i:2:p:501-511