Statalist The Stata Listserver


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

st: Svy design statement and svydes error


From   <Arnold.Levinson@UCHSC.edu>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: Svy design statement and svydes error
Date   Tue, 29 May 2007 17:30:51 -0600

All,
In a two-stage sampling design, I successfully assign the following
setting:

svyset class_id [pw=w2f2f3], strata(skulid) fpc(fpc1) || unit,
strata(class_id) fpc(fpc2)

When I run -- svydes -- I get an r(198) error:

variable class_id specified more than once as a survey design
characteristic

Am I missing something? How else declare second-stage sampling within
clusters?
thx...arnold

Arnold H. Levinson, Ph.D.
Director, Tobacco Program Evaluation Group (TPEG)
Assistant Professor of Preventive Medicine
University of Colorado at Denver & Health Sciences Center
AMC Cancer Research Center
1600 Pierce Street, Lakewood CO 80214
Arnold.Levinson@uchsc.edu
303-239-3402



*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index