Dear Statalist,

I run a logit regression and my IV is a continuous variable (average: -1.5, min: -2.5, max: 107) while my moderator is a dummy variable.

I would like to plot the margins but the code margins, dydx (IV) over( moderator) does not work. The plot made the moderator the X-axis.

How should I plot the interaction effect in this case?

Thanks a lot!