| |
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: RE: using several model results in a loop
foreach x in m1 m2 m3{
est restore `x'
ovtest
hettest
}
HTH,
Maarten
-----------------------------------------
Maarten L. Buis
Department of Social Research Methodology
Vrije Universiteit Amsterdam
Boelelaan 1081
1081 HV Amsterdam
The Netherlands
visiting adress:
Buitenveldertselaan 3 (Metropolitan), room Z214
+31 20 5986715
http://home.fsw.vu.nl/m.buis/
-----------------------------------------
-----Original Message-----
From: [email protected] [mailto:[email protected]]On Behalf Of Thomas
Sent: donderdag 29 juni 2006 16:32
To: [email protected]
Subject: st: using several model results in a loop
Dear all,
I would like to use stored model results in a loop like this:
foreach x of model m1 m2 m3{
est restore `x'
ovtest
hettest
}
This does not work. How can I refer to results in a loop?
Many thanks in advance!
Thomas
*
* 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/
*
* 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/