From the course: Advanced and Specialized Statistics with Stata

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

How to use margins and marginsplot

How to use margins and marginsplot - Stata Tutorial

From the course: Advanced and Specialized Statistics with Stata

Start my 1-month free trial

How to use margins and marginsplot

- [Instructor] Let's explore the commands margin and marginsplot. Simple linear models are often easy to interpret and visualize. However, for more complicated specifications that might include interaction effects or for nonlinear models, such as logit models understanding the regression output, can be challenging. The good news is that Stata has developed a powerful set of commands that can help us interpret such difficult output. Even better, these commands can be applied to almost any regression that comes in build with Stata. Having a basic understanding of the margins and marginsplot command is an important step to successfully mastering complicated regression models. Here is a simple example. Imagine that we're interested in the effective age, wages, college education, and nationality on the probability of being a union member. We would estimate such a model with a logit regression. Working with logit and…

Contents