How can I generate a simple balance table, something like the screenshot below (i.e., three columns: male mean (sd in parenthesis), female mean (s.d. in parenthesis), and difference (s.e. in parenthesis)) for nationally representative survey data, i.e., adjusting the standard errors for survey design stratification and clustering? And then export it to a latex table?
The 'svy' option that defines the data to be survey data doesn't work with most commands I would normally use for this (e.g. tabstat, summ, ttest, iebaltab).
Trying to avoid calculating the means and SDs for each var separately and then formatting them in a table using a ton of manual coding.
Thanks!
The 'svy' option that defines the data to be survey data doesn't work with most commands I would normally use for this (e.g. tabstat, summ, ttest, iebaltab).
Trying to avoid calculating the means and SDs for each var separately and then formatting them in a table using a ton of manual coding.
Thanks!
Comment