Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: help creating a table of means and diffs with svy data


From   Roy Wada <[email protected]>
To   [email protected]
Subject   Re: st: help creating a table of means and diffs with svy data
Date   Tue, 26 Jan 2010 16:29:24 -0800

>> 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/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index