Statalist The Stata Listserver


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

st: sequential application of a model to a number of datasets inmanner of foreach var of varlist


From   "Ben Dwamena" <bdwamena@med.umich.edu>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: sequential application of a model to a number of datasets inmanner of foreach var of varlist
Date   Tue, 18 Apr 2006 20:11:30 -0400

Dear Statalisters,
I wish to empirically compare a linear and nonlinear model using
sequentially 12 different datasets. How may I specify a looping
procedure for the datasets in the manner of foreach var of varlist 
x1-x12........instead of writing a do-file for each dataset?
Thanks


**********************************************************
Electronic Mail is not secure, may not be read every day, and should not be used for urgent or sensitive issues.
*
*   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