[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: RE: subpops within subpops using svy commands
An unfortunate 'feature' in Stata is that you have to create a single
variable for each sub-pop you wish to analyze. So you need to create a
variable something like
generate byte poordiabetics = pov < 1 & diabetes = 1
for example, and do this for every subpop you wish to analyze. Be careful
of missing values.
Statistician, SSS Inc.
From: karen matsuoka
Cc: Sayer, Bryan
Sent: 6/9/03 5:26 PM
Subject: subpops within subpops using svy commands
I would like to conduct a logistic regression using the svylogit command
on a sub-sample of a subsample of a complex survey sample.
I understand that the appropriate way to work with sub-samples with
svy-commands is to use the subpop command. However, Stata seems to allow
only one subpop.
What if I want to look at a subpopulation of a subpopulation (for
example, only individuals with incomes below federal poverty level who
also have diabetes)? If I were to use the subpop command to select those
people with diabetes, and then the "if" command to select only those
people with the income level I am interested in, will that work or will
that throw all of the standard errors off?
Any advice would be greatly appreciated!
Get 25MB of email storage with Lycos Mail Plus!
Sign up today -- http://www.mail.lycos.com/brandPage.shtml?pageId=plus
* For searches and help try: