Dear Statalist Users
this being my first post I hope to include all important information.
I am running a binary logit model with an interaction term between two factor variables (including the command i.gender## i.education in the model) in Stata 14.1.
Because of the problem of unobserved heterogeneity I want to report my results using average marginal effects (AME).
For this I am using (after running the .logitstic)
.margins, dydx (_all)
If I would have an interaction between two variables and one is continuous I could visualize the interaction in a graph like margins plot.
But what can I do with a interaction between two factor variables like gender and education levels?
In other words:
Is there a option to compute AME for interaction terms between two factor variables and what is the corresponding stata command?
Thank you for your help
this being my first post I hope to include all important information.
I am running a binary logit model with an interaction term between two factor variables (including the command i.gender## i.education in the model) in Stata 14.1.
Because of the problem of unobserved heterogeneity I want to report my results using average marginal effects (AME).
For this I am using (after running the .logitstic)
.margins, dydx (_all)
If I would have an interaction between two variables and one is continuous I could visualize the interaction in a graph like margins plot.
But what can I do with a interaction between two factor variables like gender and education levels?
In other words:
Is there a option to compute AME for interaction terms between two factor variables and what is the corresponding stata command?
Thank you for your help
Comment