Beruflich Dokumente
Kultur Dokumente
Variables
2
Salary Discrimination
Mean
Male Female
Salary 545,158 443,981
Source:
Griliches, Zvi. "Hedonic price
indexes for automobiles: An
econometric of quality change."
The price statistics of the federal
goverment. NBER, 1961. 173-196.
Caution!!!
• where C = demand for cash, S = Sales
• 16 Industry subgroups, 14 Size classes
• Each industry separately, between 0.929 to 1.077 and R2 0.985 to 0.998.
Introduction of • Entire set, = 0.992, R2 = 0.897.
• Addition of Industry dummies led to = 0.995, R2 = 0.992.
Dummy Variables
may change slope • Addition of Size dummies led to = 0.334, R2 = 0.996, also Asset
dummies were highly significant. Other sources too confirmed this
drastically!
too.
Source:
Vogel, Robert C., and G. S. Maddala.
“Cross-Section Estimates of Liquid
Asset Demand by Manufacturing
Corporations.” The Journal of Finance,
vol. 22, no. 4, 1967, pp. 557–575.
13 Summary of Session
• How to include categorical variables in regression?
• Categorical variables can be included by creating binary/dummy variables in regression
• For m categories, you need m-1 dummy variables and the remaining one acts as a reference or
control category
• What is the interpretation of the coefficients of categorical variables?
• Coefficients of categorical variables capture the average difference in the response variable between
the category of interest and the reference category
• How to model interaction between categorical and numerical variables?
• Interaction between categorical and numerical variables can be modeled by calculating a new
variable that is product of the two variables
• Interaction captures the difference in association between the response variable and the numerical
variable for different categories