Hello Statalist.
I am running a linear regression with a continuous y.var a categorical x1.var and, first, a categorical x2.var and later a continuous x2.var for interaction.
I am hoping to reveal the effect of x1.var on y.var on different levels of my interaction variables, yet i seem to get the effects of x2.var on y.var on the four different levels of my x1.var...
Can anybody help me out on this one, i am at a loss, not only how to make the correct interaction regression, but also how i can afterwards see the marginal effects of this interaction.
I hope you can help out a novice like myself.
Please let me know if there is a lack of information and i will be sure to update.
Thanks in advance
-Jon.
Related Posts with Interaction with categorical independent (how to use -margins-)?
True discard of precision with roundHi all, I'm using Stata 14 and wish to round data in one of my variables to 1 dp. I shall be retaini…
esttab producing wrong estimates for imputed marginsHi, Im trying to use esttab to export my margins in some imputed data and while the estimates on the…
Creating relative scale for two different variables for comparisonHi All, I am creating an index which investigates associations between ecological footprint (EF) an…
Creating dummy variable to indicate if trend increasing or decreasingHello! I am working on a panel dataset. I want to create a dummy variable that indicates weither m…
Year fixed effectsHi all, I am seeking for explanation on year fixed effects, why one would need them as a control in…
Subscribe to:
Post Comments (Atom)
0 Response to Interaction with categorical independent (how to use -margins-)?
Post a Comment