Statalist


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

SV: st: svy proportion


From   "Tomas Lind" <tomas.lind@ki.se>
To   <statalist@hsphsun2.harvard.edu>
Subject   SV: st: svy proportion
Date   Sun, 20 Dec 2009 13:31:12 +0100

Many thanks for your advice!

I apologise for the "test" posting. We had a breakdown at the mail server
which was a source of much confusion. The "test" mail was definitely not
intended to go to the Stata list.

Many thanks

Tomas






-----Ursprungligt meddelande-----
Från: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] För Maarten buis
Skickat: den 19 december 2009 18:44
Till: statalist@hsphsun2.harvard.edu
Ämne: Re: st: svy proportion

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


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