I'm using Stata 17 and the user-written esttab command from SSC to create/export tables to rtf. I need to use the mean command with the over suffix because I'm working with complex survey data. My issue is getting the correct format for the names of the rows. Here's an illustration using the auto data.
Code:
sysuse auto, clear eststo: mean weight, over(foreign)
Code:
esttab, wide se nostar
I recognize this can be done manually like so:
Code:
esttab, wide se nostar varlabels(c.weight@0.foreign "Domestic" c.weight@1.foreign "Foreign")
0 Response to Row names with esttab using over()
Post a Comment