Quantcast
Channel: Statalist
Viewing all articles
Browse latest Browse all 72776

Continuous interaction variables and margins

$
0
0
Hi all,

I've got an analysis set-up that includes several interaction variables, all of which are continuous but some of which are bounded (i.e. one variable is between 0 and 1). I've been searching for a way in stata to garner marginal effects, but the "margins" command has been throwing up categorical/factor blocks left and right. I've searched high and low and cannot find if the margins command can be used to analyze marginal effects of two continuous variables.

To give a sense of what I'm doing, I have institutional variables and production of good X interacted, and I want to show that the marginal effects of my Y variable change in the presence of the institutional variable and the production of good X. That is, does the institutional variable change the effect that good X and my Y variable show and by how much.

My question is, how can one ascertain marginal effects using stata for an interaction variable containing two continuous variables? And does the fact of bounding one of the variables change the interaction?

Viewing all articles
Browse latest Browse all 72776

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>