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
Simulteneously executing multiple do filesSuppose I have three do files with following commands in them File diX.do : di "X" File diY.do : di …
calculating the growth rate of a phenomenon from its columnsI'm trying to calculate the transmission rate of the virus by country as new column variables. I wan…
Group mean and separating data into 3 groupsHi, I have a large set of data sets and multiple variables. I want to do the following: 1. First I …
IRA syntaxhalo everyone, if I want to adjust the null distribution to perform rWG (interrater agreement). I ha…
problem with reshape, always show that "variable demacity-2001 implied name too long"I have tried many times without success with "reshape long demacity- demanation, i(citycode_s ) j(ye…
Subscribe to:
Post Comments (Atom)
0 Response to Marginal effects for interaction after Mlogit
Post a Comment