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: Dropping observations so sample is proportionate to population


From   Maarten Buis <maartenlbuis@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Dropping observations so sample is proportionate to population
Date   Thu, 8 Sep 2011 09:57:41 +0200

On Wed, Sep 7, 2011 at 7:38 PM, Michael Goodwin wrote:
> I will be working with a new sample dataset and I would like to drop
> observations in this new dataset so that the proportions of a
> particulary dummy (in this case "type) are roughly equal to those
> present in the population dataset. The goal of this exercise is to
> have the distribution of "types" be as similar as possible to the
> population dataset.

Sounds to me like you want to do something similar to
post-stratification weights, except that with these weights
observations aren't dropped but weighted up or down such that the
weighted proportions match known proportions in the population. You
can compute post-stratification weights with Nick Winter's -survwgt-,
which you can get by typing in Stata -ssc install survwgt-.

Hope this helps,
Maarten

--------------------------
Maarten L. Buis
Institut fuer Soziologie
Universitaet Tuebingen
Wilhelmstrasse 36
72074 Tuebingen
Germany


http://www.maartenbuis.nl
--------------------------
*
*   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