. local fitted "`endog'"
Nick
[email protected]
Patricia Sourdin
> I have a question on renaming a tempvar in anyone could help please.
> I would like to replace the contents of the macro tempvar
> 'fitted' with the
> contents of another macro 'endog'
> eg replace the just the names in 'fitted' with the names in 'endog'
>
>
> di "`fitted'"
> __000003 __000005 __000007
>
> di "`endog'"
> HHinc_no_invest invest_inc hyperindex
*
* 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/