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

st: xi dummies

From   "Hans J. Baumgartner" <>
To   statalist <>
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 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

* For searches and help try:

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