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: How to svyset when strata are used in some groups and not others


From   Steve Samuels <sjsamuels@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: How to svyset when strata are used in some groups and not others
Date   Fri, 2 Jul 2010 12:18:22 -0400

--


Louise-- create a stratum variable with 7 values: 1-6 for the
hospitals of the first type, and 7 for the other three types, and use
that in the strata() option of -svyset-

Steve

On Fri, Jul 2, 2010 at 12:00 PM, Louise Linsell
<Louise.Linsell@npeu.ox.ac.uk> wrote:
> I have a dataset with 4 different types of hospital, and would like to compare binary outcomes between them using logistic regression.  However for the first type  (the most common), hospitals were divided into 6 strata (based on size and SES) and a random sample was taken from each strata.  For the other 3 types of hospital we sampled all hospitals. My question is, how to use the svyset command when a different sampling strategy was used in one group?
>
> LL
>
>
>
>
> *
> *   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/
>



-- 
Steven Samuels
sjsamuels@gmail.com
18 Cantine's Island
Saugerties NY 12477
USA
Voice: 845-246-0774
Fax:    206-202-4783

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