Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Re: post-stratification weight


From   "Michael Blasnik" <michael.blasnik@verizon.net>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: Re: post-stratification weight
Date   Thu, 13 Oct 2005 17:43:53 -0400

I'm not exactly sure what you want, but the istdize command calculates weighted rates based on a population defined in another file. You should also look at the post-stratification options available in Stata 9 (search post stratification and help svyset). If you don't have Stata 9, you can use the population file to calculate the population proportion for each cell (race x gender x education x etc..) and then merge these population proportions into the sample data file. You can then construct weights based on the sample proportions in each cell divided into the population proportions.

Michael Blasnik
michael.blasnik@verizon.net

----- Original Message ----- From: "Arash Mahdian" <amahdian@gmail.com>
To: "statalist" <statalist@hsphsun2.harvard.edu>
Sent: Thursday, October 13, 2005 5:09 PM
Subject: st: post-stratification weight



hi,

I was wondering if anyone knows of any syntax in which the user can
input a sample database as well as the population
tabulation in different dimensions (race, gender, education, ...).
Then the code assigns the post-stratification weighs to each case in
the sample database. In other words, now using the weights, the
tabulation of the database in race, gender, education, .... will give
the exact percentages of the population.

Thanks in advance,
Arash
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   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   |   What's new   |   Site index