Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Svyset comman in a do file


From   Honorati Masanja <honorati.masanja@unibas.ch>
To   statalist-digest@hsphsun2.harvard.edu
Subject   st: Svyset comman in a do file
Date   Wed, 16 Mar 2005 10:00:47 +0100

Dear stata-listers

I have a data set which I would like to save as survey dataset at the
end of my documentation. However when I run my do file which has this
command i.e.

svyset, strata(district) psu(cluster)

Stata reports an error : invalid syntax  r(198);

However when I run svyset  from the command window, I do not get any
problems. Where am I going wrong?.

Please help


-- 
Masanja H.
--------------------------------
Ifakara Health Research & Development Centre,
Mikocheni Office - Kiko Rd,
P.O.Box 78373,
Dar es Salaam,
Tanzania.

T:255 22 2774756 (Ext 108)
T:255 22 2774709 (Ext 108)
F:255 22 2771714
C:255 22 748 605046

honorati.masanja@unibas.ch
honorati.masanja@gmail.com

website: www.ihrdc.org

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