>> I want to have a table comparing the means for some variables for two
>> subpopulations in my survey data, including a test on the diff btw the
>> means.
>
> This will actually do what you asked for.
Need to svyset in the earlier example:
svyset psuid [pweight=finalwgt], strata(stratid)
Disclaimer: these codes are obviously meant for academic purposes only.
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/