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

st: xi dummies


From   "Hans J. Baumgartner" <hbaumgartner@diw.de>
To   statalist <statalist@hsphsun2.harvard.edu>
Subject   st: xi dummies
Date   Mon, 16 Dec 2002 11:34:00 +0100

Hi statalist,

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.

Thank for your help.

Hans

--
Hans J. Baumgartner Deutsches Institut für Wirtschaftsforschung (DIW Berlin)
German Institute for Economic Research
Abt. Staat / Dept. Public Economics
Königin-Luise-Str. 5; 14195 Berlin (Dahlem) Tel.: 030/89789-307; Fax.: 030/89789-114
http://www.diw.de


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