Home  >>  Archives  >>  Volume 15 Number 2  >>  pr0060

The Stata Journal
Volume 15 Number 2: pp. 501-511



Subscribe to the Stata Journal
cover

Top 10 Stata “gotchas”

Jonathan Shaw
Institute for Fiscal Studies
London, UK
j.shaw@ifs.org.uk
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.
Terms of use     View this article (PDF)

View all articles by this author: Jonathan Shaw

View all articles with these keywords: gotcha, syntax, capture, merge, local, macro, missing, preserve

Download citation: BibTeX  RIS

Download citation and abstract: BibTeX  RIS