Omitting binary combinations in marginsplot


I am interacting a binary independent variable (x) on two moderating binary moderating variables (y, z).

margins, at(x = (0 1) y = (0 1) z = (0 1))

I am searching for the option in STATA to omit certain combinations of these three variables when plotting a marginsplot.

For instance, when x = 0, y = 0, and z = 0 I would not like to include this relation graphically. Or x = 1, y = 1 and z = 1. These are not interesting for my analysis.

Does anyone know how to do this in stata?
Thank you so much in advance!


Active Member
Not sure this is the answer you were looking for but nonetheless: when I work with interactions of categorical variables, I code each of them as a separate dummy variable. This way I have better control of them. In particular, I may not want all of them in my model; some of them may be non-significant. This is an issue way more important than any "silly" plotting... Of course, as a byproduct, having any combination coded as a separate variable allows me to perform any plotting I like.