bys foreign: eststo: e_tabulate rep esttab, main(percent 2) not nostar mtitles noobs nonote /// varlab(`e(labels)', blist(total "{hline @width}{break}")) eststo clear