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: test proportions svy


From   Austin Nichols <austinnichols@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: test proportions svy
Date   Thu, 8 Jul 2010 08:33:05 -0400

Sebastián:
See also -svy:tab- e.g.
http://www.stata.com/statalist/archive/2009-05/msg00031.html

On Wed, Jul 7, 2010 at 11:08 PM, Michael N. Mitchell
<Michael.Norman.Mitchell@gmail.com> wrote:
> 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
>
<snip>
> 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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index