You are on page 1of 5

ACTIVIDAD 6

Cuantas personas afrocendientes hay?

Punto 3
gen region=1 if northcen==1
replace region=2 if south==1
replace region=3 if west==1
replace region=4 if region==.
egen avewage=mean(wage)
bysort region:egen avewage_reg=mean(wage)

Salario más alto región 3 occidente salario 6.64


tabstat wage, statistics( mean count ) by(region) columns(statistics)
tabstat wage, statistics( mean count ) by(female) columns(statistics)
tabstat wage, statistics( mean count ) by(nonwhite) columns(statistics)

tabstat wage, statistics( mean count ) by(nonwhite) columns(statistics)


tabstat wage, statistics( mean count ) by(married) columns(statistics)
Reg wage educ

Wage= 0.93+0.5446=
25
20
15
10
5
0

0 5 10 15 20
educ

wage Fitted values

gen lwage=log(wage)

. di exp( .082942 )
1.0864788

predict pred_salario,xb,

You might also like