Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Interactions with dummies

    Dear all,

    In the following interaction, how can I specify if female==1 (for women)? I want to look at the effects from the women's point of view.


    gen childXfemale = child*female

    Best regards.

  • #2
    I don't think this makes sense. The whole point of an interaction term is to estimate separate child effects for males and females. And when you use it in regression, if you follow up with -margins female- you will get expected outcomes, shown separately, for males and females. If you follow up with -margins female, dydx(child)- you will get the marginal effect of child, shown separately, for males and females.

    If you are only interested in females, then there is no point to having an interaction term. Just run your commands -if female == 1-, or, run -keep if female == 1- before running any of those commands.

    Comment

    Working...
    X