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-)?
Total days on medicine with multiple entries & overlapping datesHi, I am working on a database of medications taken by individuals which I need to summarise & …
Industry Dummy VariablesI am conducting a cross-sectional study on UK firms and I've created an industry variable 'ind1' tha…
3sls reg3Dear Statalists, Can you please help me with the models for panel data with 200 firms of 20 industr…
Data Count & DeleteI am working with WRDS data, dates in one coluumn, companies in another and returns in another. I wa…
Shortcut to create the same graph for different specific unitsHi, I have two basic questions but I could not find an answer on my own. I need to create 40 differ…
Subscribe to:
Post Comments (Atom)
0 Response to Interaction with categorical independent (how to use -margins-)?
Post a Comment