Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: probability weight defining


From   "Jin king" <[email protected]>
To   [email protected]
Subject   st: probability weight defining
Date   Wed, 25 Apr 2007 02:36:00 +0000

Hi,
I have a survey sample to be weighted using probability weight.
It is not kind of a simple random sampling problem. The observations are drawn from (region, size) combinations, say 4 regions(North, east, west and south) and 3 sizes( small medium and large) . Total combinations are 12. The numbers of observations in each combination are S1, S2,...S12 respectively.

And I know the populations for each combination, say, N1, N2,..., N12. I need to weight the data for consideration of both region and size.
How to define the p-weight using SVYSET command? Can I use pw_j = Sj/Nj, where j =1,2,...,12? (say, replace pw = S4/N4 if region == a & size ==b...)

Thanks,

_________________________________________________________________
�����������ѽ��н�������ʹ�� MSN Messenger: http://messenger.msn.com/cn
*
* 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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index