# Support materials for An Introduction to Stata Programming, Second Edition

You can download the do-files, datasets, and user-written ado-files for An Introduction to Stata Programming, Second Edition from within Stata using the net command. At the Stata prompt, type

      . net from http://www.stata-press.com/data/itsp2
. net get itsp2-do
. net get itsp2-data


After installing the files, type spinst_itsp to obtain all the user-written commands used in the book's examples. You should check the messages produced by the spinst_itsp command. If there are any error messages, follow the instructions at the bottom of the output to complete the download.

If you do not have an Internet connection from within Stata, you can download one of the following files:

 itsp2.zip PKZIP format, 11M itsp2.tar.Z Unix tar.Z format 20M

We suggest that you create a new directory and copy the materials there.

One of the files included within .zip and .tar.Z, spinst_itsp, will install all the user-written commands used in the book's examples when you type spinst_itsp. However, you must be connected to the Internet for this command to work.

This edition of the book has been updated for Stata 14. If you are using an earlier version of Stata, you can use the datasets from the previous edition of the book; for instructions, see www.stata-press.com/data/itsp.html. Note that if you are not using Stata 14 or your Stata is not up-to-date, some of the commands may not work as described in the second edition.