The error message is fairly clear. The weights that you are using need to be the same for all observations within each post-strata. If you are running into persistent issues, I would consult the dataset documentation and/or the organization that administered the survey to clarify which variables are intended for weighting and how the sample was selected.
HTH,
Billy
Sent from my iPhone
On Jan 20, 2013, at 18:36, K C Wong <kcwong5@gmail.com> wrote:
> Hi Statalisters.
>
> I'd like to ask what does this Stata error message, "poststratum
> weights must be constant within poststrata" mean?
> How do I go about to find out the problem and thus to solve it?
> Stata gives me this error message after I run
> svyset _n, poststrata(poststrata) postweight(aweight)
> svy, subpop(european): logistic case i.age_cat i.interviewmethod
> i.status i.deprivation
>
> Your help is greatly appreciated. Have a good week.
> *
> * For searches and help try:
> * http://www.stata.com/help.cgi?search
> * http://www.stata.com/support/faqs/resources/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/faqs/resources/statalist-faq/
* http://www.ats.ucla.edu/stat/stata/