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-)?
Counting within a variableSorry if this is trivial, but I can not find anything online nor seem to get it to work myself. I ha…
Meta-analysis of diagnostic test accuracy studies using midasHello everyone, I have tried searching for this but I cannot seem to find an answer. I am doing a …
Marginal Effects from Interaction Terms in OLSHi, This was previously posted on cross validated. I have the following model, as you can see I ha…
2SLS with polynomial distributed lags in both endogenous variables and instrumentsHi all, I am investigating the effect of air pollution (measured by pollutant concentration) on hea…
Test for instrument validity. Hi all, I am estimating the following using 2SLS. Code: xtivreg lemp lunion lunemployment lyouth …
Subscribe to:
Post Comments (Atom)
0 Response to Interaction with categorical independent (how to use -margins-)?
Post a Comment