Nobuya,
You can build up a macro that lists the dummies and use that in the
regression command.
forvalues i = 1/50 {
local ids "`ids' ids`i'"
}
reg y x "`ids'"
Friedrich Huebler
--- "FUKUGAWA, N." <[email protected]> wrote:
> Suppose we create dummy variables from ids1 to ids50 by writing
> tab industry, gen(ids) ,
> how can I include 50 dummies in the model instead of writing
> reg y x ids1 ids2 ids3 ... ids50 ?
> Thanks in advance.
> --
> FUKUGAWA Nobuya, Ph.D.
> [email protected]
__________________________________
Yahoo! Music Unlimited
Access over 1 million songs. Try it free.
http://music.yahoo.com/unlimited/
*
* 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/