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

st: many dummy variables in one variable


From   "FUKUGAWA, N." <nfukugawa@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: many dummy variables in one variable
Date   Thu, 13 Oct 2005 11:48:38 +0900

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.
nfukugawa@gmail.com
*
*   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