Dear all,
I am currently examining the effects of alcohol consumption on (weekly) wages. I am interested in the impact for both men and women, and work with panel data. I want to present the results in one regression table, but I have some issues with the lay-out.
To be more precise, I want to code/create the "yellow lines" (similar to the picture below) and be able to type something above the lines (see red arrows) to separate, in this case, the gender and estimation method used. However, I do not know the STATA code for it. I am using "outreg2" to make my tables.
Does anyone know how to code both the lines, and be able to write something above the lines, or is that not possible in STATA?
For males (sex_dv == 1), I ran the code:
And for females (sex_dv == 2), the code was the following:
Thanks in advance for your help,
Luc Nguyen
(P.S. This happens to be my first post on the forum, so I do apologies if I failed to post sufficient information or missed something. I'd be more than happy to provide more information).

Souce: "Feng, W. et al. (2001) “The impact of problem drinking on employment,” Health Economics, 10(6), pp. 509–521.
I am currently examining the effects of alcohol consumption on (weekly) wages. I am interested in the impact for both men and women, and work with panel data. I want to present the results in one regression table, but I have some issues with the lay-out.
To be more precise, I want to code/create the "yellow lines" (similar to the picture below) and be able to type something above the lines (see red arrows) to separate, in this case, the gender and estimation method used. However, I do not know the STATA code for it. I am using "outreg2" to make my tables.
Does anyone know how to code both the lines, and be able to write something above the lines, or is that not possible in STATA?
For males (sex_dv == 1), I ran the code:
Code:
xtreg lwwage i.auditc3 dvage c.dvage#c.dvage ethn_dv married health_condition sclfsat2 sclfsat7 i.qfhigh_dv jbstat jbft_dv jbhrs jbot jbttwt finnow jbes2000 jbseg_dv jbnssec_dv jbisco88_cc jbsoc00_cc jbsic07_cc urban i.gor_dv i.year if sex_dv == 1, r outreg2 using frequency_male.doc, append ctitle(Human Capital Controls, RE GLS) dec(3) label
Code:
xtreg lwwage i.auditc3 dvage c.dvage#c.dvage ethn_dv married health_condition sclfsat2 sclfsat7 i.qfhigh_dv jbstat jbft_dv jbhrs jbot jbttwt finnow jbes2000 jbseg_dv jbnssec_dv jbisco88_cc jbsoc00_cc jbsic07_cc urban i.gor_dv i.year if sex_dv== 2, r outreg2 using frequency_female.doc, append ctitle(Human Capital Controls, RE GLS) dec(3) label
Luc Nguyen
(P.S. This happens to be my first post on the forum, so I do apologies if I failed to post sufficient information or missed something. I'd be more than happy to provide more information).
Souce: "Feng, W. et al. (2001) “The impact of problem drinking on employment,” Health Economics, 10(6), pp. 509–521.