Hi all,
I'm trying to compare beta coefficients from the same set of models applied to two different populations (e.g. male and female). My code looks something like:
Then I want to compare a0 to a1, b0 to b1, and c0 to c1, and ideally output these comparisons into a latex table.
I tried using -suest- but it seems incompatible with reghdfe. Any help would be appreciated!
I'm trying to compare beta coefficients from the same set of models applied to two different populations (e.g. male and female). My code looks something like:
Code:
eststo clear *run regressions on male subpopulation reghdfe y x1 if female == 0, absorb(timevar) cluster(personvar) eststo a0 reghdfe y x1 x2 if female == 0, absorb(timevar) cluster(personvar) eststo b0 reghdfe y x1 x2 x3 if female == 0, absorb(timevar) cluster(personvar) eststo c0 *run regressions on female subpopulation reghdfe y x1 if female == 1, absorb(timevar) cluster(personvar) eststo a1 reghdfe y x1 x2 if female == 1, absorb(timevar) cluster(personvar) eststo b1 reghdfe y x1 x2 x3 if female == 1, absorb(timevar) cluster(personvar) eststo c1
I tried using -suest- but it seems incompatible with reghdfe. Any help would be appreciated!
Comment