Class Notes (836,946)
Canada (509,974)
Statistics (475)
STAT 231 (84)


2 Pages
Unlock Document

STAT 231
Matthias Schonlau

Appendix: Introduction to STATA Stata is a professional data analysis software. It is widespread in academia, particular in economics, sociology and in the health sciences. It has a much larger following outside of academia. 1. Starting Stata There are several options to start stata:  In Windows, Stata is typically installed here: Start-> All Programs->Stata 12. In the MC Labs, Stata is under “Data Analysis”: Start -> All Programs -> Data Analysis -> Stata 12  Click on a stata data set (.dta) .  Click on a file with the extension “.do” (including empty files) . The last two alternatives have the advantage that any file that you save by default will save in the same directory. You can find out in which directory you are by typing “pwd” in the command window. When you first buy Stata you should update once to get the most recent version. If you use a version installed by the Math Faculty you can ignore this.  update // Check whether you have the most recent version of stata.  update all // install the most recent update 2. Getting help . help command // where command is a command you want help for . search key_word // search for topics related to key_word Also check the excellent PDF documentation under the help tab. Frequently asked questions: Listserv where questions can be posted: 3. Reading data . clear // erasing variables currently saved . use // open a stata data set . insheet // read tab or comma delimited ascii files . import excel // read excel spreadsheets . input // Enter data from keyboard 4. Saving data . save // save a stata data set (.dta) . outsheet // save to
More Less

Related notes for STAT 231

Log In


Join OneClass

Access over 10 million pages of study
documents for 1.3 million courses.

Sign up

Join to view


By registering, I agree to the Terms and Privacy Policies
Already have an account?
Just a few more details

So we can recommend you notes for your school.

Reset Password

Please enter below the email address you registered with and we will send you a link to reset your password.

Add your courses

Get notes from the top students in your class.