Stata: Interpreting and Visualizing Regression Models Using Commands margins, marginsplot, and coefplot

Boriana Pratt is a Statistical Programmer at the Office of Population Research at Princeton University.  She earned a Masters degree in Biostatistics from the University of California at Berkeley.

Dawn Koffman is a Statistical Programmer at the Office of Population Research at Princeton University. She earned an MS in Computer Science from University of Wisconsin-Madison, and an MPH in Epidemiology and Biostatistics from UMDNJ and Rutgers University.

5/09/2017 from 9:30 AM to 12:00 PM ~ WWS 015

This workshop will show how the Stata commands margins and marginsplot can be used for model interpretation and visualization, and will present ways to compute adjusted predictions and marginal effects, as well as ways to compare predictions for levels of a factor variable.

The workshop will also demonstrate how the user-written command coefplot, by Ben Jann, can be applied to any estimation results to graphically display regression coefficients or other statistics of interest.  One nice feature of coefplot is that it can be used to very easily display results from several models on one graph.  Another nice feature is that most of the options available for other twoway plot types can also be used with the coefplot command.


Presentation and hands-on exercises.


Attendees should bring a laptop with Stata (version 12 or higher) installed.


Attendees should have basic knowledge.of Stata.