HANDOUT 3 Flashcards
Why do we use dummy variables?
For categorical variables
Previously have assumed all X variables continuous
2 types of categorical variables & egs
- Ordered e.g. qualifications
2. Unordered e.g. gender
If we have K categories, how many variables include?
K - 1
The left out one is the default
Additive dummy variables allow
An intercept shift
The coefficient on female if
ln(wages) = alpha + B1school + B2female + Ei
B2 = the expected proportionate rise in wages for a female relative to a male at a given level of school Or 100(e^B2 - 1) exact % change in wages
Multiplicative dummy variables allow
Rotation of the line
e.g. gender effect on return (in terms of wages) to schooling
ln(w) = alpha + B1school + B2female + B3(female x school) + Ei. Interpret B2.
B2 = the expected proportionate increase in wages for a female c.f. male when schooling=0
ln(w) = alpha + B1school + B2female + B3(female x school) + Ei. Interpret B3.
The additional expected proportionate rise in wages from an extra year of school for a female c.f. male.
Interactive dummy variables allow
multiply 2 categorical variables together
difference in difference
ln(w) = B1 + B2female + B3Nwh + B4(female x Nwh) + Ei. Interpret B2.
B2 = the gender effect on wages for whites
ln(w) = B1 + B2female + B3Nwh + B4(female x Nwh) + Ei. Interpret B1.
B1 = expected wage for a white male
ln(w) = B1 + B2female + B3Nwh + B4(female x Nwh) + Ei. Interpret B3.
B3 = the ethnicity effect for males
ln(w) = B1 + B2female + B3Nwh + B4(female x Nwh) + Ei. Interpret B4.
Difference in difference
B4 = the additional female vs male effect on wages for Nwh vs whites
OR B4 = the additional Nwh vs white effect on wages for females vs males