This preview shows page 1. Sign up to view the full content.
Unformatted text preview: f values in the data set is large (relatively few “repeats”) Examples X = household income (many households) X = number of employees (many firms) X = credit scores (many people) X = number of patents issued in the US (many years) Other approximately continuous variables 19 CATEGORICAL VARIABLES Categorical variables are often coded (entered into excel etc) using Dummy Variables Definition A dummy variable uses the values 1 and 0 to code a characteristic or outcome that is inherently categorical. 20 CATEGORICAL VARIABLES Two Category Examples: Examples ⎧1 if male X=⎨
⎩0 if female ⎧1
X=⎨
⎩0 if employed if unemployed (sample of people) (sample of labor force participants) ⎧1 if drug is effective (sample of patients) X=⎨
0 if not
⎩ Other dummy variables 21 CATEGORICAL VARIABLES More than two categories: College graduate’s labor market status X1 = ⎧1 if employed ⎨ ⎩0 if not...
View Full
Document
 Spring '08
 K
 Economics

Click to edit the document details