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: Sample Wegihts


From   Michael Lichter <[email protected]>
To   [email protected]
Subject   Re: st: Sample Wegihts
Date   Wed, 10 Mar 2010 00:47:49 -0500

Jason said:
Then to deal with cluster could I use the ,cluster(id) command after regress where id is a variable that identifies the subdistirct in all samples?
No. If you're going to take stratification into account, you need to use the -svy- commands. You declare your weight, clusters, and strata using -svyset- (see the manual or help page). You use the -svy- prefix for tables and for regressions, e.g., svy: reg y x. The -svy- commands automatically know the design information you've supplied with -svyset-.

Stas said:
overall P[ selection ]  = P[ to be selected in the first sample ] + P[ to be
selected in the second sample ] - P [ to be selected in both ] = 1 -
(1-P[first])*(1-P[second])
Is this correct even with if the first sample is an SRS and the second is clustered? I can't show otherwise, but it doesn't feel right that every case in a specific urban area should have the same weight regardless of which sample it was drawn from.

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