Professional Documents
Culture Documents
Econometrics Multiple Regression Analysis With Qualitative Information: Binary (Or Dummy) Variables
Econometrics Multiple Regression Analysis With Qualitative Information: Binary (Or Dummy) Variables
Econometrics Multiple Regression Analysis with Qualitative Information: Binary (or Dummy) Variables
Joo Valle e Azevedo a
Faculdade de Economia Universidade Nova de Lisboa
Spring Semester
Econometrics
1 / 11
Dummy Variables
A dummy (or binary) variable takes on the value 0 or 1 and are often used as regressors Dummy variables are also called binary variables, for obvious reasons Examples:
wage = 0 + 1 Education + 2 Experience + 3 Male + u
Malei (= 1 if individual i is male, 0 if female) If 3 > 0, there is evidence of discrimination against women
Can use all the inference tools learned so far, as long as the necessary assumptions hold!
Joo Valle e Azevedo (FEUNL) a Econometrics Lisbon, March 2011 2 / 11
Dummy Variables
Consider a simple model with one continuous variable (x) and one dummy (d) y = 0 + 0 d + 1 x + u
Econometrics
3 / 11
d=0
E[y|x,d=0] = b0 + b1x
Econometrics
4 / 11
Sportingi (=1 if individual i supports Sporting, 0 otherwise) Bencai (=1 if individual i supports Benca, 0 otherwise) As long as our sample contains supporters of both teams and supporters of other teams (or not supporting any team)
Could include additionally a dummy Porto, as long as our sample contains supporters of the three teams and supporters of other teams (or not supporting any team). Why?
Otherwise we would violate Assumption MLR.3 (No perfect Collinearity)
Joo Valle e Azevedo (FEUNL) a Econometrics Lisbon, March 2011 6 / 11
Multiple Categories
If we have n categories we should have n-1 dummy variables since the base group is represented by the intercept 0
Example: In our wage regression, we want to include dummies for physical attractiveness. Categories are: Below average, Average and Above average. We have 3 categories, so use 2 dummies
wage = 0 + 1 BelowAverage + 2 AboveAverage + otherfactors + u So, we chose Average individuals as the base group
Can transform continuous variable into categories (e.g., transform years of schooling into dummies Elementary School, Middle School, High-School, College, Post-Graduate Studies etc.). Be sure to leave one group as reference group (e.g., No Schooling )
Joo Valle e Azevedo (FEUNL) a Econometrics Lisbon, March 2011 7 / 11
wage
Interacting dummy variables is like subdividing the group Here the base group is Female with Average looks (measured by 0 )
Econometrics
8 / 11
If Male=0 and BelowAverage=0 and AboveAverage=1 we are talking about a Female in the category AboveAverage. The measured eect on this group is 0 + 2 If Male=1 and BelowAverage=0 and AboveAverage=0 we are talking about a Male in the category Average. The measured eect on this group is 0 + 5 (...)
Joo Valle e Azevedo (FEUNL) a Econometrics Lisbon, March 2011 9 / 11
Allows us to investigate whether the eect of Education is dierent across the two groups
Econometrics
10 / 11
Econometrics
11 / 11