Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: test of mean differences after svymean command


From   "David A. Wagstaff" <[email protected]>
To   [email protected]
Subject   Re: st: test of mean differences after svymean command
Date   Thu, 08 Jul 2004 19:20:53 -0400

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/



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