In this second edition of An Introduction to Stata Programming, the author introduces concepts by providing the background and importance for the topic, presents common uses and examples, then concludes with larger, more applied examples referred to as "cookbook recipes." This is a great reference for anyone who wants to learn Stata programming. For those learning, the author assumes familiarity with Stata and gradually introduces more advanced programming tools. For the more advanced Stata programmer, the book introduces Stata's Mata programming language and optimization routines.
Why should you become a Stata programmer? Some elementary concepts and tools. Do-file programming: Functions, macros, scalars, and matrices. Cookbook: Do-file programming I. Do-file programming: Validation, results, and data management. Cookbook: Do-file programming II. Do-file programming: Prefixes, loops, and lists. Cookbook: Do-file programming III. Do-file programming: Other topics. Cookbook: Do-file programming IV. Ado-file programming. Cookbook: Ado-file programming. Mata functions for do-file and ado-file programming. Cookbook: Mata function programming.