Status:Closed    Asked:Jan 13, 2016 - 12:11 PM

Summary stats exported into latex accounting for census weights?

Hello IPUMS team,

This is not a specific question about IPUMS but any input would be valued. I'm writing a paper using census data from your website. The sampling is complex, so that I account for it using the svy command in stata. The regressions are fine.

I'm finding it hard to find a command in stata for producing summary stats that can be combined with svy (usually I would use estpost tabstat and export into latex). I could use svy mean and make some calculations for s.d. but I would still need to manually convert into latex output.

I thought I would check with you in case you have some go-to commands you generally use.

Thank you so much for the wonderful service!

Do you have the same question? Follow this Question

Staff Answer




The estat command calculates post-estimation statistics for survey data. After submitting the command "svy: mean", you can then use the command "estat sd" to estimate the population standard deviation. See this FAQ from Stata for a longer discussion and alternatives.

Hope this helps.


Jan 14, 2016 - 12:42 PM

Report it


USA IPUMS 1980 ancestry variable -- mapping to country names
Did the version of database change since 2011?
Are DATANUM, SERIAL, and PERNUM the same in single-year and 5-year ACS sample...
How can I accurately calculate the median family income by state for families...
Detailed Variables Dropping From Dataset
Are weights adjusted when using "select cases" in an extraction?
Login   |   Register

Share |