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-)?
Compare similarity of structure (percentage distribution) for one conditionHello guys, I hope someone here can help me with my stata problem. I want to find out if the structu…
Compare betas of two different models while using asdoc and reghefe Code: asdoc reghdfe pm rc l.pm interaction1 l.asse /// l.lev if dummy ==0, absorb(cc industry_year_…
Estimating ARDL with Structural Break Hi.... My data is stored in a panel data format. I want to estimate the ARDL with a structural brea…
graph x-axis with year and month?Dear All, I use the (ssc install) -synth- command to tun the following regression Code: xtset id da…
Multiple "lincoms" after "margins" with "at"?Goal: I want to subtract the results of "margins" from a constant. My approach: Use margins with "a…
Subscribe to:
Post Comments (Atom)
0 Response to Interaction with categorical independent (how to use -margins-)?
Post a Comment