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.
Categorical by linear interactions - Stata Tutorial
From the course: Advanced and Specialized Statistics with Stata
Categorical by linear interactions
- - [Instructor] In this final session, we're going to bring all the previous sessions together and explore how to interact continuous and categorical variables together to form extremely complicated specifications that can still be meaningfully interpreted. Stata's advantage compared to other statistical packages, is that it allows you to build models that may at first seem far too complex to interpret, but by carefully using the margins and marginsplot commands, we can build models that may look far too complex, but still have a simple interpretation. Here is an example of what I mean. Don't even try to read the output from this regression. There's too much going on, and even someone with a lot of experience would need a good 10 minutes to figure out what these coefficients actually refer to. Thankfully, the pictorial interpretation is much easier. This graph shows that the relationship between educational grade and…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
What is an interaction effect?3m 54s
-
(Locked)
How to use margins and marginsplot6m 37s
-
(Locked)
Continuous polynomial interactions5m 49s
-
(Locked)
Continuous by continuous interactions6m 19s
-
(Locked)
Categorical by categorical interactions5m 46s
-
(Locked)
Categorical by linear interactions5m 37s
-
(Locked)
Challenge: Interaction effects43s
-
(Locked)
Solution: Interaction effects5m 13s
-
-
-
-
-
-