Statalist


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

st: Poststratification


From   Tomas Lind <[email protected]>
To   [email protected]
Subject   st: Poststratification
Date   Mon, 19 Jan 2009 16:42:26 +0100

I have a survey that is stratified on geographical areas. Now I want to
poststratify on a combination of age and income. Should I specify both
strata and option poststrata or shall I specify only option poststrata? The
result is slightly different.

// svyset with strata
svyset  [pweight=v] , strata(str)  poststrata(ai)  postweight(n_ai)

// svyset without strata
svyset              ,           poststrata(ai)  postweight(n_ai)


/Tomas

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