Regression Modeling in Stata


How to use this document

These notes are published using Quarto. The Stata code is first rendered using a Stata dynamic document. The source code for these notes can be found at for the curious.

All images should link to full-size versions to see detail if needed.


CSCAR is available for free consultations with PhD statisticians (email to request a consultation).

CSCAR also has GSRAs available for more immediate help. Walk-ins to our office in Rackham are welcomed Monday-Friday 9am to 5pm (Closed Tuesdays 12-1pm). Alternatively, on our website, you can self-schedule into an hour consultation with the graduate students, which can be either remote or in-person (these are usually available same-day or next-day).

CSCAR operates a email for help with statistical questions, feel free to send concise questions to

The current contact for questions about the notes: Josh Errickson (