Saturday, March 4, 2023

Predictive margins for interactions

Dear stata Community,
The question is about the difference between the results of the following methods for determining the predictive margins of interactions between two variables:

webuse nhanes2f, clear

1) logit diabetes i.black i.female i.black#i.female, nolog
margin i.black#i.female

2) logit diabetes i.black i.female, nolog
margin i.black#i.female


Thank you in advance!
MR



No comments:

Post a Comment