I am dealing with unbalanced panel data. Regressions are done using reghdfe from SSC.
I have quite some categorical variables (7 total, of which i want to know the difference between 6)
So let's say i have:
A
B
C
D
E
F
G
I want to know whether the effect of A on dep. var is different from B, C, D, E, and F. I want to do the same for B vs. A, C, D, E, and F. And so forth.
This would give me 30 pairs if my math is correct.
How could i go about this without running 30 different regressions? Also, what do i do with group G, do i just leave it out? Observations in that category are still a part of my sample , but i have already obtained results that A through F are different from G by grouping them together in 1 dummy. Now i want to know the effect of each different group.
My data and models are quite elaborate, but I can attach them if that would help.
I have quite some categorical variables (7 total, of which i want to know the difference between 6)
So let's say i have:
A
B
C
D
E
F
G
I want to know whether the effect of A on dep. var is different from B, C, D, E, and F. I want to do the same for B vs. A, C, D, E, and F. And so forth.
This would give me 30 pairs if my math is correct.
How could i go about this without running 30 different regressions? Also, what do i do with group G, do i just leave it out? Observations in that category are still a part of my sample , but i have already obtained results that A through F are different from G by grouping them together in 1 dummy. Now i want to know the effect of each different group.
My data and models are quite elaborate, but I can attach them if that would help.
Comment