Statalist


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

st: Re: Problems with survey sub-group analysis using Stata


From   "Michael Blasnik" <[email protected]>
To   <[email protected]>
Subject   st: Re: Problems with survey sub-group analysis using Stata
Date   Sat, 28 Jul 2007 10:42:51 -0400

...
It would be helpful if you showed your command line. Are you using the -if- qualifier to identify the subgroup, or the subpop() option? The -if- qualifier should be avoided with survey data since it will often lead to the problem you describe and, for most purposes, does not use the survey design information appropriately.

Michael Blasnik


----- Original Message ----- From: "Ashwin Ananthakrishnan" <[email protected]>
To: <[email protected]>
Sent: Saturday, July 28, 2007 10:02 AM
Subject: st: Problems with survey sub-group analysis using Stata



Hi,

I'm currently using Stata 9.2 to analyze a survey
sample - the Nationwide inpatient sample that uses
three different weights (pweight = discwt), stratum
weight (nis_stratum) and psu weight (hospid)

However, I'm running into a problem when I try
specific subgroup analyses.

When I try to run logistic regression of the outcome
(say, death from pneumonia) on specific subgroups (say
age group 65-85) or in the presence of a specific
complication (say, acute renal failure), I get the
odds ratio estimates but no p-value or confidence
intervals, and I get this message "Missing standard
error due to stratum with single sampling unit".  I
don't get this message for any of the univariate
analysis or for some other subgroups (especially those
with larger numbers, though that isn't necessarily the
case always).

I did look for strata with single PSU using the svydes
command. It was suggested to me to try to combine the
different strata with single PSUs in order to avoid
getting this error. However, for certain specific
subanalyses, nearly all the strata in the dataset are
listed as having a single PSU. I'm not sure that if I
try to combine almost all strata into one or two, then
the entire design of the stratified survey will be
lost and my estimates will not be accurate.

Have others who are using stata for survey analysis
run into similar problems? Is there any other way
around this problem? or is using SUDAAN the only
answer?

Thanks,

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