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 at the end of May, 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   Stas Kolenikov <skolenik@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 14:36:50 -0500

If Louise sampled other 3 types lumping them together, then Steve's
recommendation is appropriate. If sampling was performed within each
of those remaining types, then the strata variable will have 6 (strata
in the most common type of hospitals) + 3 (other types of hospitals) =
9 levels.

On Fri, Jul 2, 2010 at 11:18 AM, Steve Samuels <sjsamuels@gmail.com> wrote:
> 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/
>



-- 
Stas Kolenikov, also found at http://stas.kolenikov.name
Small print: I use this email account for mailing lists only.

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