Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

Re: st: test proportions svy


From   "Michael N. Mitchell" <[email protected]>
To   [email protected]
Subject   Re: st: test proportions svy
Date   Wed, 07 Jul 2010 20:08:23 -0700

Greetings

  There are many flavors of -prtest-, but I am going to assume you mean this flavor...

. prtest varname , by(groupvar)

  If so, you can recast this as a logistic regression, such as

. logit varname i.groupvar

  and then you could do this...

. svyset (survey specs here)
. svy : logit varname i.groupvar

I hope that helps,

Michael N. Mitchell
Data Management Using Stata      - http://www.stata.com/bookstore/dmus.html
A Visual Guide to Stata Graphics - http://www.stata.com/bookstore/vgsg.html
Stata tidbit of the week         - http://www.MichaelNormanMitchell.com



On 2010-07-07 7.50 PM, Sebastián Daza wrote:
Hi everyone,
Does anyone know if there is any way to run a proportion test (such as
prtest) using svy specification and weights?
Regards!

*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index