Statalist The Stata Listserver


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

st: labeling in est store


From   Thomas <thomas.triebs@econ.cam.ac.uk>
To   statalist@hsphsun2.harvard.edu
Subject   st: labeling in est store
Date   Wed, 21 Jun 2006 16:21:11 +0100

Dear all,

I would like to give titles to models in a foreach loop as follows:

foreach var of varlist a b c{
reg `var' x y z
est store `var', title*("label of `var'")*
}

and then refer to the titles in estout. How can I refer to the label of `var' in the loop above?

Many thanks,

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/




© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index