Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


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

Re: st: prtest and survey weights


From   Richard Williams <Richard.A.Williams.5@ND.edu>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>, "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   Re: st: prtest and survey weights
Date   Sat, 13 Mar 2010 10:15:57 -0500

At 12:52 PM 3/12/2010, Omar McDoom wrote:
Dear all,

Does anyone know how I may compare two proportions drawn from a variable in
a weighted survey?  The svy command I understand is not available for
prtest.  Is there a work-around that allows one to incorporate survey design
effects/weights?

As Steve Samuels notes, prtest can test a lot of different hypotheses. Depending on the hypothesis, I believe svy:logit could be appropriate, e.g. if y and x are both 0/1 dichotomies,

svy: logit y x

If the coefficient for x is not significant, the proportions do not differ across the two categories of x.


-------------------------------------------
Richard Williams, Notre Dame Dept of Sociology
OFFICE: (574)631-6668, (574)631-6463
HOME:   (574)289-5227
EMAIL:  Richard.A.Williams.5@ND.Edu
WWW:    http://www.nd.edu/~rwilliam

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