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

st: svy commands, missing data, and stratum with only one PSU


From   "Suzanne Bouffard" <bouffasu@gse.harvard.edu>
To   statalist@hsphsun2.harvard.edu
Subject   st: svy commands, missing data, and stratum with only one PSU
Date   Fri, 01 Apr 2005 13:18:00 -0500

I am using a large national dataset and am trying to use the svy commands. In this dataset, there are several missing codes, which range from -1 to -9. When I run svyprop on the raw data, it works just fine. However, when I recode all of the missing data to ".", I get the error message "stratum with only one PSU detected." Evidently, when I recode the missing data, Stata thinks that there are no people in certain PSU's.

How do I deal with this problem? It is happening with all of the variables I have tried.

Thanks for any help you can provide.
*
* 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