Statalist


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

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


From   Richard Williams <[email protected]>
To   [email protected], [email protected]
Subject   Re: st: Re: Problems with survey sub-group analysis using Stata
Date   Sat, 28 Jul 2007 11:24:26 -0500

At 10:15 AM 7/28/2007, Ashwin Ananthakrishnan wrote:
I was using the if qualifier.

My command line is:

xi: svy: logistic died i.agecat i.sex i.insurance
i.residence i.income i.liverdisease i.pneumonia
i.heartfailure if diag==1 & kidney==1

I'm not able to use the subpop() option in combination
with logistic.

If I try

xi: svy: logistic died i.agecat i.sex i.insurance
i.residence i.income i.liverdisease i.pneumonia
i.heartfailure, subpop(kidney)

I get the error message "option subpop() not allowed
r(198);"
See -help svy-.  It should be something like

xi: svy, subpop(kidney): logistic died i.agecat i.sex i.insurance
i.residence i.income i.liverdisease i.pneumonia
i.heartfailure


-------------------------------------------
Richard Williams, Notre Dame Dept of Sociology
OFFICE: (574)631-6668, (574)631-6463
HOME:   (574)289-5227
EMAIL:  [email protected]
WWW:    http://www.nd.edu/~rwilliam

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