Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: xi dummies


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   st: RE: xi dummies
Date   Mon, 16 Dec 2002 10:41:14 -0000

Hans J. Baumgartner
> 
> I run a regression for which the xi prefix creates regional 
> dummies. The 
> dummies are named _Iregion_1, _Iregion_2 and so on.
> 
> How can I refer to them with out stating each variable explicitly.
> 
> The commands -unab- or -local- would require to state each single 
> variable at least once, which I would like to avoid since I 
> have some 
> 100 regional dummies.
> 
> Creating a local macro within a loop doesn't work since 
> some regions are 
> missing, that is they are not continuously numbered.
> 

_Iregion_* ??? 

Nick 
[email protected] 

*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index