Hi everyone,
I am currently writing my Bachelor thesis and need some help with the margins command. In particular, I estimate the following model:
where my dependent variable y is ranged between 0 and 1, v is the main variable (between 1950 and 2017), FI is also ranged between 0 and 1 and X captured the covariates. In order to analyse the interaction term, I want to compute marginal effects at means. I would like to draw three scenarios:
1. v increases by one standard deviation and FI equals to 0
2. FI increases by one standard deviation and v equals to zero
3. Both variables increase by one standard deviation.
The remaining covariates should be at their mean (atmeans).
How can I solve this using the margins command?
Thanks,
Jake
I am currently writing my Bachelor thesis and need some help with the margins command. In particular, I estimate the following model:
Code:
reg y v FI c.v#c.FI X
1. v increases by one standard deviation and FI equals to 0
2. FI increases by one standard deviation and v equals to zero
3. Both variables increase by one standard deviation.
The remaining covariates should be at their mean (atmeans).
How can I solve this using the margins command?
Thanks,
Jake
Comment