Dear all,
I'm new in this forum and also pretty new to Stata, so I don't know if my question is actually quite easy or maybe stupid, but since I've been stuck with this problem for ages, I hope someone can help me:
I have a panel dataset and since my dependent variable is categorical (with three different outcomes, whereas 0 is the base), I'm running a multinomial logit model (mlogit).
This model includes two independent variables and also an interaction between both of the independet variables and a third variable.
Now I read that “an explanatory variable’s marginal effect does not equal the variable’s model coefficient”. Therefore I wanted to create average marginal effects for the result of the multinomial logit model.
So I used the following commands:
margins, dydx(*) predict(outcome(1))
margins, dydx(*) predict(outcome(2))
This worked well for the "direct" effects of the variables, but not for the interaction.
Is there a possibility, to show also the marginal effects of the two interactions?
Thanks in advance and kind regards.
Related Posts with Marginal effects for interaction after Mlogit
sttocc matching for both analysis time and calendar time - nested case control studyHi folks, Apologies in advance for the rookie question! I am designing a nested case-control study …
pubbias command in midas not workingHi, I am using midas command to do meta analysis of diagnostic accuracy studies. All commands are wo…
Saving part of a datasetHi, I have 33 variables and 1000 participants. The 33rd variable has 20 participants with data enter…
Splitting string into column vectorDear Statalist, I am currently working with a dataset consisting of research articles, where a give…
R-sq and adj R-sq in xtreg, fixed effectDear all, I am currently working on a panel data set in which i create a regression by code xtreg x…
Subscribe to:
Post Comments (Atom)
0 Response to Marginal effects for interaction after Mlogit
Post a Comment