Dear All,
I use the dataset margex and the command margins in order to replicate an example I saw in a paper. I use:
I got the following result:
Then I use:
And this is the result:
Then I try to re-estimate the model above using:
I obtain the same results I got above. However, when I use:
I got:
Why do I have such a difference in the estimation of margins? I have a very vague idea about a thread in this forum regarding such a difference, but I might be wrong. Any suggestion?
Thanks in advance
Dario
I use the dataset margex and the command margins in order to replicate an example I saw in a paper. I use:
Code:
webuse margex gen female=(sex==1) logit outcome c-age##i.female
Then I use:
Code:
margins, dydx(age female) post
Then I try to re-estimate the model above using:
Code:
gen femage=female*age logit age female femage
Code:
margins, dydx(age female)
Why do I have such a difference in the estimation of margins? I have a very vague idea about a thread in this forum regarding such a difference, but I might be wrong. Any suggestion?
Thanks in advance
Dario
Comment