Suggestions for Using Stata 8/9 (Windows Version)
at Notre DameRichard Williams, Department of Sociology
Special thanks to Paul Bern, who showed me how Princeton handles similar issues; and to Nicholas Cox and Alan Riley for several other helpful suggestions. Please email me if you have any problems with these instructions or suggestions for making them clearer. This page assumes basic knowledge of Stata 8, the Windows operating system, and of how networking works at Notre Dame.
Using Stata in the Campus Clusters
A nice feature of Stata is that you can download and install several useful user-written programs that enhance Stata's capabilities. You can even write your own programs. Unfortunately, if you install programs on a shared campus cluster machine, you will likely find that (a) the programs are only installed on that machine, and (b) 24 hours later, they won't be there, either. This is because most users do not have permission to permanently write to the C: drive of the cluster machine they are using, and by default Stata stores downloaded files in C:\ado\plus.
To get around this, you need to tell Stata to use your personal N: space instead. To do that, copy the following file
and place it in the root directory of N:, i.e. N:\ (Or, if you prefer, you can use H: or any other network drive you have read/write access to.) Then, every time you start Stata, make your first command
run N:\mystata
Everything you download will then go to N:\ado\plus . (Click here if you want an explanation of how mystata.do works.)
Alternatives. For those of you fortunate enough to have options besides working in the clusters, click here for Suggestions on Using Stata With Your Own Campus Machine. Instructors, if you'd rather not have students download programs or else have special programs you want your class to have access to, here are Instructions for Setting Up a Shared Course Site.
Downloading and Installing Programs
There are literally hundreds of user-written routines that you can download and install on your machine. However, you should be careful: the authors may or may not have done careful testing of their programs, and I have found routines that have errors in them. To find a particular routine, from within Stata type
findit progname
where progname is the name of of the program you are looking for. Also, you don't even need to know the name of the program; you could do something like
findit multicollinearity
and Stata would give you a list of various help files, FAQs and programs that feature the keyword or keywords you have specified. Most programs include a .hlp file that you can view before deciding to download. Once you have found what you want, there is an easy to use install command that will download the program onto your machine.
Suggested Downloads
Click here to get a list of some of the programs that I personally like and often use in my classes or research. My handouts often assume/require that these routines be installed. I will no doubt add to this list from time to time.