Displaying 2 results from an estimated 2 matches for "ind_2dc".
Did you mean:
ind_2d
2010 Apr 23
1
creating dummy with loop command
....
i am using 2 digit industry codes and 3 digit industry codes for my model, and i need to create dummies for the industries. The case is simple for the 2-digit industries since there are not that mcuh of them, so i am creating my dummies as following
ind_2da<-(ind_2d==11)#for the 11th industry
ind_2dc<-(ind_2d==12)#for the 12th industry and so on so forth ... then i directly put the dummy into the regression which works well.
but creating dummies for the 3-digit is rather complicated since there are alot of sub-industries, for example:111,112,113...119 and this is just for the 11th industry...
2010 Apr 23
1
creating dummy with loop command
...git industry codes for my model,
>> and i need to create dummies for the industries. The case is simple for the
>> 2-digit industries since there are not that mcuh of them, so i am creating
>> my dummies as following
>> ind_2da<-(ind_2d==11)#for the 11th industry
>> ind_2dc<-(ind_2d==12)#for the 12th industry and so on so forth ... then i
>> directly put the dummy into the regression which works well.
>>
>> but creating dummies for the 3-digit is rather complicated since there are
>> alot of sub-industries, for example:111,112,113...119 and...