Statalist The Stata Listserver


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

st: RE: labeling in est store


From   "David Harrison" <david.harrison@icnarc.org>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: labeling in est store
Date   Wed, 21 Jun 2006 16:46:01 +0100

est store `var', title(`"`: var lab `var''"')

David 

-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Thomas
Sent: 21 June 2006 16:21
To: statalist@hsphsun2.harvard.edu
Subject: st: labeling in est store

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

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________

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