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/