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
Deleting multiple observations if value is missingI have the following dataset with observations of volumes (vol) traded by 5967 unique companies. Co…
bayesmh for bayes: heckprobitDear STATA experts, Thank you for reading my post. I wish to program the command in STATA 16 bayes:…
Aggregate duplicatesHi, My data is from a grocery store in the UK and consists of 3 columns. The first represents a uni…
divide numbers in stataHi, I have a panel data set where i have variables "location"(where number 1 means one location, 2 a…
Exporting Stata histogram to ExcelHi, I would like to exporting a Stata histogram to Excel. Code: use http://www.stata-press.com/da…
Subscribe to:
Post Comments (Atom)
0 Response to Marginal effects for interaction after Mlogit
Post a Comment