Self-Study Course for Stata
Before you start
Getting started
Variables
Data transformation
Basic regression
Tables and graphs
Objects, loops, and branching
Replication & transparency
Introduction to Programming
Structure of Programming Chapters
Simple programs
Arguments
Temporary objects
Subroutines
Advanced Programming
Applied Programming
Mata
Further topics
Exercise
Exercise Part 3 - Temporary Objects
(PDF)