Lecture 15 Dummy variables

Lecture 15 Dummy variables - Economics 326 Methods of...

Info iconThis preview shows pages 1–7. Sign up to view the full content.

View Full Document Right Arrow Icon
Economics 326 Methods of Empirical Research in Economics Lecture 15: Dummy variables Vadim Marmer University of British Columbia March 24, 2011
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Interval, Ordinal, and Categorical Variables I Interval variable: is one where the di/erence between two values is meaningful. in years. There is a meaning to the di/erence between 12 and 10 years of education. I In some data sets, education is reported as an ordinal variable: only the order between its values matters, but the di/erence has no meaning. Example: The following two variables are equivalent. Education i = 8 < : 1 if high-school graduate, 2 if college graduate, 3 if advanced degree. Education i = 8 < : 1 if high-school graduate, 10 if college graduate, 234 if advanced degree. 1²21
Background image of page 2
Interval, Ordinal, and Categorical Variables I Categorical variable is one that has one or more categories, but there is no natural ordering to the categories Examples: Gender, race, marital status, geographic location. I The following two variables are equivalent: Gender i = 1 if observation i corresponds to a woman , 2 if observation i corresponds to a man . Gender i = 1 if observation i corresponds to a man , 2 if observation i corresponds to a woman . I Categorical and ordinal variables are also called qualitative. I Qualitative variables cannot be simply included in regression, because the regression technique assumes that all variables are interval. 2/21
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Dummy variables I A dummy variable is a binary zero-one variable which takes on condition fails: I Female i = 1 if observation i corresponds to a woman, 0 if observation i corresponds to a man. I Male i = 1 if observation i corresponds to a man, 0 if observation i corresponds to a woman. I Note that Female i + Male i = 1 for all observations i . I Married i = 1 if married, 0 otherwise. 3/21
Background image of page 4
Example 4/21
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
A single dummy independent variable I Consider the following regression: Wage i = β 0 + δ 0 Female i + β 1 Educ i + β 3 Exper i + β 4 Tenure i + U i , and assume that conditionally on all independent variables, E ( U i ) = 0 . I If observation i corresponds to a woman, Female i = 1, and E ( Wage i j Female i = 1 , Educ i , Exper i , Tenure i ) = = β 0 + δ 0 + β 1 Educ i + β 3 Exper i + β 4 Tenure i . I
Background image of page 6
Image of page 7
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 22

Lecture 15 Dummy variables - Economics 326 Methods of...

This preview shows document pages 1 - 7. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online