Announcement

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

  • Eststo/esttab with sum of coefficients (dummies)

    Hello,

    Suppose I have Y as my dependent variable, and I have three dummies, d1, d2, d3. Suppose I run

    reg Y d1 d1#d2 d1#d3, nocons

    Then having both d1 = 1 and d2 = 1 is equal to d1 + d1#d2.

    I want to esttab this results, but instead of the coefficients of d1, d1#d2 and d1#d3 in the lines of the table, I want to have d1, d1 + d1#d2 and d1 + d1#d3.

    Margins won't help in this case because I am not regressing Y d1 d2 d3 d1#d2 d1#d3 d2#d3, which would give all margins possible. (I tried using the margins command and it returned "Not Estimable" for the margins of d2 and d3)

    Thanks in advance
Working...
X