Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
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 xIf 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/