[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
Re: st: many dummy variables in one variable
On Oct 12, 2005, at 10:48 PM, FUKUGAWA, N. wrote:
I usually do it like this:
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.
reg y x ids*
So long as you don't have other variables, besides the dummies, with
that kind of prefix (ids--), then regress y onto all fifty dummies,
as well as x.
dept. of economics
university of georgia
* For searches and help try: