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: sample selection (-gsample) in stata


From   Stas Kolenikov <skolenik@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: sample selection (-gsample) in stata
Date   Wed, 6 Jul 2011 14:30:20 -0500

On Tue, Jul 5, 2011 at 4:48 PM, Shikha Sinha <shikha.sinha414@gmail.com> wrote:
> -gsample looks good, but I am still struggling. How do I calculate the
> size for -gsample. I want the select companies from each cities and of
> each type in each city.

-gsample- will only produce appropriate PPS samples if you specify
sampling with replacement (which is the approximation you would have
to make at the analysis stage, anyway). PPS sampling without
replacement is far more complicated, and if the phrase "Rao-Sampford
algorithm" does not ring a bell, you will end up with wrong sampling
weights.

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