07/08/2004
Suzy: I have used inelegant coding like
svyset, psu(schlid)
svymean grp5, by(ethspec)
lincom [grp5]Mexican-[grp5]Other_la
lincom [grp5]Mexican-[grp5]black
lincom [grp5]Mexican-[grp5]white
lincom [grp5]Other_la-[grp5]black
lincom [grp5]Other_la-[grp5]white
lincom [grp5]black-[grp5]white
to obtain estimates of mean differences and their standard errors,
and to compare the group means in a pairwise manner. I ran this
code using versions 7 and 8.2.
David
Suzy wrote:
>
> Dear Stata users,
>
> Does the svymean command allow for a test of mean differences for more
> than two groups? If so, can someone please pass along the code for STATA 8.2
>
> Thank you,
> Suzy
>
> *
> * For searches and help try:
> * http://www.stata.com/support/faqs/res/findit.html
> * http://www.stata.com/support/statalist/faq
> * http://www.ats.ucla.edu/stat/stata/
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/