Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: How to create weight variable


From   "Ángel Rodríguez Laso" <[email protected]>
To   [email protected]
Subject   Re: st: How to create weight variable
Date   Tue, 4 Nov 2008 13:19:05 +0100

I have taken a look to the information provided by -findit post
stratification- and found that Stata has options in -svy- (poststrata,
postweight) that probably do automatically what Fran Brittan was
proposing; I've also found a package (poststratify) that even merge
cells with 0 counts (where the formula that Fran is implicitly using
gives 0). The problem with these two resources is that they take away
control of the weighting process by the researcher. What I would do is
calculating the poststratification weights myself, using the formula:

psweight of stratatum x=(population in stratum x * total sample
size)/(total population * sample size in stratum x)

after pweighting the sample.

If there are cells with 0 sample size or some psweights are
disconected from the rest, the offending strata should be merged with
similar ones.


HTH

Angel Rodriguez-Laso



2008/11/3 Maarten buis <[email protected]>:
> --- fran brittan <[email protected]> wrote:
>> I have a dataset from a survey that over-sampled highly educated
>> people. I'd like to weight it so that the data is closer to the
>> values in the true population, which I have from census data.
>
> The term you are looking for is post stratification, see:
> -findit post stratification-
>
> Hope this helps,
> Maarten
>
> -----------------------------------------
> Maarten L. Buis
> Department of Social Research Methodology
> Vrije Universiteit Amsterdam
> Boelelaan 1081
> 1081 HV Amsterdam
> The Netherlands
>
> visiting address:
> Buitenveldertselaan 3 (Metropolitan), room N515
>
> +31 20 5986715
>
> http://home.fsw.vu.nl/m.buis/
> -----------------------------------------
>
>
>
> *
> *   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/
>
*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index