Multiple dummies in regression
Posted: Fri Sep 11, 2009 1:50 am
I have a question how to put many different dummies in a regression. In total I have, next to four 'normal' variables, included 4 subjects of dummies.
1) the kind of facility: senior, second lien, contingent or mezzanine
2) year: 2004 till 2009
3) country: in total 5 countries
4) industry: in total 10 industries.
I know I have to drop from each subject 1 dummy as a refercence dummy so you don't have the dummy variable trap.
But how can you distinguish between these subjects. Now I just put them in Eviews like this:
spread itraxx dealvalue tranchevalue maturity senior sl mezz agri auto commodities construction finanserv healthcare industrial leisure media profserv retail telecom textile transport other france germany italy spain benelux othercountry m n o p q
where m n o p q 2004 till 2008 is.
However, I don't think this is the right manner. Please, can someone tell me because I never can find the solution. Thank you!!
1) the kind of facility: senior, second lien, contingent or mezzanine
2) year: 2004 till 2009
3) country: in total 5 countries
4) industry: in total 10 industries.
I know I have to drop from each subject 1 dummy as a refercence dummy so you don't have the dummy variable trap.
But how can you distinguish between these subjects. Now I just put them in Eviews like this:
spread itraxx dealvalue tranchevalue maturity senior sl mezz agri auto commodities construction finanserv healthcare industrial leisure media profserv retail telecom textile transport other france germany italy spain benelux othercountry m n o p q
where m n o p q 2004 till 2008 is.
However, I don't think this is the right manner. Please, can someone tell me because I never can find the solution. Thank you!!