Professional Documents
Culture Documents
CH 4
CH 4
Essid H.
11/21/2020
1. Is there a difference between wages of male and female workers with similar experience ?
2. What are the expected wages for different categories ?
White/male.
Black/male.
White/female.
Black/female.
3. Given the same education, calculate the difference between black female and white male.
library(PoEdata)
library(knitr)
library(xtable)
library(printr)
library(effects)
library(AER)
##
## Attaching package: 'zoo'
library(broom)
data("cps4_small", package="PoEdata")
#cps4_small
names(cps4_small)
A wage-discrimination model
pred1=beta1+beta2*educ # white/male
pred2=beta1+beta2*educ+gamma1 # black/male
pred3=beta1+beta2*educ+gamma2 # white/female
pred4=beta1+beta2*educ+gamma1+gamma2+gamma3 # black/female
blfm=gamma1+gamma2+gamma3 #difference between black/female and white/male
pred1
## [1] 27.84509
pred2
## [1] 23.67601
pred3
## [1] 23.06048
pred4
## [1] 22.7357
blfm
## [1] -5.10939
1. The results show a significant difference in wages between male and female workers (p-value less than
5%). We say that female workers earns less than female by 4.78 on average.
3. Given the same education, the difference between black female and white male is
γ 1 + γ 2 + γ 3 = −5.11 , which means that the average black female is paid less by $5.11 than the