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

st: repeating the same analysis for each stratum


From   Phung Lang <plang@ifspm.unizh.ch>
To   statalist@hsphsun2.harvard.edu
Subject   st: repeating the same analysis for each stratum
Date   Tue, 29 Jul 2003 13:44:21 +0200

Dear Statalist

I have a database for a complex survey with 26 strata and 100 PSUs. I have
done the analysis using the svy components for the entire database, and now
would like to repeat the same analysis for each of the 26 strata. The
planned analysis is already a do.file. I have not been able to figure out
how run this do.file for each stratum efficiently as I am not a programmer.
I have tried "by", but it does not work with the svymean or do command. Can
someone give me some advice?  I am using stata 7.0.

Gratefully yours,
Phung


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