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

st: RE: STATA and NHIS data - Elementary Question


From   "Alexander Tsai" <[email protected]>
To   <[email protected]>
Subject   st: RE: STATA and NHIS data - Elementary Question
Date   Mon, 23 Aug 2004 17:41:22 -0400

Hi Marisa,

An explanation of this problem is on the Stata Web site:
http://www.stata.com/support/faqs/stat/stratum.html

You might try collapsing PSUs and strata so every stratum has at least two
PSUs, i.e., use -svydes- to identify the problematic PSUs/strata, then
manually create new PSU/strata variables.

Alternatively, you might try -idonepsu-. (To find it in net-aware Stata,
type -webseek idonepsu-.)

Regards,
Alex

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Marisa Wilson
Sent: Monday, August 23, 2004 3:34 PM
To: [email protected]
Subject: st: STATA and NHIS data - Elementary Question

I am relatively new STATA user so forgive the naivete of my question to the
August users group.

I using the 2002 NHIS data and STATA 7 to do logistic regression modeling
for my dissertation analysis.  I need to use svylogit and svyset for the
weight, strata and psu variables.  However, I get a
r(460) error due to stratum with only one PSU encountered.  In svydes, I do
have several psus with entires of 1.

Is there any way around this?



Marisa L. Wilson  DNSc(c), MHSc, RN
Clinical Systems Project Leader
JHMCIS
office 410-614-1151
pager 410-283-2605
cell     443-540-6947
*
*   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/


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