Skip to main content

Stata Programming

June 27 - July 1, 2022
8:30 a.m. - noon
2 credits
Course Number: 340.600.79

This course will be taught online via Zoom, on the dates and times listed above. Registered students will attend their classes virtually via Zoom, in real time with faculty and other students.

"Allan Massie and Abimereke Muzaale were both excellent instructors. I was nervous because I had minimal programming experience, but they presented the material in a way that was accessible to students of various levels of experience. They kept the lectures interesting and built in time for lab work so we could practice applying Stata skills and ask questions. I found the instructors to be responsive to questions both online during class and over email. This has been one of my favorite courses of my program so far."—Student, 2021

Course Instructors:


Teaches Stata programming in a systematic way to students who have had exposure to Stata or another statistical package, but may not have the tools to perform complex analytical projects independently. Covers data management, programming concepts, procedural programming, Stata-specific commands and constructs, and project workflow. This class does not teach statistics and no statistical background is necessary.

Learning Objectives:

Upon successfully completing this course, students will be able to:

  • Demonstrate Stata commands and functions for data management and analysis: reshape, collapse, encode, insheet; variable formats (strings, ints, floats, dates); factor variables; advanced graphing
  • Produce Stata programming to make work more efficient and less error-prone: loops; macros, .ado files; text file output; automating table/figure generation
  • Create project workflow so that data are not lost and results are reproducible: logging, commenting, versioning, file organization

Methods of Assessment:

Three student projects/homework assignments, weighted equally (33.3% each)

Grading Restriction: Letter Grade or Pass/Fail