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, is already up and running.

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

Re: st: test proportions svy

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


  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      -
A Visual Guide to Stata Graphics -
Stata tidbit of the week         -

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?

*   For searches and help try:

© Copyright 1996–2015 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index