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-)?
ssd sem results differ from raw data sem results stataUsing two different datasets, I cannot get stata to give me comparable efa/sem results when using su…
Normalization of variables with scores in graph lineDear Statalist users, I'm a PhD student and stata beginner, and probably my question would appear s…
psacalc strange delta estimateGreetings, I am using the psacalc (Oster, 2017) command to estimate delta (the ration of selection …
Sort a variable by idHi, In the following example, I want to sort the variable DACC by ISIN (company identification). I …
'predict' after runmlwinHi Statalist, I am running a cross classified model using runmlwin. Previously, I had used meqrlogi…
Subscribe to:
Post Comments (Atom)
0 Response to Interaction with categorical independent (how to use -margins-)?
Post a Comment