Statalist


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

Re: st: svy proportion


From   Maarten buis <maartenbuis@yahoo.co.uk>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: svy proportion
Date   Sat, 19 Dec 2009 09:43:33 -0800 (PST)

--- On Sat, 19/12/09, Tomas Lind wrote:
> I have survey data and now I want to compare proportion
> "yeas" in different areas with proportion "yeas"
> calculated over all areas (does this area differ from the
> "superaverage"). 

A proportion is just the mean of a dummy variable.
So you can estimate those with svy: regress. A 
comparison with the overal mean is called effect
coding. This coding scheme is available in -xi3-, 
which you can download by typing -findit xi3-.

Hope this helps,
Maarten

--------------------------
Maarten L. Buis
Institut fuer Soziologie
Universitaet Tuebingen
Wilhelmstrasse 36
72074 Tuebingen
Germany

http://www.maartenbuis.nl
--------------------------


      

*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index