Skip Navigation

Course Directory

Stata Programming

East Baltimore
4th term
2 credits
Academic Year:
2021 - 2022
Instruction Method:
Synchronous Online with Some Asynchronous Online
Class Times:
  • Thursday,  3:30 - 5:20pm
Auditors Allowed:
Yes, with instructor consent
Grading Restriction:
Letter Grade or Pass/Fail
Course Instructors:
Dorry Segev

340.751-752 or 34.721-722; 140.621-622 or 140.651-652 or permission from 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.

Learning Objectives:

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

  1. Demonstrate Stata commands that are necessary for analysis, but that students may not encounter in the core biostatistics/epidemiology series: reshape, collapse, encode, insheet; variable formats (strings, ints, floats, dates); factor variables; advanced graphing
  2. Produce Stata programming to make work more efficient and less error-prone: loops; macros, .ado files; text file output; automating table/figure generation
  3. Create project workflow so that data are not lost and results are reproducible: logging, commenting, versioning, file organization
Methods of Assessment:

This course is evaluated as follows:

  • 90% Homework
  • 10% Participation

Instructor Consent:

Consent required for some students

Consent Note:

Auditors and those without the prerequisits.

For consent, contact: