Running the following probit model and computing the marginal effects:
does not yield marginal effect coefficients for the interaction variable
(a#b could denote dummy-dummy, dummy-continuous or continuous-continuous variable interaction)
So I was wondering if a valid workaround that problem
would be to generate a new variable:
and run the following code:
Best regards,
Davíð
Code:
probit y a b a#b margins, dydx(*)
(a#b could denote dummy-dummy, dummy-continuous or continuous-continuous variable interaction)
So I was wondering if a valid workaround that problem
would be to generate a new variable:
Code:
gen c = a*b
Code:
probit y a b c margins, dydx(*)
Davíð
Comment