Dear All,

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
I got the following result:

Array

Then I use:

Code:
margins, dydx(age female) post
And this is the result:

Array

Then I try to re-estimate the model above using:

Code:
gen femage=female*age
logit age female femage
I obtain the same results I got above. However, when I use:

Code:
margins, dydx(age female)
I got:

Array

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